on 10-29-2013 4:48 PM
Hi,
I have 2 MBOs, Customer and SalesOrder with one-to-many relationship, composite and bidirectional flags set. The “Create” operation for each MBOs is mapped to the BAPI passing each of the corresponding MBO structure as parameters.
the following behavior is observed
Is this the correct behavior ?
How can I achieve this with one call to BAPI? I would like to minimize the amount of service calls to backend.
Thank you in advance
Regards,
Michael
What type of app you are developing, native or hybrid web ?
Also i don't understand your requirement. Do you want to fetch data for both MBO in single call.
- Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Its HWC app. SUP 2.1.3
I would like to make a single call with "create" operation.
Right now it makes 1 call for Customer and 1 for each SalesOrder.
I learned that in 2.2 there is support for "composite" operations, which result in one call.
Optimally I would like to call the BAPI once.
Regards,
Michael.
Hi Michael,
If you use one BAPI you can make MBOs to be part of the same load group.
For more information look at this document describing just that for read data:
I didn't try yet but if you check store data on the device cache, and when create everything you want, then use Online request for create or Submit. I'll try something similar litlle later.
Regards,
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.