SAP Reports / Programs | Controlling | Profitability Analysis(CO-PA) SAP CO

RKEVRK4A SAP ABAP INCLUDE - CO-PA Archiving: Archiving Program







RKEVRK4A is a standard ABAP INCLUDE 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 RKEVRK4A 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 RKEVRK4A. "Basic submit
SUBMIT RKEVRK4A AND RETURN. "Return to original report after report execution complete
SUBMIT RKEVRK4A VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: CO-PA Archiving: Archiving Program


INCLUDES used within this REPORT RKEVRK4A

No INCLUDES are used within this REPORT code!


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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING RESTRICTION = GT_RESTRICT.

RKE_VALUE_REQUEST_VERSI CALL FUNCTION 'RKE_VALUE_REQUEST_VERSI' EXPORTING ERKRS = G_ERKRS IMPORTING VERSI = VERSI-LOW.

RKE_VALUE_REQUEST_VERSI CALL FUNCTION 'RKE_VALUE_REQUEST_VERSI' EXPORTING ERKRS = G_ERKRS IMPORTING VERSI = VERSI-HIGH.

RKE_COST_CHECK_EP_INDEX3 CALL FUNCTION 'RKE_COST_CHECK_EP_INDEX3' EXPORTING ERKRS = G_ERKRS.

RKE_GET_ERKRS_ATTR CALL FUNCTION 'RKE_GET_ERKRS_ATTR' EXPORTING ERKRS = G_ERKRS IMPORTING BLOCKFACTOR = G_BLOCKFACTOR.

RKE_READ_ERKRS_MESSAGE CALL FUNCTION 'RKE_READ_ERKRS_MESSAGE' EXPORTING I_ERKRS = G_ERKRS IMPORTING E_V_TKEB = GS_TKEB.

RKE_GET_NUMBER_OF_PERIODS CALL FUNCTION 'RKE_GET_NUMBER_OF_PERIODS' EXPORTING PERFLAG = GS_TKEB-PERFLAG PERIV = GS_TKEB-PERIV YEAR = GJAHR-LOW IMPORTING ANZSP = G_ANZSP FIRSTSPEC = G_FIRSTSPEC.

RKE_CONVERT_SEL_TO_PERBL_SEL CALL FUNCTION 'RKE_CONVERT_SEL_TO_PERBL_SEL' EXPORTING ERKRS = G_ERKRS * LEDGER = '01' TABLES PERBL_PHYSNR_SEL = GT_PERBL_PERIO SELECTION_TABLE = GT_SELTAB.

ADK_ABILITY_OF_CHECKS CALL FUNCTION 'ADK_ABILITY_OF_CHECKS' EXPORTING XDISABLE_CHECKS = 'X'.

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING CALL_DELETE_JOB_IN_TEST_MODE = DELE_TES CREATE_ARCHIVE_FILE = CRE_ARC OBJECT = G_ARCH_OBJECT IMPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE.

ADK_ABILITY_OF_CHECKS CALL FUNCTION 'ADK_ABILITY_OF_CHECKS' EXPORTING XDISABLE_CHECKS = 'X'.

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING CALL_DELETE_JOB_IN_TEST_MODE = DELE_TES CREATE_ARCHIVE_FILE = CRE_ARC OBJECT = G_ARCH_OBJECT IMPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE OBJECT_ID = G_ARCH_OBJECT.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE RECORD_STRUCTURE = I_TABNAME RECORD_FLAGS = ' ' TABLES TABLE = IT_CEX.

ARCHIVE_SAVE_OBJECT





CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = G_ARCH_HANDLE.



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