Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding ODATA and RFC calls

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

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question