RKEVRK2P_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 RKEVRK2P_BAPI__FIX 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RKE_AUTHORITY_CHECK_SELTAB CALL FUNCTION 'RKE_AUTHORITY_CHECK_SELTAB' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type it_seltab = lt_seltab EXCEPTIONS user_not_authorized = 1 OTHERS = 2.
RKE_CORE_GET_DATA CALL FUNCTION 'RKE_CORE_GET_DATA' EXPORTING i_handle = l_handle IMPORTING et_ce0 = et_ce0.
RKE_CORE_DESTRUCT_ALL CALL FUNCTION 'RKE_CORE_DESTRUCT_ALL'.
RKE_CORE_CREATE CALL FUNCTION 'RKE_CORE_CREATE' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type it_crit = lot_crit IMPORTING e_handle = l_handle_meh.
RKE_CORE_READ_DATABASE CALL FUNCTION 'RKE_CORE_READ_DATABASE' EXPORTING i_handle = l_handle_meh it_seltab = it_seltab EXCEPTIONS foreign_lock = 2.
RKE_CORE_CREATE CALL FUNCTION 'RKE_CORE_CREATE' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type it_crit = iot_crit IMPORTING e_handle = e_handle.
RKE_CORE_ADD CALL FUNCTION 'RKE_CORE_ADD' EXPORTING * I_MODE = '1' i_handle_1 = e_handle i_handle_2 = l_handle_meh.
RKE_AUTHORITY_CHECK_SELTAB CALL FUNCTION 'RKE_AUTHORITY_CHECK_SELTAB' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type it_seltab = lt_seltab EXCEPTIONS user_not_authorized = 1 OTHERS = 2.
RKE_ENQUEUE_SELTAB CALL FUNCTION 'RKE_ENQUEUE_SELTAB' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type i_scope = '2' it_seltab = lt_seltab EXCEPTIONS foreign_lock = 1 system_error = 2 OTHERS = 3.
RKE_CORE_CREATE CALL FUNCTION 'RKE_CORE_CREATE' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type it_crit = lot_crit IMPORTING e_handle = l_handle_2.
RKE_CORE_PUT_DATA CALL FUNCTION 'RKE_CORE_PUT_DATA' EXPORTING i_handle = l_handle_2 i_validate = 'X' it_ce0 = lt_ce0 IMPORTING et_message = lt_message EXCEPTIONS invalid_parameters = 4.
RKE_CORE_CREATE CALL FUNCTION 'RKE_CORE_CREATE' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type it_crit = lot_crit_post IMPORTING e_handle = l_handle_3.
RKE_CORE_ADD CALL FUNCTION 'RKE_CORE_ADD' EXPORTING i_handle_1 = l_handle_3 i_handle_2 = l_handle_2 i_use_attributes = '2'.
RKE_CORE_DESTRUCT CALL FUNCTION 'RKE_CORE_DESTRUCT' EXPORTING i_handle = l_handle_2.
RKE_CORE_CALCULATE_CURRENCIES CALL FUNCTION 'RKE_CORE_CALCULATE_CURRENCIES' EXPORTING i_handle = l_handle_2.
RKE_CORE_CHANGE_SIGN CALL FUNCTION 'RKE_CORE_CHANGE_SIGN' EXPORTING i_handle = l_handle_1.
RKE_CORE_ADD CALL FUNCTION 'RKE_CORE_ADD' EXPORTING i_mode = '1' i_handle_1 = l_handle_2 i_handle_2 = l_handle_1.
RKE_CORE_DERIVE CALL FUNCTION 'RKE_CORE_DERIVE' EXPORTING i_handle = l_handle_2.
CALL FUNCTION 'RKE_CORE_GET_MESSAGES' EXPORTING i_handle = l_handle_2 IMPORTING et_ce0 = lt_ce0_dummy et_message = lt_message.
RKE_CORE_POST_DATABASE CALL FUNCTION 'RKE_CORE_POST_DATABASE' EXPORTING i_handle = l_handle_2 i_use_valf = 'X' iot_valf = iot_valf IMPORTING et_belnr = lt_belnr.
RKE_ENQUEUE_SELTAB CALL FUNCTION 'RKE_ENQUEUE_SELTAB' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type i_scope = '2' i_action = 'D' it_seltab = lt_seltab EXCEPTIONS foreign_lock = 1 system_error = 2 OTHERS = 3.
RKE_CORE_DESTRUCT_ALL CALL FUNCTION 'RKE_CORE_DESTRUCT_ALL'.
RKE_BAPI_CHECK_CONV_FIELDLIST CALL FUNCTION 'RKE_BAPI_CHECK_CONV_FIELDLIST' EXPORTING i_op_concern = i_erkrs i_pa_type = i_pa_type i_t_fieldlist = it_bapi_selected_fields IMPORTING e_t_fieldlist_new = lt_fieldtab EXCEPTIONS inconsistent_fieldlist = 1 internal_error = 2 OTHERS = 3.
RKE_BAPI_CHECK_CONV_SELECTION CALL FUNCTION 'RKE_BAPI_CHECK_CONV_SELECTION' EXPORTING i_op_concern = i_erkrs i_pa_type = i_pa_type i_t_selection = it_bapi_selection EXCEPTIONS invalid_selection = 1 internal_error = 2 OTHERS = 3.
RKE_PLAN_READ CALL FUNCTION 'RKE_PLAN_READ' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type it_crit = lot_crit it_seltab = lt_seltab IMPORTING et_ce0 = lt_ce0 et_mess = lt_mess EXCEPTIONS invalid_parameters = 1 authorization_failed = 2 foreign_lock = 3 OTHERS = 4.
RKE_TRANSFORM_STRUC_CE0_BAPI CALL FUNCTION 'RKE_TRANSFORM_STRUC_CE0_BAPI' EXPORTING i_t_ce0 = lt_ce0 i_erkrs = i_erkrs i_pa_type = i_pa_type i_t_fieldlist = lt_fieldtab TABLES e_t_bapi_data = et_bapi_data EXCEPTIONS OTHERS = 1.
RKE_BAPI_CHECK_CONV_FIELDLIST CALL FUNCTION 'RKE_BAPI_CHECK_CONV_FIELDLIST' EXPORTING i_op_concern = i_erkrs i_pa_type = i_pa_type i_t_fieldlist = it_bapi_selected_fields IMPORTING e_t_fieldlist_new = lt_fieldtab EXCEPTIONS inconsistent_fieldlist = 1 internal_error = 2 OTHERS = 3.
RKE_BAPI_CHECK_CONV_SELECTION CALL FUNCTION 'RKE_BAPI_CHECK_CONV_SELECTION' EXPORTING i_op_concern = i_erkrs i_pa_type = i_pa_type i_t_selection = it_bapi_selection EXCEPTIONS invalid_selection = 1 internal_error = 2 OTHERS = 3.
RKE_TRANSFORM_STRUC_BAPI_CE0 CALL FUNCTION 'RKE_TRANSFORM_STRUC_BAPI_CE0' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type i_t_fieldlist = lt_fieldtab i_plan_act_indicator = '1' IMPORTING e_t_ce0 = lt_ce0 TABLES i_t_bapi_data = it_bapi_data c_t_return = et_bapi_return EXCEPTIONS OTHERS = 1.
RKE_PLAN_SAVE CALL FUNCTION 'RKE_PLAN_SAVE' EXPORTING i_erkrs = i_erkrs i_pa_type = i_pa_type i_testrun = i_testrun it_crit = lot_crit it_seltab = lt_seltab it_ce0 = lt_ce0 iot_valf = lot_valf IMPORTING et_mess = lt_mess EXCEPTIONS invalid_parameters = 1 authorization_failed = 2 enqueue_failed = 3 foreign_lock = 4 OTHERS = 5.
BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = ls_mess-msgty cl = ls_mess-arbgb number = l_number par1 = ls_mess-msgv1 par2 = ls_mess-msgv2 par3 = ls_mess-msgv3 par4 = ls_mess-msgv4 IMPORTING return = ls_bapi_return.
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 RKEVRK2P_BAPI__FIX or its description.