RPAR3D00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This
If you would like to execute this report or see the full code listing simply enter RPAR3D00 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 = Delete in Productive Mode
Selection Text: P_DELTST = Delete in Test Mode
Selection Text: P_PROT = Detail Log
Selection Text: TESTRUN = Test run
Selection Text: WRITE_IT = Write Arch.Objects infotype
Title: PA: Archiving; Deletion Program for Long Term Documents (PA_LDOC)
Text Symbol: ART = Archive Until
Text Symbol: E42 = Error while updating IT 0283
Text Symbol: ER1 = Program terminated
Text Symbol: GA7 = Could not determine highest archiving date for
Text Symbol: NUM = Number of objects deleted
Text Symbol: SE1 = Test options
Text Symbol: W82 = Archived IT (0283) Is Not Written
Text Symbol: W83 = Archived IT (0283) Is Written
Text Symbol: WR8 = IT 0283 written
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PA_LDOC_TESTMODE CALL FUNCTION 'PA_LDOC_TESTMODE' EXPORTING testmode_on_off = protocol.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = this_object 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_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING 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 = l_object_id archive_name = l_archive_name object_offset = l_offset 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.
CONVERSION_EXIT_PDATE_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT' EXPORTING input = gd_date IMPORTING output = gd_date.
PA_LDOC_GET_ARCH_MAX CALL FUNCTION 'PA_LDOC_GET_ARCH_MAX' EXPORTING archive_handle = my_archive_handle IMPORTING arched_to_max = arch_to EXCEPTIONS no_arched_to = 1 OTHERS = 2.
PA_ARCH_CREATE_IT0283 CALL FUNCTION 'PA_ARCH_CREATE_IT0283' EXPORTING p_pernr = l_object_id-pernr p_artyp = subtyp_pa_ldoc p_group = '000000' p_endda = arch_to p_document = l_document p_offset = l_aoffset p_state = state_archived EXCEPTIONS OTHERS = 1.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = my_archive_handle TABLES table = lt_arch_stat.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = my_archive_handle.
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.
RPAR3D00 - PA: Archiving; Deletion Program for Long Term Documents (PA_LDOC) RPAR3D00 - PA: Archiving; Deletion Program for Long Term Documents (PA_LDOC) RPAR2W00 - PA: Archiving - Write Program for Travel Expenses (PA_TRAVEL) RPAR2W00 - PA: Archiving - Write Program for Travel Expenses (PA_TRAVEL) RPAR2R00 - PA: Archiving - Reload Program for Travel Expenses (PA TRAVEL) RPAR2R00 - PA: Archiving - Reload Program for Travel Expenses (PA TRAVEL)