on 06-03-2013 2:13 PM
I am developing an iOS native application where I need to fetch data from multiple BAPIs and display it on a screen. Right now I am fetching data from BAPIs one by one. which is time consuming and in turn slowing the application response.
Is it possible to combine multiple BAPIs in one MBO so that they will fetch data simultaneously from the SAP backend. Please guide me for the same. A sample code or document would be very helpful.
Thanx in advance!
I think all business logic should be complete at back end, on device you just show the data, control screen flow .... So combind your 2 BAPi in back end would be better .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Theoretically you can : By wrapping the required BAPIs in a single RFC FM and use it to create a MBO.However, I don't see any practical reason why will you do that ? If data from a single BAPI is required, why will you like to call other code as well ?
Further, if you want to partition your object graph to get related objects, it can be done by sync and cache groups.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit,
if you have more than one BAPI then create more than 1 mbo.
i mean, for i bapi there is only 1 mbo.
you cant combine multiple bapis in one single mbo.
if any relationship persists between 2 mbos then do so.
Regards,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.