Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

How to get entity set with input parameters?

$
0
0

Hello gurus!

 

I know this may be a newbie question, but I've looked around first and found no solution yet.

I need to get table of entities by some criteria. I need the result to be selected by this criteria, not filtered after selection so $filter is not the answer as far as I can see.

 

I want to get some objects hierarchy. There are lots of objects and a root object ID. So I want to pass that root ID and get all the hierarchy from that ID and not the whole objects set. I've created Z Function Module, it imports the RootID and exports the hierarchy table (table of object entities). But I found no possibility to pass the import param and get the whole table.

If I pass param to URL it fires the GetEntity(Read) and returns only 1 root object. If I pass no params it fires the GetEntitySet(Query) and tries to give me all the objects presented in my system.

 

 

Any help's appreciated!

 

Best regards,

Anton.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>