cancel
Showing results for 
Search instead for 
Did you mean: 

Incompletion log in Sales order

former_member586174
Participant
0 Kudos

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

p244500
Active Contributor
0 Kudos

If you search in this forum you will get answer for this.

Accepted Solutions (0)

Answers (1)

Answers (1)

thanga_prakash
Active Contributor
0 Kudos

Hi Jennifer Jena

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