RK4BCOCA 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 RK4BCOCA 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: DELE_SUM = Delete presummarized data
Selection Text: DELE_TES = Test run
Title: Costing-Based CO-PA Archiving: Deletion Program
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING OBJECT = ARC_OBJECT TEST_MODE = DELE_TES IMPORTING ARCHIVE_HANDLE = HANDLE.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = ARC_OBJECT IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = COMMCNT.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS END_OF_FILE = 01.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE IMPORTING RECORD =
RECORD_FLAGS = ARC_BUFFER-FLAGS RECORD_STRUCTURE = ARC_BUFFER-RNAME EXCEPTIONS END_OF_OBJECT = 01.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE TABLES TABLE = T_ARCHSTAT.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE STATISTICS_ONLY_PER_RUN = 'X'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE.
RKE_SUMMARIZATION_DATA_INVALID CALL FUNCTION 'RKE_SUMMARIZATION_DATA_INVALID' EXPORTING APPLCLASS = 'KE' SUBCLASS = '01' TABNAME = G_TABNAME.
ARCHIVE_GIVE_STATISTICS * call function 'ARCHIVE_GIVE_STATISTICS' * exporting * archive_handle = handle * tables * table = t_archstat.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RK4BCOCA - Costing-Based CO-PA Archiving: Deletion Program RK4BCOCA - Costing-Based CO-PA Archiving: Deletion Program RK4BCHIT_WRI - Archiving CO-PA Object Level: Write Program RK4BCHIT_WRI - Archiving CO-PA Object Level: Write Program RK4BCHIT_REL - Archiving CO-PA Object Level: Reload Program RK4BCHIT_REL - Archiving CO-PA Object Level: Reload Program