cancel
Showing results for 
Search instead for 
Did you mean: 

Ship to party address transaction wise

niteshsinghsapsd
Discoverer
0 Kudos

Hello Experts,

We have a requirement like whenever there is a change in address of ship to party, the previous orders address should not be changed it should be what was during that transaction.

Ex-- Sales order 3421 for Ship to party X123 had address YYYY during sales order creation.

After few months Ship to party X123 address was changed to ZZZZ, so when we go to sales order 3421 & check address it will be ZZZZ we want retain YYYY address.

Your expert views on this will be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

In table VBPA, you have PARVW and ADRNR fields. Input order number in VBELN, SH in PARVW and execute, so that you will get the Ship-To address number for that sale order. Pass on this number in ADRC table where you have the same field name ADRNR so that you will get the shipped address against the given sale order

Answers (1)

Answers (1)

niteshsinghsapsd
Discoverer
0 Kudos

Hi,

I tested as per your logic, its taking new address only.