SAP Reports / Programs | Basis Components | Basis Components | CATT Computer Aided Test Tool(BC-TWB-TST-CAT) SAP BC

RSCATPRA SAP ABAP Report - CATT - log/procedure archiving (create archive)







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RSCATPRA. "Basic submit
SUBMIT RSCATPRA AND RETURN. "Return to original report after report execution complete
SUBMIT RSCATPRA VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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.:


INCLUDES used within this REPORT RSCATPRA

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSCATPRA or its description.