SAP Reports / Programs

RFMOADERIVE SAP ABAP Report - FMOA Object Assignment (CallBack Report) using CO-PA Derivation Tool







RFMOADERIVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Callback Report for the FMOA Derivation Tool This report contains all forms (user-exits) used in the CO-PA Derivation Tool when processing the strategy FMOA...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFMOADERIVE 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 RFMOADERIVE. "Basic submit
SUBMIT RFMOADERIVE AND RETURN. "Return to original report after report execution complete
SUBMIT RFMOADERIVE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: FMOA Object Assignment (CallBack Report) using CO-PA Derivation Tool


INCLUDES used within this REPORT RFMOADERIVE

INCLUDE LFMAUEQU .
INCLUDE LABADRTYP.
INCLUDE RFMOADERIVE_F4_BUDGET_PERIOF01.


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:

FM_STRATEGY_ENV_POPUP_LIST CALL FUNCTION 'FM_STRATEGY_ENV_POPUP_LIST' EXPORTING i_applclass = con_strat_appl i_subclass = con_strat_subclass i_abadrstratid = con_strategy_id i_show_only_editable = 'X' IMPORTING e_abadrenv = e_env.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FMDT_WRITE_DRULE_CHANGEDOC CALL FUNCTION 'FMDT_WRITE_DRULE_CHANGEDOC' EXPORTING i_intid = i_rule-step-int_id i_tablename = i_rule-step-param_1 i_old_max_id = i_rule-id_old_max it_new_drule = i_rule-tab_entries it_old_drule = i_rule-tab_deleted_entries EXCEPTIONS OTHERS = 1.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

ABAD0_GET_INTID CALL FUNCTION 'ABAD0_GET_INTID' IMPORTING e_intid = i_new_step-int_id.

FMDT_LONG_TEXT CALL FUNCTION 'FMDT_LONG_TEXT' EXPORTING i_appl = con_strat_appl i_subclass = con_strat_subclass i_strategy_id = con_strategy_id i_env = i_env i_stepid = i_old_step-int_id i_copy_to_stepid = i_new_step-int_id EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

FM_READ_FMDERIVEFUNC_PROPOSAL CALL FUNCTION 'FM_READ_FMDERIVEFUNC_PROPOSAL' EXPORTING i_tab_names = l_tab_names i_default_flag = 'S' CHANGING c_step = x_step.

FM_READ_FMDERIVEFUNC_PROPOSAL CALL FUNCTION 'FM_READ_FMDERIVEFUNC_PROPOSAL' EXPORTING i_tab_names = l_tab_names i_default_flag = 'T' CHANGING c_step = x_step.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FM_FMDERIVE_CALL_CUSTOMER_EXIT CALL FUNCTION 'FM_FMDERIVE_CALL_CUSTOMER_EXIT' EXPORTING i_env = i_env i_date = i_date i_step_id = i_id i_fmderive_source = i_item_1 IMPORTING e_fmderive_target = e_item_1 e_exit_is_active = e_step_is_active e_failed = failed EXCEPTIONS derivation_failed = 1 OTHERS = 2.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

SXC_EXIT_CHECK_ACTIVE CALL FUNCTION 'SXC_EXIT_CHECK_ACTIVE' EXPORTING exit_name = 'BADI_FMDERIVE' TABLES active_imps = l_t_act_imp EXCEPTIONS not_active = 1 OTHERS = 2.

ABADR_BUFFERS_REFRESH CALL FUNCTION 'ABADR_BUFFERS_REFRESH'.

FM_CHECK_ASSIGNMENT_RULES CALL FUNCTION 'FM_CHECK_ASSIGNMENT_RULES' EXPORTING i_env = i_env.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FMDT_LONG_TEXT CALL FUNCTION 'FMDT_LONG_TEXT' EXPORTING i_appl = i_strategy_key-appl i_subclass = i_strategy_key-subclass i_strategy_id = i_strategy_key-strategy_id i_env = i_strategy_key-env i_stepid = i_int_id i_display_only = l_display_only EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

FMDT_SHOW_DRULE_CHANGEDOC





CALL FUNCTION 'FMDT_SHOW_DRULE_CHANGEDOC' EXPORTING i_step = i_step.

