cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase Order Delivery Address Change

Gokulkrishnan
Discoverer
0 Kudos
2,188

In PO item level at  "Delivery address" tab on the  Field "Address" having data change ,how do you know the Delivery address got changed ?

For e.g.:

Step 1: Created a PO (Un authorized User (can’t change delivery address))

              EKPO-ADRNR has no value while creating.

So, the logic: If PO delivery address has been updated for at least one line item (determine whether either EKPO-ADRNR or EKPO-ADRN2 is being populated or has been modified) will works.

Step 2: Delivery address changed by Authorized user. 

              EKPO-ADRNR has value since it’s a manual change.

Here Since user is authorized Our Logic works.

Step 3: Un authorized user tried to change again the Delivery address.

EKPO-ADRNR has value from pervious manual change and all the new changes will be saved under the same EKPO-ADRNR

Here the above logic: If PO delivery address has been updated for at least one line item (determine whether either EKPO-ADRNR or EKPO-ADRN2 is being populated or has been modified)

Will not works because it’s having EKPO-ADRNR has already value and we can’t use this information to know if there is a change in address.

For the above case do we have any alternative logic to check if the address is changed or not ?

View Entire Topic
Gokulkrishnan
Discoverer
0 Kudos

I've used MM_DELIVERY_ADDRESS_READ to get the information of address change at any custom address using the 'CHANGED_DA' in the Exporting 'EX_CMMDA'. And used MM_DELIVERY_ADDRESS_NUMBER used to check if any standard address details got changed .If std. address got changed then we will get a custom ADRNR/ADRN2 number from 'ET_CMMDA'