on 12-11-2019 10:02 AM
Hallo Expert,
by creating a sales order (once user on save click) I need to make some kind of validation to the entered partners.
depend on this validation the sales order will either incompleted ( incompletion log will appear) or will be saved and created as normal.
To achieve this I found the user exit:
USEREXIT_CHECK_VBAK and i found the partner in the table XVBPA.
Now the question is what I have to write in this user exit to show the Incompletion log with a message like a Partner 2331 is not valid.
How can I build this log, is it in an internal table? if this table or log updated with my data, will in this case, the status of the sales order automatically as incomplete!
Many Thanks in advance for your help.
Jenie
VBUV is the table which stores incompletion log of sales order. I guess XVBUV is not accessible in USEREXIT_CHECK_VBAK.
XVBUV willbe accessible in SAVE_DOCUMENT_PREPARE, try moving your check to save document prepare and add entry in XVBUV to mark incompletion log
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
8 | |
6 | |
6 | |
5 | |
4 | |
2 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.