SAP Reports / Programs

RFCHKA10 SAP ABAP Report - Deleting Check Data in the Archive







RFCHKA10 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 archive file that has been created and deletes every record it finds from the database...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 RFCHKA10 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 RFCHKA10. "Basic submit
SUBMIT RFCHKA10 AND RETURN. "Return to original report after report execution complete
SUBMIT RFCHKA10 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: PAR_ZUSA = D .
Selection Text: PAR_TEST = D .
Title: Deleting Check Data in 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: 050 = To Check
Text Symbol: 049 = From Check
Text Symbol: 048 = Receiver
Text Symbol: 047 = In archive
Text Symbol: 046 = Update run
Text Symbol: 044 = Test run
Text Symbol: 042 = CoCde Bank In archive Deleted Incorrected |
Text Symbol: 040 = Statistics
Text Symbol: 034 = Error
Text Symbol: 028 = cannot be deleted
Text Symbol: 027 = does not exist
Text Symbol: 026 = Can be deleted
Text Symbol: 025 = deleted
Text Symbol: 022 = |CoCde|Bank |Acct |PmtMt|From check |To check |Recipient |Status | |
Text Symbol: 020 = Additional Log
Text Symbol: 018 = LongText


INCLUDES used within this REPORT RFCHKA10

INCLUDE RFDBRMAC.


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_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = r_handle TABLES table = lt_arch_stat.

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = sys_object test_mode = par_test IMPORTING archive_handle = r_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_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = r_handle.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = r_handle EXCEPTIONS OTHERS.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = r_handle TABLES table = lt_statistic EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = ld_repid is_layout = ls_layout is_print = ls_print it_fieldcat = lt_fieldcat it_events = lt_event[] it_event_exit = lt_event_exit[] i_callback_user_command = 'ALV_UCOMM' i_suppress_empty_data = 'X' TABLES t_outtab = lt_stat.



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 RFCHKA10 or its description.