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

RKEVRK47_2 SAP ABAP INCLUDE - CO-PA: Interface to Product Costing







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


INCLUDES used within this REPORT RKEVRK47_2

INCLUDE RKE_KENC_OPTIONS.


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:

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

RKE_NC_EXEC_WRITE_CE4_REC CALL FUNCTION 'RKE_NC_EXEC_WRITE_CE4_REC' EXPORTING I_ERKRS = G-ERKRS I_MIT_PAOBJNR = 'X' I_ZWIESPALT = 'X' I_MARKDIFF = 'X' I_OUTPUTCONV = 'X' I_CHGDONLY = ' ' I_S_S = S_CE4 I_S_S1 = S_CE4_OLD I_PRAEFIX = 0.

RKE_SEGMENTS_SPLIT_PREPARE CALL FUNCTION 'RKE_SEGMENTS_SPLIT_PREPARE' EXPORTING I_ERKRS = g-erkrs I_PKGSIZ = G-PKGSIZE IMPORTING E_HANDLE = oss326091_handle EXCEPTIONS FAILED = 1.

RKE_SEGMENTS_SPLIT_GET_PKG CALL FUNCTION 'RKE_SEGMENTS_SPLIT_GET_PKG' EXPORTING I_HANDLE = oss326091_handle IMPORTING E_PAOBJNR_LOW = paobjnr_low E_PAOBJNR_HIGH = paobjnr_high EXCEPTIONS NO_MORE_DATA = 1 OTHERS = 2.

RKE_NC_EXEC_READ_CE4 CALL FUNCTION 'RKE_NC_EXEC_READ_CE4' EXPORTING I_ERKRS = I_ERKRS I_T_CE4KEYS = K TABLES E_T_CE4 = T EXCEPTIONS OTHERS = 0.

RKE_NC_EXEC_SET_REPORT_NAME45 CALL FUNCTION 'RKE_NC_EXEC_SET_REPORT_NAME45' EXPORTING I_ERKRS = I_ERKRS * I_MANDT = SY-MANDT I_CHGRUN = I_CHGRUN IMPORTING E_PROGRAMM = PROG45 .

RKE_NC_EXEC_READ_CE4 CALL FUNCTION 'RKE_NC_EXEC_READ_CE4' EXPORTING I_ERKRS = I_ERKRS I_T_CE4KEYS = K TABLES E_T_CE4 = T EXCEPTIONS OTHERS = 0.

RKE_NC_EXEC_WRITE_CE4_TAB CALL FUNCTION 'RKE_NC_EXEC_WRITE_CE4_TAB' EXPORTING I_ERKRS = I_ERKRS I_MIT_PAOBJNR = I_MIT_PAOBJNR I_ZWIESPALT = ZWIESPALT I_MARKDIFF = I_MARKDIFF I_OUTPUTCONV = I_OUTPUTCONV TABLES I_T_T = T I_T_T1 = T1 EXCEPTIONS OTHERS = 0.

RKE_FILL_FIELD_TABLE call function 'RKE_FILL_FIELD_TABLE' exporting erkrs = i_erkrs tabname = l_tabname_ce0 tables fieldtab = lt_dbtable.



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