SAP Reports / Programs

/MRSS/SQM_CAT_ARC_A SAP ABAP Report - MRS: archiving - qualification catalogs







/MRSS/SQM_CAT_ARC_A 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 /MRSS/SQM_CAT_ARC_A 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 /MRSS/SQM_CAT_ARC_A. "Basic submit
SUBMIT /MRSS/SQM_CAT_ARC_A AND RETURN. "Return to original report after report execution complete
SUBMIT /MRSS/SQM_CAT_ARC_A 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: SO_ERNAM = D .
Selection Text: SO_ERDAT = D .
Selection Text: SO_CH_DT = D .
Selection Text: SO_CH_BY = D .
Selection Text: SO_CATID = D .
Selection Text: P_TEST = Test Run
Selection Text: P_PSIZE = No of catalogs per data packet
Selection Text: P_PROT_E = Display only errors
Selection Text: P_PROT = Display extended log
Selection Text: P_DELFLG = Objects with deletion ind.
Title: MRS: archiving - qualification catalogs
Text Symbol: 022 = Archiving Parameters
Text Symbol: 021 = Number of Change Documents to Be Archived in Table CDPOS:
Text Symbol: 020 = Number of Change Documents to Be Archived in Table CDHDR:
Text Symbol: 018 = Set Deletion Indicator for Archived Change Documents
Text Symbol: 017 = Archive Change Documents
Text Symbol: 016 = Usage check for this catalog failed
Text Symbol: 015 = Qualification catalog locked
Text Symbol: 014 = Authorization check for this catalog failed
Text Symbol: 013 = Extended log: display only errors
Text Symbol: 012 = Qualification catalog in use
Text Symbol: 011 = Notification/Detailed Notification
Text Symbol: 010 = Catalog ID
Text Symbol: 009 = Possible
Text Symbol: 008 = Successful
Text Symbol: 007 = Not
Text Symbol: 006 = Archiving
Text Symbol: 005 = Display extended log
Text Symbol: 004 = Number of catalogs per data packet
Text Symbol: 003 = Test run: no data archived
Text Symbol: 002 = Test Run
Text Symbol: 001 = Archiving only for objects with deletion indicator


INCLUDES used within this REPORT /MRSS/SQM_CAT_ARC_A

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 create_archive_file = lv_create_file object = lc_arch_object IMPORTING archive_handle = lv_arch_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = lv_arch_handle object_id = lc_arch_object.

/MRSS/SQM_API_CAT_GET CALL FUNCTION '/MRSS/SQM_API_CAT_GET' EXPORTING iv_catid = lv_catid iv_langu = sy-langu iv_all_langu = 'X' iv_secure_read = 'X' IMPORTING es_kh = ls_kh et_kp = lt_kp ev_subrc = lv_rc es_msg = ls_message et_kpt = lt_kpt et_kht = lt_kht.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = lv_arch_handle record_structure = '/MRSS/D_SQM_KH' record_flags = ' ' record = ls_sqm_kh.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = lv_arch_handle record_structure = '/MRSS/D_SQM_KHT' record_flags = ' ' record = ls_sqm_kht.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = lv_arch_handle record_structure = '/MRSS/D_SQM_KP' record_flags = ' ' record = ls_sqm_kp.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = lv_arch_handle record_structure = '/MRSS/D_SQM_KPT' record_flags = ' ' record = ls_sqm_kpt.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = lv_arch_handle.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = lv_arch_handle.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_arch_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 /MRSS/SQM_CAT_ARC_A or its description.