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
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.
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
INCLUDE RVDIREKT.
INCLUDE VBAPDATA.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SDVBELV - SD Document Items with Incorrect Account Assignment Information SDVBELV - SD Document Items with Incorrect Account Assignment Information SDVBAP01 - documentation and ABAP source code SDVBAP01 - documentation and ABAP source code SDVBAKWR - Archive Sales Documents SDVBAKWR - Archive Sales Documents