SAP Reports / Programs

SDVBELV SAP ABAP Report - SD Document Items with Incorrect Account Assignment Information







SDVBELV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Display and Correction of Incorrect Account Assignment Information in Sales and Distribution Documents This report is for displaying and correcting sales documents, in which the number of the triggering sales document has been incorrectly updated or not updated at all...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 SDVBELV 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 SDVBELV. "Basic submit
SUBMIT SDVBELV AND RETURN. "Return to original report after report execution complete
SUBMIT SDVBELV 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: EXPORT = Note results
Selection Text: LAST_RUN = Display last run
Selection Text: MATNR = D Material
Selection Text: UPDATE = Correct items
Selection Text: VBELN = D Sales document
Selection Text: WERKS = D Plant
Selection Text: ZEROONLY = Only missing accnt assignment
Title: SD Document Items with Incorrect Account Assignment Information
Text Symbol: 001 = Inconsistent entries for material
Text Symbol: 002 = Inconsistent entries total
001 Material Plnt Qty Sal.&Dist.Doc. Article descrip OrDoc OrItm A Con S


INCLUDES used within this REPORT SDVBELV

INCLUDE RVDIREKT.
INCLUDE VBAPDATA.


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:

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout_hierseq_list it_fieldcat = gt_fieldcat_hierseq_list it_events = gt_eventtab_hierseq_list i_save = gc_save i_tabname_header = gc_tabname_header i_tabname_item = gc_tabname_detail is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_output_header[] t_outtab_item = gt_output_detail[] EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = gc_tabname_header i_structure_name = gc_structure_header i_inclname = g_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = gc_tabname_detail i_structure_name = gc_structure_detail i_inclname = g_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

/SAPDMC/DATAELEMENT_GET_TEXTS CALL FUNCTION '/SAPDMC/DATAELEMENT_GET_TEXTS' EXPORTING name = iv_data_element IMPORTING description = xv_text_descr text_short = xv_text_short EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab_grid EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_commentary.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = 60 linewidth = 132 startline = 1 TABLES lines = gt_tline EXCEPTIONS OTHERS = 0.



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 SDVBELV or its description.