Sales Order Creation with Partner Functions on Line Item Level Only
We are creating a sales order via Idoc. This Idoc is processed via a customised function module. In the customised function module we are calling a standard bapi BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders.
My question is:
In some cases, we would like the partner functions to be copied to the item level of the sales order only and not to the item level and header level both (as is being done by standard bapi, BAPI_SALESORDER_CREATEFROMDAT2). How do we achieve this.
Any help would be appreciated.
Thanks in advance.