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

RKEVRK2A_POST_BAPI__FIX SAP ABAP INCLUDE - RKEVRK2APOSTBAPIFIX







RKEVRK2A_POST_BAPI__FIX 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 RKEVRK2A_POST_BAPI__FIX 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 RKEVRK2A_POST_BAPI__FIX. "Basic submit
SUBMIT RKEVRK2A_POST_BAPI__FIX AND RETURN. "Return to original report after report execution complete
SUBMIT RKEVRK2A_POST_BAPI__FIX 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 RKEVRK2A_POST_BAPI__FIX

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:

RKE_TRANSFORM_STRUC_BAPI_CE0 CALL FUNCTION 'RKE_TRANSFORM_STRUC_BAPI_CE0' EXPORTING i_erkrs = gc_erkrs i_pa_type = '1' "cost based PA i_t_fieldlist = i_t_fields i_plan_act_indicator = '0' "actual data IMPORTING e_t_ce0 = l_t_data_ce0 TABLES i_t_bapi_data = i_t_data c_t_return = c_t_return.

COPA_BCT_IMPORT_ACTUAL_DATA CALL FUNCTION 'COPA_BCT_IMPORT_ACTUAL_DATA' EXPORTING i_erkrs = gc_erkrs i_tabname = gc_ce0_name i_testmode = i_testrun i_commit_work = ' ' "no COMMIT WORK in BAPI * IMPORTING * E_RETURN_CODE = TABLES it_items = l_t_data_ce0 et_error = l_t_import_errors EXCEPTIONS posting_error = 1 OTHERS = 2 .

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = sy-msgv1 par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 IMPORTING return = l_s_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'A' cl = 'KEBAPI' number = 204 par1 = 'COPA_IMPORT_ACTUAL_DATA' par2 = l_tmpstr IMPORTING return = l_s_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = -severity cl = -ag number = l_msgnr par1 = -var1 par2 = -var2 par3 = -var3 par4 = -var4 parameter = 'InputData' row = -index IMPORTING return = l_s_bapiret.



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