SAP Reports / Programs

RBPARCDL SAP ABAP Report - Business Process Archiving: Deletion Program







RBPARCDL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Deletion program for the archiving of business processes (archiving object CO_PROCESS)...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 RBPARCDL 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 RBPARCDL. "Basic submit
SUBMIT RBPARCDL AND RETURN. "Return to original report after report execution complete
SUBMIT RBPARCDL 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: ARCHDEL = Delete
Selection Text: PROTOCOL = Log per business process
Selection Text: TESTRUN = Test run
Title: Business Process Archiving: Deletion Program
Text Symbol: 005 = Deleted busines processes
Text Symbol: 006 = Test run: Business processes to be deleted
Text Symbol: 007 = Process CCtr name
Text Symbol: 010 = Data for & business processes was deleted
Text Symbol: 011 = Test run: Data for & bus. processes would have been deleted
Text Symbol: 202 = Processing
Text Symbol: 203 = Delete
Text Symbol: 300 = Test run
Text Symbol: 400 = Log per business process


INCLUDES used within this REPORT RBPARCDL

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:

ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' "881615 EXPORTING "881615 archive_handle = l_handle "881615 statistics_only_per_run = 'X'. "881615

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = l_handle.

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = 'CO_PROCESS' test_mode = v_testrun IMPORTING archive_handle = r_handle.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = 'CO_PROCESS' IMPORTING commit_count_for_delete_prg = r_commitcount.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = v_handle EXCEPTIONS end_of_file = 1.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = v_handle TABLES table = lt_arch_stat.

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = v_handle record_structure = 'CBPR' all_records_of_object = 'X' TABLES table = lt_cbpr.

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = v_handle record_structure = 'CBPT' all_records_of_object = 'X' TABLES table = lt_cbpt.

ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = v_handle.

OBJECT_NUMBER_DELETE_BP CALL FUNCTION 'OBJECT_NUMBER_DELETE_BP' EXPORTING objnr = t_cbpr_del-objnr.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = hd TABLES table = lt_arch_stat.



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