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

How to model a Get call with input for multiple entity sets?

$
0
0

Hi Experts,

 

We have a requirement where we have to do a GET call on a SAP Gateway service where we need to pass in data for multiple entity sets. Based on our search on SDN, we have not been able to find a way to do this as in general the GET call does not support a body element in the call. Based on deep_entity that needs to be used, it looks like only a POST call will work for this scenario. Please let me know if there is any other way to do this.

 

We went ahead and created a POST scenario where we coded the data provider class to take the input of multiple entity sets and execute a BADI to get data from the system. We are able to get the data for all the entities from the BADI upto the end of the Create_DEEP_Entity module. But when we look at the response in the Gateway client, we see only the data for the entities that were passed in. So if we passed in 2 entity sets with data into the call, we get only those 2 entity sets in the response. we need the response to contain the remaining entity sets data also for a successful call.

 

Can someone please guide us on this?

 

Regards,

VK


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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