RIARCEQA 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 RIARCEQA 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: S_SERNR = D .
Selection Text: S_MATNR = D .
Selection Text: S_EQUNR = D .
Selection Text: S_EQTYP = D .
Selection Text: S_EQART = D .
Selection Text: P_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_SNAP = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DEST = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: P_AR_ILM = D .
Selection Text: TESTMODE = Test mode
Selection Text: DET_PROT = Detail log
Selection Text: CREATE = Generate archive file
Selection Text: COMMENTS = Comment
Title: Equipment Archiving: Generate Archive File
Text Symbol: N03 = Equipment To Be Archived
Text Symbol: N02 = Persist Duration Reached
Text Symbol: N01 = Snapshot Archived
Text Symbol: 009 = Control Parameters
Text Symbol: 008 = Serial no.
Text Symbol: 007 = Material
Text Symbol: 006 = Techn. obj. type
Text Symbol: 005 = EquipCategory
Text Symbol: 004 = Equipment
Text Symbol: 003 = Generate archive data
Text Symbol: 002 = TestMode
Text Symbol: 001 = Client
INCLUDE RIARCEQT.
INCLUDE RIARCEQ_DFPS_CHECK_SYSTEM.
INCLUDE ARCH_WRITE_PRG_STANDARD2.
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 = p_deltst create_archive_file = p_wriprd object = pm_object comments = p_coment do_not_delete_data = l_not_delete destroy = l_destroy importing archive_handle = pm_handle exceptions internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = 2 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting object = pm_object importing commit_count_for_delete_prg = pm_commcnt.
ARCHIVE_CLOSE_FILE * CALL FUNCTION 'ARCHIVE_CLOSE_FILE' * EXPORTING * ARCHIVE_HANDLE = PM_HANDLE.
ARCHIVE_PROTOCOL_INIT call function 'ARCHIVE_PROTOCOL_INIT' exporting i_detailprotocol = p_prot.
ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = pm_handle object_id = pm_object.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = pm_handle record = iequi record_flags = l_flags record_structure = pm_structure.
ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = pm_handle exceptions termination_requested = 1 data_object_not_saved = 6 others = 2.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = iequi-equnr i_msgtype = 2 i_text = text-002.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = iequi-equnr i_msgtype = 2 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = iequi-equnr i_msgtype = 1 i_text = lf_text.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = iequi-equnr i_msgtype = 1 i_text = lf_text.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = iequi-equnr i_msgtype = 1 i_text = lf_text.
TR_APPEND_LOG call function 'TR_APPEND_LOG' tables xmsg = vprot exceptions others = 0.
TR_FLUSH_LOG call function 'TR_FLUSH_LOG'.
ARCHIVE_GIVE_STATISTICS call function 'ARCHIVE_GIVE_STATISTICS' exporting archive_handle = pm_handle tables table = stab.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = pm_handle statistics_only_per_run = 'X'.
call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = pm_handle.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = pm_handle record = eqkt record_flags = l_flags record_structure = pm_structure.
SELECT_TEXT call function 'SELECT_TEXT' exporting id = pm_txtid language = pm_spras name = pm_txtname object = pm_txtobj importing entries = entries tables selections = iheader.
TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = pm_handle id = iheader-tdid language = iheader-tdspras name = iheader-tdname object = iheader-tdobject object_delete_flag = 'X'.
SELECT_TEXT call function 'SELECT_TEXT' exporting id = pm_txtid language = '*' name = pm_txtname object = pm_txtobj importing entries = entries tables selections = iheader.
TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = pm_handle id = iheader-tdid language = iheader-tdspras name = iheader-tdname object = iheader-tdobject object_delete_flag = 'X'.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = pm_handle record = equz record_flags = l_flags record_structure = pm_structure.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = pm_handle record = iloa record_flags = l_flags record_structure = pm_structure.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = pm_handle record = ihsg record_flags = l_flags record_structure = pm_structure.
SELECT_TEXT call function 'SELECT_TEXT' exporting id = pm_txtid language = pm_spras name = pm_txtname object = pm_txtobj importing entries = entries tables selections = iheader.
TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = pm_handle client = pm_mandt id = iheader-tdid language = iheader-tdspras name = iheader-tdname object = iheader-tdobject object_delete_flag = 'X'.
STATUS_ARCHIVE_OBJECT call function 'STATUS_ARCHIVE_OBJECT' exporting archive_handle = pm_handle object_delete_flag = 'X' i_objnr = iequi-objnr.
CHANGEDOCU_ARCHIVE_OBJECT call function 'CHANGEDOCU_ARCHIVE_OBJECT' exporting archive_handle = pm_handle objectclass = pm_objectclass objectid = pm_objectid object_delete_flag = 'X'.
CLASSIFY_ARCHIVE_OBJECT call function 'CLASSIFY_ARCHIVE_OBJECT' exporting archive_handle = pm_handle object = pm_objek ptable = pm_obtab object_delete_flag = 'X'.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = pm_handle record = ihpa record_flags = l_flags record_structure = pm_structure.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = pm_handle record = fleet record_flags = l_flags record_structure = pm_structure.
ADDRESS_ARCHIVE_OBJECT call function 'ADDRESS_ARCHIVE_OBJECT' exporting archive_handle = pm_handle address_object_type = address_object_type address_number = addrnumber address_reference = class_ad_ref object_delete_flag = 'X'.
PP_FHM_ARCHIVE_OBJECT call function 'PP_FHM_ARCHIVE_OBJECT' exporting archive_handle = pm_handle fhmar = 'E' fhm_rcfky = l_rcfky object_delete_flag = 'X'.
CU_CONFIG_ARCHIVE_OBJECT call function 'CU_CONFIG_ARCHIVE_OBJECT' exporting archive_handle = pm_handle object_delete_flag = 'X' instance = iequi-cuobj instance_obtab = 'EQUI' instance_keyfields = l_rmclf.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = pm_handle record = bgmkobj record_flags = l_flags record_structure = pm_structure.
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 RIARCEQA or its description.
RIARCEQA - Equipment Archiving: Generate Archive File RIARCEQA - Equipment Archiving: Generate Archive File RIARCEQ1 - Equipment Archiving: Usage Test RIARCEQ1 - Equipment Archiving: Usage Test RIARCCLW - Archiving: Include for Output Routines RIAPLT01 - Tool for Maintaining T399J Item Category for Items Kept in Stock