on 05-02-2006 9:51 PM
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.
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....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.