SAP Reports / Programs | Cross-Application Components | General Application Functions | Engineering Change Management(CA-GTF-ECM) SAP CA

RCCARCH1 SAP ABAP Report - Program for Archiving Change Master Records







RCCARCH1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Archiving Change Numbers You use this program to 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 RCCARCH1 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 RCCARCH1. "Basic submit
SUBMIT RCCARCH1 AND RETURN. "Return to original report after report execution complete
SUBMIT RCCARCH1 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: CREATE = Generate Archive File
Selection Text: TESTRUN = Deletion Program as Test Run
Title: Program for Archiving Change Master Records
Text Symbol: 001 = This Is Only Test Data. It Can Be Deleted.
Text Symbol: 002 = Archived Change Master Records
Text Symbol: 003 = Change Master Record
Text Symbol: 004 = Change Master Record Description


INCLUDES used within this REPORT RCCARCH1

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 = 'X' object = 'LO_CHANGEM' importing archive_handle = handle exceptions internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 others = 5.

ARCHIVE_REGISTER_CLASS call function 'ARCHIVE_REGISTER_CLASS' exporting archive_class = 'TEXT' archive_handle = handle exceptions class_not_found = 1 internal_error = 2 wrong_access_to_archive = 3 file_io_error = 4 others = 5.

ARCHIVE_REGISTER_CLASS call function 'ARCHIVE_REGISTER_CLASS' exporting archive_class = 'CLASSIFY' archive_handle = handle exceptions class_not_found = 1 internal_error = 2 wrong_access_to_archive = 3 file_io_error = 4 others = 5.

ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = handle exceptions internal_error = 1 wrong_access_to_archive = 2 others = 3.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = handle record = itab_aenr record_flags = ' ' record_structure = 'AENR' exceptions internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 others = 4.

TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = handle id = 'AENR' language = sy-langu name = name object = 'CHANGE' object_delete_flag = 'X' exceptions wrong_access_to_archive = 1 others = 2.

CLASSIFY_ARCHIVE_OBJECT call function 'CLASSIFY_ARCHIVE_OBJECT' exporting archive_handle = handle object = object ptable = 'AENR' object_delete_flag = 'X' exceptions wrong_access_to_archive = 1 others = 2.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = handle record = itab_aenv record_flags = ' ' record_structure = 'AENV' exceptions internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 others = 4.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = handle record = itab_aeoi record_flags = ' ' record_structure = 'AEOI' exceptions internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 others = 4.

TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = handle id = 'AEOI' language = sy-langu name = name object = 'CHANGE' object_delete_flag = 'X' exceptions wrong_access_to_archive = 1 others = 2.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = handle record = itab_aedt record_flags = ' ' record_structure = 'AEDT' exceptions internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 others = 4.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = handle record = itab_aehi record_flags = ' ' record_structure = 'AEHI' exceptions internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 others = 4.

ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = handle record = itab_aeef record_flags = ' ' record_structure = 'AEEF' exceptions internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 others = 4.

ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = handle 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 statistics_only_per_run = 'X' exceptions internal_error = 1 wrong_access_to_archive = 2 others = 3.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = handle exceptions internal_error = 1 wrong_access_to_archive = 2 others = 3.



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 RCCARCH1 or its description.