Skip to Content

Use of BAPI_SALESORDER_CREATEFROMDAT2 for changing partners

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ã

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2010 at 11:57 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.