Sales order creation using BAPI_SALESORDER_CREATEFROMDAT2
I'm using the bapi 'BAPI_SALESORDER_CREATFROMDAT2' to create sales order. I need to pass the COST CENTER value to the header data of the sales order.
The salesheader structure of the bapi does not support this field.
How do I go about it?
I need to pass this field to the bapi to process my sales orders.