SAP Reports / Programs | Sales and Distribution | Basic Functions(SD-BF) SAP SD

SDDELDUB SAP ABAP Report - Deletes duplicated VBBE records with same document, item, sched. line







SDDELDUB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SDDELDUB 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 SDDELDUB. "Basic submit
SUBMIT SDDELDUB AND RETURN. "Return to original report after report execution complete
SUBMIT SDDELDUB 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: P_DISPL = Display deletion selections
Selection Text: P_NO_DEL = Do not delete
Title: Deletes duplicated VBBE records with same document, item, sched. line


INCLUDES used within this REPORT SDDELDUB

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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT I_SAVE = G_SAVE IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = GT_VBBE_KEY 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_GT_VBBE_KEY I_STRUCTURE_NAME = GS_VBBE CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTTAB EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_TOP_OF_PAGE.

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