cancel
Showing results for 
Search instead for 
Did you mean: 

Use of BAPI_SALESORDER_CREATEFROMDAT2 for changing partners

former_member206632
Participant
0 Kudos

Hello,

I have been using BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders. Plus, this BAPI can be used for a number of updates in sales orders. However, so far I haven't been able to use this BAPI to change partners in my SO. Please note that the only partner related structure is ORDER_PARTNERS , there is no _INX structure for the partners.

My question is: is there any chance of using this BAPI to change partners of a SO? Please do not reply with BAPI_SALESORDER_CHANGE , I already know that this BAPI does the job, I simply would like to use the first one for everything.

Best regards,

Joã

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Try if you can just pass new parter numbers in the same structure ORDER_PARTNERS

, See if it replaces the old partner with new partner.

I have remembered as i have faced some issues in modifying partners in Sales document. I believe you can modify only certain partner functions.

Thank you

Kris