FMDT_SHOW_ABADR_CHANGEDOC CALL FUNCTION 'FMDT_SHOW_ABADR_CHANGEDOC' EXPORTING i_applclass = i_appl i_subclass = i_subclass i_stratid = i_strategy_id i_env = i_env EXCEPTIONS OTHERS = 1.

BUBAS_STRAT_TEXT_TRANS_FILL * CALL FUNCTION 'BUBAS_STRAT_TEXT_TRANS_FILL' * EXPORTING * i_appl = con_fmavc_strat_appl * i_subclass = con_fmavc_strat_subclass * i_strategy_id = con_strategy_id * i_env = i_env * TABLES * t_e071 = l_t_e071 * t_e071k = l_t_e071k.

FMDT_WRITE_ABADR_CHANGEDOC CALL FUNCTION 'FMDT_WRITE_ABADR_CHANGEDOC' EXPORTING i_applclass = i_new_strategy-key-appl i_subclass = i_new_strategy-key-subclass i_stratid = i_new_strategy-key-strategy_id i_env = i_new_strategy-key-env it_new_steps = i_new_strategy-tab_steps it_old_steps = i_old_strategy-tab_steps i_new_version = i_new_strategy-version i_old_version = i_old_strategy-version EXCEPTIONS OTHERS = 1.

FMDT_LONG_TEXT CALL FUNCTION 'FMDT_LONG_TEXT' EXPORTING i_appl = i_old_strategy-key-appl i_subclass = i_old_strategy-key-subclass i_strategy_id = i_old_strategy-key-strategy_id i_env = i_old_strategy-key-env i_stepid = -int_id i_delete = con_on EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FM_GET_INSTANCE_BADI_FMDERIVE CALL FUNCTION 'FM_GET_INSTANCE_BADI_FMDERIVE' IMPORTING e_if_ex_badi_fmderive = l_badi_fmderive.

FM_F4_FOR_MEASURE CALL FUNCTION 'FM_F4_FOR_MEASURE' EXPORTING i_fmarea = u_fikrs i_measure = l_measure IMPORTING e_measure = l_measure EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_FUND CALL FUNCTION 'FM_F4_FOR_FUND' EXPORTING i_fikrs = u_fikrs IMPORTING e_fund = l_fund EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_FUNDS_CENTER CALL FUNCTION 'FM_F4_FOR_FUNDS_CENTER' EXPORTING i_fikrs = u_fikrs i_gjahr = u_gjahr IMPORTING e_fictr = l_fictr EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_COMMITMENT_ITEM CALL FUNCTION 'FM_F4_FOR_COMMITMENT_ITEM' EXPORTING i_fikrs = u_fikrs i_gjahr = u_gjahr IMPORTING e_fipex = l_fipex EXCEPTIONS no_select = 1 OTHERS = 2.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = u_tabname fieldname = u_fieldname TABLES return_tab = l_t_values_tab EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

FM_GET_INPUT_OUTPUT_PARAMETERS CALL FUNCTION 'FM_GET_INPUT_OUTPUT_PARAMETERS' EXPORTING i_funcname = i_funcname IMPORTING e_input = l_input e_output = l_output.

FM_READ_FMDERIVEFUNC_FUNCTIONS CALL FUNCTION 'FM_READ_FMDERIVEFUNC_FUNCTIONS' EXPORTING i_appl = con_strat_appl i_subclass = con_strat_subclass i_strategy_id = con_strategy_id i_tab_names = l_tab_names TABLES t_tftit = l_t_tftit.

FM_GET_INPUT_OUTPUT_PARAMETERS CALL FUNCTION 'FM_GET_INPUT_OUTPUT_PARAMETERS' EXPORTING i_funcname = l_t_tftit-funcname IMPORTING e_input = l_input e_output = l_output.

FM_GET_INPUT_OUTPUT_PARAMETERS CALL FUNCTION 'FM_GET_INPUT_OUTPUT_PARAMETERS' EXPORTING i_funcname = i_funcname IMPORTING e_input = e_strname e_output = l_dummy.

FM_GET_INPUT_OUTPUT_PARAMETERS CALL FUNCTION 'FM_GET_INPUT_OUTPUT_PARAMETERS' EXPORTING i_funcname = i_funcname IMPORTING e_input = l_dummy e_output = e_strname.



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