RPAR2D00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RPAR2D00 must be started from archive management (transaction
If you would like to execute this report or see the full code listing simply enter RPAR2D00 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: PROTOCOL = Detail Log
Selection Text: TESTRUN = Test Run
Title: PA: Archiving - Delete Program for Travel Expenses (PA_TRAVEL)
Text Symbol: ABO = Program terminated
Text Symbol: E42 = Error while updating IT 0283
Text Symbol: NUM = Number of deleted objects:
Text Symbol: SE1 = Test options
INCLUDE RPARDI00.
INCLUDE RPARDI10.
No SAP DATABASE tables are accessed within this REPORT code!
PA_TRAVEL_TESTMODE CALL FUNCTION 'PA_TRAVEL_TESTMODE' EXPORTING testmode_on_off = protocol.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING archive_name = space object = this_object test_mode = testrun IMPORTING archive_handle = my_archive_handle.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = my_archive_handle IMPORTING archive_document = my_document.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = this_object IMPORTING commit_count_for_delete_prg = my_commit_count.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = my_archive_handle IMPORTING object_id = my_object_id object_offset = l_offset archive_name = my_archive_name EXCEPTIONS end_of_file = 1.
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = my_archive_handle.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = my_archive_handle.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPAR2D00 - PA: Archiving - Delete Program for Travel Expenses (PA_TRAVEL) RPAR2D00 - PA: Archiving - Delete Program for Travel Expenses (PA_TRAVEL) RPAR1W00 - PA: Archiving - Write Program for Payroll Results (PA CALC) RPAR1W00 - PA: Archiving - Write Program for Payroll Results (PA CALC) RPAR1U40 - HR Archiving: Convert PA_CALC to 4.0 RPAR1U40 - HR Archiving: Convert PA_CALC to 4.0