I need to create sales order through BAPI (BAPI reference BAPI_SALESORDER_CREATEFROMDAT2.) not populating the right item category when referencing contract items.
We filled contract details in item structure ORDER_ITEMS_IN-REF_DOC ( Document number) ,ORDER_ITEMS_IN-REF_DOC_IT ( Contract item position) and ORDER_ITEMS_IN-REF_DOC_CA ( Document category).
for creating order. The sales order is getting created successfully with right reference of contract # and item number, but item category is not reflecting correctly.
Thank you very much.