Skip to Content
Jan 08, 2007 at 01:54 PM

Mass sales order creation using BAPI


Dear All,

Can anyone help in mass sales order creation using Bapi BAPI_SALESORDER_CREATEFROMDAT2.

For example if i want to create 3 sales order with three item per order . i am populating

HEADER = 3 Records

Item = 9 records

schedule = 9 records

partner = 1 record.

Then after populating the records I am calling Bapi BAPI_SALESORDER_CREATEFROMDAT2

to create order. It should have created three order but unfortunately it creates

only one sales order. I debugged and found that records are correct both in header,

item, scheudle and partners.

Could you please guide me what I am missing for creation of mass orders.

I appreciate your time and many thanks in advance.