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

Regarding ODATA and RFC calls

$
0
0

Hi All,

 

I am developing a Odata to fetch Vendor invoices based on the BAPIS:

 

BAPI_INCOMINGINVOICE_GETLIST

BAPI_INCOMINGINVOICE_GETDETAIL

 

So in the Odata I created one entity type for Invoice list, and get the list of invoices based on BAPI: BAPI_INCOMINGINVOICE_GETLIST, however when displaying the item data related things, I have ITEM DATA, ACCOUNT DATA, TAX DATA as return tables of the BAPI : BAPI_INCOMINGINVOICE_GETDETAIL.

 

Now my Question is since the single BAPI Calls returns entire details about the invoices, Can I fetch all the data of a vendor invoice in single call and use the same in my Fiori App? If so How the Nested Tables should be read from the ODATA??

 

 

And the second question is that, in Couple of blogs I read that OData structures should be Flat and cannot be nested, if that is the case how can I get the entire data in single call??

 

 

I can use association and navigations to drill down however, for each entity the BAPI is called multiple times, will that not be perfomance issue??

 

Kindly advise.

 

Regards

Manoj


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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