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: 

ME21N/ME22N change vendor address at PO level based on Logic

Former Member
0 Kudos

Dear Expert,

Requirement is to change PO level Vendor address in runtime during PO Create/Change since one vendor can have multiple addresses. 

Address id is generated separately in Z tables for multiple address.

Please let me know place to change ABAP code in order to update selected Vendor address. I tried user exits "EXIT_SAPMM06E_013"

also BADI = "ME_PROCESS_PO_CUST" but not able to update.

Regards

Vaman Kamat

2 REPLIES 2

former_member213851
Active Contributor
0 Kudos

Hi Vaman,

Have you written COMMIT WORK after BADI ME_PROCESS_PO_CUST.

Also,

You cannot change the vendor once PO is created. You will have to create a new PO with correct vendor.

If you have kept your purchase order on hold then change is possible.

0 Kudos

Dear Sachin,

Requirement is to change vendor address not vendor code , e.g. multiple vendor addresses are stored in 'Z' table with 'Address Id' and i want to update column 'EKKO-ADRNR' , but even after changing column value , system does not reflect correct address.

Is there any other solution.