SAP Reports / Programs

RBDCLUSTERDELETE SAP ABAP Report - Deleting damaged IDoc cluster entries







RBDCLUSTERDELETE 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 RBDCLUSTERDELETE 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 RBDCLUSTERDELETE. "Basic submit
SUBMIT RBDCLUSTERDELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RBDCLUSTERDELETE 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_TEST = Test Run
Selection Text: P_DOCNUM = IDoc Number
Selection Text: GP_STMAN = Individual Status Text
Selection Text: GP_PAR4 = Parameter 4
Selection Text: GP_PAR3 = Parameter 3
Selection Text: GP_PAR2 = Parameter 2
Selection Text: GP_PAR1 = Parameter 1
Title: Deleting damaged IDoc cluster entries
Text Symbol: 204 = Cluster data records could not be deleted
Text Symbol: 203 = Data records could not be deleted
Text Symbol: 200 = No test result exists
Text Symbol: 121 = Defect clusters not deleted
Text Symbol: 120 = Do you want to delete defect clusters?
Text Symbol: 114 = Deletion Type
Text Symbol: 113 = EDID4
Text Symbol: 112 = EDIDS
Text Symbol: 111 = EDIDC
Text Symbol: 109 = No IDoc data for deletion exists
Text Symbol: 108 = Delete Status
Text Symbol: 107 = Deletion not possible
Text Symbol: 106 = Deletion of cluster data possible
Text Symbol: 105 = Deletion of IDOC only using WE11
Text Symbol: 104 = Deletion Type
Text Symbol: 103 = EDID4 entry readable
Text Symbol: 102 = EDIDS entry readable
Text Symbol: 101 = EDIDC entry readable
Text Symbol: 100 = IDoc Number
Text Symbol: 032 = IDoc contains the following number of data records:
Text Symbol: 031 = Data records deleted due to damaged cluster data
Text Symbol: 030 = Status set manually
Text Symbol: 005 = Test Result with Deletion
Text Symbol: 002 = Status information
Text Symbol: 001 = Test Result


INCLUDES used within this REPORT RBDCLUSTERDELETE

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:

DB_SETGET CALL FUNCTION 'DB_SETGET' EXPORTING table_name = 'EDID4' first_row = 'X' fixkeys = 2 TABLES inttab = it_idocdata CHANGING next_row = wa EXCEPTIONS no_more_rows = 1 db_error = 2 internal_error = 2 wrong_param = 4 OTHERS = 5.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RBDCLUSTERDELETE' i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'CALLBACK_USER' i_grid_title = titel is_layout = is_layout it_fieldcat = it_fieldcat TABLES t_outtab = it_result EXCEPTIONS OTHERS = 0.

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING * PROGRAM = restriction = restriction * DB = ' ' EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-120 text_question = text-120 icon_button_1 = 'ICON_DELETE' icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = ' ' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

IDOC_STATUS_WRITE_TO_DATABASE CALL FUNCTION 'IDOC_STATUS_WRITE_TO_DATABASE' EXPORTING idoc_number = wa-docnum TABLES idoc_status = gt_status_value EXCEPTIONS idoc_foreign_lock = 1 idoc_not_found = 2 idoc_status_records_empty = 3 idoc_status_invalid = 4 db_error = 5 OTHERS = 6.



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