Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the partner functions in SD_SALESDOCUMENT_CHANGE?

former_member594288
Participant
0 Kudos
533

Hi,

How to change the partner functions in sd_salesdocument_change fn module. what structure i have to change to update the partners and how to update extension fields. Can you please help on this.

Regards,

Ravi

1 ACCEPTED SOLUTION

SimoneMilesi
Active Contributor
358

Why are you using an Internal FM instead of the official BAPI BAPI_SALESORDER_CHANGE?

And did you AT LEAST open the FM you are asking for? The tables' name are quite selfexplaining and there are tons of threads on the topic

3 REPLIES 3

SimoneMilesi
Active Contributor
359

Why are you using an Internal FM instead of the official BAPI BAPI_SALESORDER_CHANGE?

And did you AT LEAST open the FM you are asking for? The tables' name are quite selfexplaining and there are tons of threads on the topic

former_member594288
Participant
0 Kudos
358

Hi Simone,

This function module is already used in the program to update sales documents so i have to use this, there is no second chance. while coming to your proposal i already checked and updated the partner and partner_change structure but still it's not updated. That's why i raised the question. Don't think i have posted all the questions before checking the threads.

0 Kudos
358

https://archive.sap.com/discussions/thread/3467721

https://archive.sap.com/discussions/thread/1912799

They refer to the BAPI but, if you open the BAPI, you'll see it calls the same FM of your question, just passing some objects as fix value (the FM is quite generic and can be used for EVERY SD doc).

I do not know which issue you are facing since the question is quite generic, but at least they can address you on the right path