on 12-23-2010 4:09 PM
Hi All,
I would like to know when a change is done to a sales order (in VA02), in order to automatically change its status to the default.
Does SAP stores a flag that indicates whether the order was changed?
Thanks!
Amit
I'm familiar with CDHDR and CDPOS tables, however, as you said the changes are tracked there after changing and saving the sales order or any other object. Furthermore, these tables are huge and are not recommended to read from.
I'm going to compare between YVBAK and XVBAK internal structures in SAPMV45A in order to recognize if there was any change.
By the way, I also found the indicators I was looking for:
updkz_old(1) VALUE ' ',
updkz_new(1) VALUE 'I',
updkz_update(1) VALUE 'U',
updkz_mark_del(1) VALUE 'd',
updkz_delete(1) VALUE 'D',
Thanks anyway everyone!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
Thank you for all your answers, I really appreciate it.
Maybe I didn't explain my question clear enough. What I meant is how to recognize whether the sales order was changed before saving it.
I am looking for a flag which changes its status in a moment a change is done to the sales order.
Thanks!
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit
No such flag is set when a sales document is changed. The only way to recognise if a sales document was changed before saving after the first time it was created is to search for entries in CDHDR table. If there are entries then that means the sales order was changed before saving.
Thanks
Indranil
Hello,
For the The Change sales order we need to have specific User Exit , we can use the MV54AFZZ,Can be used.
Thanks,
venkataswamy.y
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Whenever any changes done to any object(eg. Sales Order, Material Master, Customer Master,etc.) in SAP, it is recorded in change document table CDHDR. This table records following important fields,
Object Value
Old Value
New Value
Change date
Time
Transaction(By which changes are done)
So you can find all the changes done to your sales order in this table.
Just Run SE16 >> Table CDHDR >> put your sales order no in field OBJECT VALUE and execute.
I hope this answers your question.
Regards,
Mohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
It is store in structure. So better you found this in structure.
Structure Name : RVSCDCOM_ALV_SD
Field Name : INDTEXT
Regards,
Sandip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.