SAP Reports / Programs

RUSFGDERIVE SAP ABAP Report - documentation and ABAP source code







RUSFGDERIVE 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 USFG Derivation Tool This report contains all forms (user-exits) used in the CO-PA derivation tool when processing the strategy USFG...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 RUSFGDERIVE 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 RUSFGDERIVE. "Basic submit
SUBMIT RUSFGDERIVE AND RETURN. "Return to original report after report execution complete
SUBMIT RUSFGDERIVE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Text Symbol: 001 = Strategy Environment
Text Symbol: 002 = Select derivation rule for
Text Symbol: 003 = FACTS I and II Attribute Derivation
Text Symbol: 004 = FACTS I and II additional fields derivation - reporting only
Text Symbol: 005 = GTAS Attribute Derivation at Time of Posting
Text Symbol: 006 = GTAS Attribute Derivation at Time of Reporting


INCLUDES used within this REPORT RUSFGDERIVE

INCLUDE LABADRTYP.
INCLUDE RUSFGDERIVE_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:

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING textline1 = text-002 titel = text-001 IMPORTING answer = l_answer TABLES t_spopli = l_spopli EXCEPTIONS not_enough_answers = 1 too_much_answers = 2 too_much_marks = 3 OTHERS = 4.

FMFG_GTAS_ALLOWED_DER_FLDS_SRC CALL FUNCTION 'FMFG_GTAS_ALLOWED_DER_FLDS_SRC' EXPORTING iv_environment = i_env it_all_names = i_tab_all_names IMPORTING ET_ALLOWED_FIELDS = e_tab_allowed_sources .

FMFG_GTAS_ALLOWED_DER_FIELDS CALL FUNCTION 'FMFG_GTAS_ALLOWED_DER_FIELDS' EXPORTING iv_environment = i_env it_all_names = i_tab_all_names IMPORTING ET_ALLOWED_FIELDS = e_tab_allowed_targets .

FM_USFGDERIVE_CUSTOMER_EXIT CALL FUNCTION 'FM_USFGDERIVE_CUSTOMER_EXIT' EXPORTING i_env = i_env i_date = i_date i_step_id = i_id i_iusfgfderive_source = i_item_1 IMPORTING e_iusfgfderive_target = e_item_1 e_exit_is_active = e_step_is_active e_failed = failed EXCEPTIONS derivation_failed = 1 OTHERS = 2.

ABADR_BUFFERS_REFRESH CALL FUNCTION 'ABADR_BUFFERS_REFRESH'.

FM_CHECK_USFG_ASSIGNMENT_RULES CALL FUNCTION 'FM_CHECK_USFG_ASSIGNMENT_RULES' EXPORTING i_env = i_env.

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_YEAR_FROM_DATE CALL FUNCTION 'FM_GET_YEAR_FROM_DATE' EXPORTING i_farea = l_fikrs i_date = sy-datum IMPORTING e_year = l_gjahr EXCEPTIONS applc_not_supported = 1 no_periv = 2 OTHERS = 3.

FM_COM_ITEM_READ_SINGLE_DATA CALL FUNCTION 'FM_COM_ITEM_READ_SINGLE_DATA' EXPORTING i_fikrs = l_fikrs i_gjahr = l_gjahr i_fipex = l_fipex i_flg_text = 'X' IMPORTING e_f_fmcit = l_f_fmcit EXCEPTIONS master_data_not_found = 1 hierarchy_data_not_found = 2 input_error = 3 OTHERS = 4.

FM_FICTR_READ_SINGLE CALL FUNCTION 'FM_FICTR_READ_SINGLE' EXPORTING i_fikrs = l_fikrs i_fictr = l_fictr i_flag_text = 'X' i_date = sy-datum IMPORTING e_f_fmfctrt = l_f_fmfctrt EXCEPTIONS input_error = 1 master_data_not_found = 2 hierarchy_data_not_found = 3 OTHERS = 4.

FM_FUND_READ CALL FUNCTION 'FM_FUND_READ' EXPORTING i_fikrs = l_fikrs i_fincode = l_fund i_flg_text = 'X' IMPORTING e_f_fmfint = l_f_fmfint EXCEPTIONS master_data_not_found = 1 fund_not_valid = 2 error_occurred = 3.

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