ROIRA_ARC_DTF_WRITE 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 ROIRA_ARC_DTF_WRITE 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: O_CCINS = PC type
Selection Text: O_LOC_ID = Location Id
Selection Text: O_VK_DT = Sales date
Selection Text: P_ADCHK = Perform Additional Checks
Selection Text: P_AR_ILM = Archiving
Selection Text: P_BUKRS = Company Code
Selection Text: P_COMENT = Archiving Session Note
Selection Text: P_DELTST = Delete with Test Variant
Selection Text: P_DEST = Data Destruction
Selection Text: P_PROT = Detail Log
Selection Text: P_PROT_O = Log Output
Selection Text: P_SNAP = Snapshot
Selection Text: P_WRIPRD = Production Mode
Selection Text: P_WRITST = Test Mode
Title: SSR DTF tables Archive - Write
Text Symbol: 000 = Payment Card data
Text Symbol: 013 = Memory snapshot is written
Text Symbol: 014 = Retention Per. End Reached
Text Symbol: 015 = PC data is being processed
Text Symbol: 016 = DTF records cannot be archived. DTLT link exists.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot i_protocol_output = p_prot_o.
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 = 'OIR_SSRDTF' comments = p_coment do_not_delete_data = l_not_delete destroy = l_destroy IMPORTING archive_handle = lv_handle.
OIRA_ARCHIVE_DTF_CHECKS CALL FUNCTION 'OIRA_ARCHIVE_DTF_CHECKS' EXPORTING i_dtf = ls_dtfh EXCEPTIONS item_cannot_be_archived = 1 error = 2 missing_customizing = 3 OTHERS = 4.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_dtfh_key i_text = text-016 i_msgtype = 2 i_callback_parameter = lw_callback_param EXCEPTIONS protocol_not_yet_initialized = 1 OTHERS = 2.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-015 "#EC * "text shall be understandable for EN-speaking coleagues i_processed = lv_objects_processed i_total = lv_total_of_objects IMPORTING e_progress_sent = lv_progress_send.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "otherwise messag will not appear in the job-log
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = 'DTF-Payment Card data is being processed' "#EC * "text shall be understandable for EN-speaking coleagues i_processed = lv_objects_processed i_total = lv_total_of_objects i_output_immediately = 'X'. "force the progress output
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = lv_handle.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_handle.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_PROTOCOL_LINE_DETAIL CALL FUNCTION 'ARCHIVE_PROTOCOL_LINE_DETAIL'.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = lv_handle.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = lv_handle record = ls_dtfh_temp record_structure = p_dtf_tname.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = lv_handle record_structure = p_dtf_itname TABLES table = lt_dtfi_temp1.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = lv_handle EXCEPTIONS termination_requested = 1 data_object_not_saved = 6 OTHERS = 7.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object_id 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 EXCEPTIONS PROTOCOL_NOT_YET_INITIALIZED = 1.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting * i_object = lv_object_id i_text = 'SSR PC Data was archived'(010) "#EC * "text shall be understandable for EN-speaking coleagues i_msgtype = 1.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING * i_object = lv_object_id "lw_doi_detail-doi_id i_msgtype = '1' i_text = text-013.
CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING * i_object = lv_object_id "lw_doi_detail-doi_id i_msgtype = '1' i_text = text-014.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING * i_object = lv_object_id "lw_doi_detail-doi_id 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.
PROGRESS_INDICATOR * CALL FUNCTION 'PROGRESS_INDICATOR' * EXPORTING * i_text = text-015 "#EC * "text shall be understandable for EN-speaking coleagues * i_processed = lv_objects_processed * i_total = lv_total_of_objects * IMPORTING * e_progress_sent = lv_progress_send.
DB_COMMIT * CALL FUNCTION 'DB_COMMIT'. "otherwise messag will not appear in the job-log
PROGRESS_INDICATOR * CALL FUNCTION 'PROGRESS_INDICATOR' * EXPORTING * i_text = 'DTF-Payment Card data is being processed' "#EC * "text shall be understandable for EN-speaking coleagues * i_processed = lv_objects_processed * i_total = lv_total_of_objects * i_output_immediately = 'X'. "force the progress output
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 ROIRA_ARC_DTF_WRITE or its description.
ROIRA_ARC_DTF_WRITE - SSR DTF tables Archive - Write ROIRA_ARC_DTF_WRITE - SSR DTF tables Archive - Write ROIRA_ARC_DTF_DELETE - SSR DTF tables Archive - Delete ROIRA_ARC_DTF_DELETE - SSR DTF tables Archive - Delete ROIRA_ARC_DELETE_SEL - Include ROIRA_ARC_DELETE_SEL ROIRA_ARC_DELETE_FORMS - Include ROIRA_ARC_DELETE_FORMS