OAARCH04PRI 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 OAARCH04PRI 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: ARCHDATE = Storage Date
Selection Text: ARCHIV = Content Repository
Selection Text: ARC_FILE = Write Archive File
Selection Text: BLK_SIZE = Number of Links per Object
Selection Text: DELDATE = Delete Date
Selection Text: DEL_FLAG = Delete
Selection Text: DOKART = Document Type
Selection Text: MANDANT = Client
Selection Text: OBJECT = Business Object
Selection Text: REPORT = Report Name
Selection Text: TESTRUN = Deletion Program as Test Run
Text Symbol: 002 = Selection
Text Symbol: 003 = Control
Text Symbol: 004 = Archiving Session
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting call_delete_job_in_test_mode = testrun create_archive_file = arc_file object = adk_object comments = text-004 * DO_NOT_DELETE_DATA = ' ' * OUTPUT_SEL_SCREEN_WHEN_DIALOG = 'X' * OUTPUT_SEL_SCREEN_WHEN_BATCH = ' ' importing archive_handle = handle exceptions internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 others = 5 .
ARCHIV_GET_CONNECTIONS_PRINTLI call function 'ARCHIV_GET_CONNECTIONS_PRINTLI' TABLES parameter = parameter connections = itoadl.
ARCHIVEPRI_ARCHIVE_OBJECT call function 'ARCHIVEPRI_ARCHIVE_OBJECT' EXPORTING archive_handle = handle link_entry = wa_itoadl object_delete_flag = del_flag.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = handle EXCEPTIONS internal_error = 1 others = 2.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 others = 3.
ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = handle * OBJECT_ID = ' ' exceptions internal_error = 1 wrong_access_to_archive = 2 others = 3 .
ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = handle * IMPORTING * OBJECT_OFFSET = * ARCHIVE_NAME = exceptions file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 others = 6 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.