cancel
Showing results for 
Search instead for 
Did you mean: 

Change Document - for purchase order

Former Member
0 Kudos

Hi all,

when i make some changes in the purchase order(ME22N) it is stored in the table CDPOS but when i change the delivery address field this alone is not stored. what may be the reason? and how to do it?

can anyone help me in this?

helpfull answers will be rewarded with points..

Thanks,

Murali.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

It gets updated in both CDHDR table as well as CDPOS where you can clearly see the changed value of adrnr field in the new value column as well as the changed date .. the field name will give you the name of the field changed....

Former Member
0 Kudos

This is probably because the delivery address is not directly linked to the PO, and each time you change the delivery address, it creates a new address number ADRNR.

So if you want to track the changes in the delivery address, it's better to keep track of the ADRNR (probably this ADRNR gets stored in EKPO, not sure, have a look).

Former Member
0 Kudos

Hi Sandip,

you are right, but how can I enable this delivery address field to track changes.Is there any transaction for that?..I think you understood my question.

When I make changes to PO this particular field alone is not stored in table CDPOS.

Thanks,

Murali

Former Member
0 Kudos

I am not sure whather you can achieve that standard way. What comes to my mind at the moment is :

Step 1. Keep a Z-table and popualte that with the ADRNR of the PO item in an user exit for every PO create/change.

Step 2. In the same exit, check the latest ADRNR(under process) against that stored in the Z-table. If different, do whatever you do. And also update the Z-table with this latest ADRNR.

former_member181966
Active Contributor
0 Kudos

Why don’t you see the customer master KNA1 and vendor master LFA1 change? its master data which tied up wid customer and vendor accordingly .

But I am not sure you can track the single field change for <b>ADRNR</b>.

Thanks

Saquib

Former Member
0 Kudos

Saquib,

No, this is not directly linked to the customer or vendor master. What happens is, during PO creation the delivery address is picked up from the address of the plant, but that can be updated via both BAPI and transaction.Each time this address gets changed, SAP generates a new ADRNR and store that address in ADRC.

This might help you in future in case you face such situation. I faced this only a few months and that's why I remeber this so clearly.

Murali,

Please award points and close the thread if it helped you.