RSCATPRA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program puts CATT logs - and run data in the archive...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 RSCATPRA 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: TESTRUN = Delete program as test run
Selection Text: CREATE = Generate Archive File
Title: CATT - log/procedure archiving (create archive)
Text Symbol: 101 = CATT - previous proc.:
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 = create object = 'CATPROARCH' comments = comment IMPORTING archive_handle = handle EXCEPTIONS * internal_error = 1 * object_not_found = 2 open_error = 3 not_authorized = 4.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = handle object_id = icatk-lvorn.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = handle record = icatk record_flags = ' ' record_structure = 'CATK'.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = handle record = catl record_flags = ' ' record_structure = 'CATL'.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = handle record = catm record_flags = ' ' record_structure = 'CATM'.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = handle record = catn record_flags = ' ' record_structure = 'CATN'.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = handle record = eufunc record_flags = ' ' record_structure = 'EUFUNC'.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = handle record = catf record_flags = ' ' record_structure = 'CATF'.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = handle record = catf record_flags = ' ' record_structure = 'CATF'.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = handle record = eufunc record_flags = ' ' record_structure = 'EUFUNC'.
ARCHIVE_SAVE_OBJECT * CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' * EXPORTING * archive_handle = handle * EXCEPTIONS * file_io_error = 1 * open_error = 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 .
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = handle.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = 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.
RSCATPRA - CATT - log/procedure archiving (create archive) RSCATPRA - CATT - log/procedure archiving (create archive) RSCATPIN - CATT - Archive file and CATK/CATL index creation program RSCATPIN - CATT - Archive file and CATK/CATL index creation program RSCATPID - CATT - Index file deletion program RSCATPID - CATT - Index file deletion program