on 03-15-2017 9:58 AM
Hi all,
I'm currently working in MV45AFZZ, attempting to pick up changes to statuses in VA02 (sales order header).
In this instance, some Sales Orders may be changed from 'Created' to 'QA To View'.
This data is easy to pick up once the changes are saved, but I'd like to get the new/selected status before the document is saved. I can pick up other data from global tables in the debugger, such as XVBAK and XKOMV, but I can't seem to find where status selection is stored.
All I need is to detect the newly selected status field when/before the user hits Save.
I've attempted to pick this up in both USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.
Thanks in advance,
Sam
If your requirement is 'pick up changes', you should call STATUS_CHANGES_GET to get a list of status that actually change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
Use function module "STATUS_READ".
Regards,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.