Skip to Content
0
Former Member
Oct 29, 2013 at 04:48 PM

“Create” operation between MBOs and BAPIs

20 Views

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

  1. BAPI Call: Create “Customer ” passing the data of the “customer” MBO as parameter and null for the data on “SalesOrder ”
  2. BAPI Call: Create the first “SalesOrder ” passing the data of the first “SalesOrder ” MBO as parameter and null for the data on Customer
  3. BAPI Call: Create the second “SalesOrder ” passing the data of the second “SalesOrder ” MBO as parameter and null for the data on Customer

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