RPAR5D00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You must only call this
If you would like to execute this report or see the full code listing simply enter RPAR5D00 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: P_DELPRD = Productive Mode
Selection Text: P_DELTST = Test Mode
Selection Text: P_PROT = Detail Log
Selection Text: TESTRUN = Test run
Title: PA: Archiving, Delete Program for Time Data (PA TIME)
Text Symbol: E42 = Error while updating IT 0283
Text Symbol: ER1 = Program terminated
Text Symbol: NUM = Number of objects deleted
Text Symbol: PER = Personnel no.
Text Symbol: SE1 = Test options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PA_TIME_TESTMODE CALL FUNCTION 'PA_TIME_TESTMODE' EXPORTING testmode_on_off = testrun.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = protocol i_protocol_output = '2'.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING archive_name = space "select from popup object = object_pa_time test_mode = testrun IMPORTING archive_handle = my_archive_handle EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 archiving_standard_violation = 8.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgid = sy-msgid i_msgno = sy-msgno i_msgtype = 2.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING archive_name = space "select from popup object = object_pa_time 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 = object_pa_time 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 = l_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 EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgid = sy-msgid i_msgno = sy-msgno i_msgtype = 2.
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_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object_text i_msgid = sy-msgid i_msgno = sy-msgno i_msgtype = 1 i_msgv1 = l_object_id-pernr i_msgv2 = commit_count.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = my_archive_handle.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgid = sy-msgid i_msgno = sy-msgno i_msgtype = 1 i_msgv1 = num_deleted.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPAR5D00 - PA: Archiving, Delete Program for Time Data (PA TIME) RPAR5D00 - PA: Archiving, Delete Program for Time Data (PA TIME) RPAR4W00 - PA: Archiving; Write Program Payroll Documents (PA_PDOC) RPAR4W00 - PA: Archiving; Write Program Payroll Documents (PA_PDOC) RPAR4D00 - PA: Archiving - Deletion Program for Posting Documents (PA_PDOC) RPAR4D00 - PA: Archiving - Deletion Program for Posting Documents (PA_PDOC)