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: 

BADI or Exit for Partner Change in Sales order VA01,VA02

Former Member
0 Kudos

Hi All,

Please provide me with exit or badi to change the partner details(sold to , ship to , bill to etc...) before saving the sales order.

I have tried to use 'MV45AFZZ' and treid to change XVBPA table but even though I update this internal table data is not getting updated into VBPA table of the database.

Please help me out in this.

thanks,

Ayesha.

6 REPLIES 6

valter_oliveira
Active Contributor
0 Kudos

In program MV45AFZZ did you use that change in form USEREXIT_SAVE_DOCUMENT_PREPARE?

I change partner data in my system in this form.

Regards,

Valter Oliveira.

0 Kudos

Hi Valter,

Thanks for quick reply....

I tried to change XVBPA table in USEREXIT_SAVE_DOCUMENT_PREPARE .But it is not changing VBPA table. Please help me out soon.

thanks,

Ayesha.

0 Kudos

Which fields are you trying to change? Must make the changes in xvbpa and xvbadr.

Regards.

Valter Oliveira.

0 Kudos

Hi Valter,

My requirement is whenever i change ship to party in sales order , bill to and payer need to be redetermined from ship to instead of sold to (as the standard does). I am doing this in MV45AFZZ. But I can see them updated in VBPA.

But can see it in transaction as exit is triggering each time.

suggest an alternative....

thanks

ayesha.

0 Kudos

sorry ...in my previous message i wrote wrong.I cant see them in VBPA table

thanks ayesha

0 Kudos

Did you try changing structure xvbadr too? Also check ampliation V09A0004.

Regards.

Valter Oliveira.