0% found this document useful (0 votes)
684 views1 page

Incompletion Log

This document provides instructions for properly updating the XVBUV table when completing sales order lines with incompletions. It advises implementing code in the USEREXIT_CHECK_VBAK and USEREXIT_CHECK_VBAP user exits to populate the respective fields, and then calling RV_CHECK_DOCUMENT_INPUT and related functions to update XVBUV correctly after the user exits. The document cautions against simply removing fields from XVBUV without following these steps.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
684 views1 page

Incompletion Log

This document provides instructions for properly updating the XVBUV table when completing sales order lines with incompletions. It advises implementing code in the USEREXIT_CHECK_VBAK and USEREXIT_CHECK_VBAP user exits to populate the respective fields, and then calling RV_CHECK_DOCUMENT_INPUT and related functions to update XVBUV correctly after the user exits. The document cautions against simply removing fields from XVBUV without following these steps.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Incompletion Log Sales Order:

XVBUV-MANDT
XVBUV-POSNR
XVBUV-TBNAM
XVBUV-FDNAM
XVBUV-FEHGR
XVBUV-STATG
XVBUV-FCODE
XVBUV-SORTF
XVBUV-LFDNR
XVBUV-UPDKZ

=
=
=
=
=
=
=
=
=
=

sy-mandt.
'000010'.
'VBAP'.
'PRSOK'.
20.
'06'.
'PKON'.
9999.
0000.
'I'.

should not simply remove the fields from XVBUV table. What you need to do is:
For Header incompletion, implement code in USEREXIT_CHECK_VBAK in MV45AFZB
populate the value in the respective field
After the User-exit, call these code to make sure XVBUV is properly updated
PERFORM xvbuv_loeschen_vor_pruefen(sapfv45f) USING posnr_low
etenr_low
'VBAK
'.
CALL FUNCTION 'RV_CHECK_DOCUMENT_INPUT'
EXPORTING
fehgr
= tvak-fehgr
vbxx_wa
= vbak
tbnam
= 'VBAK'
dialog
= 'X'
dia_visible = charx
TABLES
vbuv_dia
= dvbuv
vbuv_tab
= xvbuv
vbuv_last = hvbuv.
If you wish to remove the values what you just added, set them back to its previ
ous state. Which I wouldn't suggest.
If your incompletion fields are at line item level, implement the similar logic
in USEREXIT_CHECK_VBAP. Implement the code wrt to VBAP to update XVBUV.

You might also like