SAP Reports / Programs | Sales and Distribution | Sales(SD-SLS) SAP SD

SDVBUK00 SAP ABAP Report - New Determination of Sales Document Status







SDVBUK00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for SDVBUK00 recalculates the status of selected sales documents and displays changes and any errors in a report...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SDVBUK00 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SDVBUK00. "Basic submit
SUBMIT SDVBUK00 AND RETURN. "Return to original report after report execution complete
SUBMIT SDVBUK00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: MAX_ZAHL = Maximum Number of Documents
Selection Text: P_TESTON = Test Run Without Update
Selection Text: S_VBELN = Sales Document
Title: New Determination of Sales Document Status
Text Symbol: 001 = No Documents Selected.
Text Symbol: 002 = The number of processed documents is
Text Symbol: 003 = The highest processed document number is
001 Document Item No Change Status


INCLUDES used within this REPORT SDVBUK00

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SD_SALES_DOCUMENT_READ CALL FUNCTION 'SD_SALES_DOCUMENT_READ' EXPORTING document_number = tab-vbeln EXCEPTIONS error_message = 1 OTHERS = 2.

SD_SALES_DOCUMENT_PERFORM CALL FUNCTION 'SD_SALES_DOCUMENT_PERFORM' EXPORTING in_program = 'SAPFV45P' perform = 'XVBUP_NEUERMITTELN' EXCEPTIONS error_message = 1 OTHERS = 2.

SD_SALES_DOCUMENT_PERFORM CALL FUNCTION 'SD_SALES_DOCUMENT_PERFORM' EXPORTING in_program = 'SAPFV45P' perform = 'XVBUP_PROTOKOLL_ALV' " --> memory 'OUTPUT' EXCEPTIONS error_message = 1 OTHERS = 2.

SD_SALES_DOCUMENT_SAVE CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE' EXPORTING i_no_messages = 'X' synchron = 'X' status_buffer_refresh = 'X' requisition_buffer_refresh = 'X' EXCEPTIONS error_message = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT I_SAVE = GC_SAVE IS_VARIANT = GS_VARIANT IT_EVENTS = LT_EVENTS TABLES T_OUTTAB = GT_OUTPUT_STATUS EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID I_STRUCTURE_NAME = IV_STRUCT CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_TOP_OF_LIST.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_TOP_OF_LIST.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_END_OF_LIST.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_END_OF_LIST.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT I_SAVE = GC_SAVE IS_VARIANT = GS_VARIANT IT_EVENTS = LT_EVENTS TABLES T_OUTTAB = GT_OUTPUT_MESS EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SDVBUK00 or its description.