Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3017

GET_ENTITY with several key fields

$
0
0

Hi,

in my entity model, the entity (e.g. MyEntity) consists of two key fields instead of one.

 

How do I have to call the URI for a entity set with 2 key values in order to receive one entity (MyEntity is the entity and MyEntityCollection is the set of MyEntity) using the service sap/opu/odata/sap/Ztest_srv/MyEntityCollection but without using an additional filter?

 

E.g. something like sap/opu/odata/sap/Ztest_srv/MyEntityCollection('..<key1>..', '..<key2>..')?

 

The idea is to get the corresponding internal array it_key_tab filled automatically.


Yours

Stephan


Viewing all articles
Browse latest Browse all 3017

Trending Articles



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