BAPI Function Module Call in BODS


I am calling a BAPI function module from SAP S/4 HANA into BODS and trying to load the data to S4 HANA.

It works but issue is it writes each ORDER HEADER 3 times with Operation so basically instead of creating one header with one operation its creating 3 HEADERs and each has one operation.

Any help would be appreciated.

I tried changing nesting of source data but BAPI does not like that.

I am giving following 3 tables as input parameters to this BAPI function

  1. METHOD with 3 Rows (3 Rows, one each for HEADER, OPERATION & SAVE; )
  2. HEADER (with one data row)
  3. OPERATION (with one data row)

Here is name of BAPI FM I am using:


Thank you!

softsys :us: (BOB member since 2005-05-13)