FI_SCHECK_WRI 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 FI_SCHECK_WRI 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: ADMI_REM = Memo on Archiving Run
Selection Text: PAR_STIC = Key Date
Selection Text: PAR_TAGE = Number of days in the system
Selection Text: PAR_CHKF = D .
Selection Text: PAR_CHKT = D .
Selection Text: PAR_TEST = D .
Selection Text: PAR_XPER = D .
Selection Text: PAR_ZUSA = D .
Selection Text: P_AR_ILM = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_DEST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_SNAP = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Selection Text: SEL_HBKI = D .
Selection Text: SEL_HKTI = D .
Selection Text: SEL_ZBUK = D .
Title: Archiving Check Data: Write Program
Text Symbol: N03 = Check Is Activated
Text Symbol: N02 = Retention Duration Reached
Text Symbol: N01 = Snapshot archived
Text Symbol: 900 = Deleting Check Data in the Archive
Text Symbol: 142 = |Archive file |Table |Objects | |
Text Symbol: 140 = | Archive log |
Text Symbol: 132 = function. Do you want to continue?
Text Symbol: 131 = You should use the archive admin.
Text Symbol: 130 = Confirm online
Text Symbol: 000 = | |
Text Symbol: 018 = LongText
Text Symbol: 020 = | Additional log |
Text Symbol: 022 = |CoCde|Bank |Acct |PmtMt|From check |To check |Recipient |Status | |
Text Symbol: 023 = Reading Data
Text Symbol: 024 = &1% (&2 of &3) Checks Processed
Text Symbol: 025 = Archived
Text Symbol: 026 = Can Be Archived
INCLUDE: RFCHKI99, RFDBRMAC.
INCLUDE: RFCHKI99, RFDBRMAC.
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT call function 'ARCHIVE_PROTOCOL_INIT' exporting i_detailprotocol = p_prot.
PROGRESS_INDICATOR call function 'PROGRESS_INDICATOR' exporting i_text = lf_prog_text i_output_immediately = 'X' importing e_progress_sent = lf_progress_sent.
DB_COMMIT call function 'DB_COMMIT'.
COMPARE_CHECK_NUMBERS call function 'COMPARE_CHECK_NUMBERS' exporting i_check1 = hlp_payr-checf i_check2 = hlp_pcec-chect importing * E_DISTANCE = * E_REASON = e_result = hlp_result.
GET_CHECK_INTERVAL call function 'GET_CHECK_INTERVAL' exporting i_check = hlp_payr-checf i_hbkid = hlp_payr-hbkid i_hktid = hlp_payr-hktid i_zbukr = hlp_payr-zbukr importing e_pcec = hlp_pcec exceptions others = 1.
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 = sys_object comments = p_coment do_not_delete_data = l_not_delete destroy = l_destroy importing archive_handle = w_handle exceptions internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4.
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_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = w_handle exceptions others.
ARCHIVE_PUT_RECORD call function 'ARCHIVE_PUT_RECORD' exporting archive_handle = w_handle record = tab_payr record_flags = ' ' record_structure = 'PAYR' exceptions others.
ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = w_handle exceptions file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 data_object_not_saved = 6 others = 7.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = data_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.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = data_object_id i_msgtype = 1 i_text = lf_text.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = data_object_id i_msgtype = 1 i_text = lf_text.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = data_object_id i_msgtype = 1 i_text = lf_text.
PROGRESS_INDICATOR call function 'PROGRESS_INDICATOR' exporting i_text = lf_prog_text i_processed = lf_processed i_total = l_total importing e_progress_sent = lf_progress_sent.
DB_COMMIT call function 'DB_COMMIT'.
ARCHIVE_GET_STATISTICS call function 'ARCHIVE_GET_STATISTICS' exporting archive_handle = w_handle importing archive_document = up_archive_doc tables statistics_data = up_arch_stati exceptions others.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = w_handle exceptions internal_error = 1 others = 2.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = w_handle exceptions others.
ADD_N_TO_CHECK_NUMBER call function 'ADD_N_TO_CHECK_NUMBER' exporting * I_N = 1 "default is '1' i_pcec = wrk_pcec importing e_pcec = wrk_pcec exceptions * not_filled = 1 * not_found = 2 * not_numeric = 3 * not_valid = 4 others = 5.
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 FI_SCHECK_WRI or its description.
FI_SCHECK_WRI - Archiving Check Data: Write Program FI_SCHECK_WRI - Archiving Check Data: Write Program FI_PP_DELETE_BARCODE - Deletion of Obsolete Bar Code References in Table TOABC FI_PP_DELETE_BARCODE - Deletion of Obsolete Bar Code References in Table TOABC FI_PERIOD_DETERMINE===========FT - FIPERIODDETERMINE===========FT FI_PAYRQ_WRI - Archiving of Payment Requests: Write Program