RFCHKA20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program reads the data in an already existing archive file and copies the selected data records back into the SAP system...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 RFCHKA20 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FCHB - Check retrieval
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: SEL_ZBUK = Paying company code
Selection Text: SEL_ZAWE = Payment method
Selection Text: SEL_HKTI = Account ID
Selection Text: SEL_HBKI = House bank
Selection Text: PAR_ZUSA = Detail log
Selection Text: PAR_XPER = Payroll checks
Selection Text: PAR_UPDA = Update archive
Selection Text: PAR_TEST = Test run
Title: Retrieval of Check Data from the Archive
Text Symbol: 900 = Deleting Check Data in the Archive
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: 092 = |Typ|ID|No.|Error text |
Text Symbol: 090 = | Error messages |
Text Symbol: 088 = | Processed/created archiving session:
Text Symbol: 086 = Run time (in miliseconds) : |
Text Symbol: 084 = Stop date : Stop time : |
Text Symbol: 082 = Start date : Start time : |
Text Symbol: 080 = Program started by user:
Text Symbol: 068 = | Check : |
Text Symbol: 066 = | Account ID |
Text Symbol: 064 = | House Bank |
Text Symbol: 062 = | Company Code |
Text Symbol: 060 = | Program run selections |
Text Symbol: 050 = To Check
Text Symbol: 049 = From Check
Text Symbol: 048 = Receiver
Text Symbol: 046 = Production run
Text Symbol: 044 = Test run
Text Symbol: 042 = |CoCde|Bank |In archive|Selected |Retrieved |Incorrect | |
Text Symbol: 040 = | Statistics |
Text Symbol: 034 = Error
Text Symbol: 030 = Lot error
Text Symbol: 029 = cannot be retrieved
Text Symbol: 028 = already exist
Text Symbol: 027 = not selected
Text Symbol: 026 = can be retrieved
INCLUDE: RFCHKI99, RFDBRMAC.
INCLUDE: RFCHKI99, RFDBRMAC.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = sys_object test_mode = par_test IMPORTING archive_read_handle = r_handle archive_write_handle = w_handle EXCEPTIONS OTHERS.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = r_handle IMPORTING archive_name = hlp_archivname EXCEPTIONS OTHERS.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = r_handle EXCEPTIONS end_of_file = 01 OTHERS.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = r_handle IMPORTING record = payr EXCEPTIONS end_of_object = 01 OTHERS.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = w_handle EXCEPTIONS OTHERS.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = r_handle EXCEPTIONS OTHERS.
GET_CHECK_INTERVAL CALL FUNCTION 'GET_CHECK_INTERVAL' EXPORTING i_check = payr-checf i_hbkid = payr-hbkid i_hktid = payr-hktid i_zbukr = payr-zbukr IMPORTING e_pcec = pcec EXCEPTIONS not_found = 01 not_numeric = 02 not_valid = 03.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.