RFFMTO40 is a standard Executable ABAP Report 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 RFFMTO40 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.
Selection Text: P_DISVAR = Layout
Title: Totals Records for Budget Structure
Text Symbol: 001 = Layout
INCLUDE: RKASMAWF.
No SAP DATABASE tables are accessed within this REPORT code!
FM_SUBSTRING_FIELDCAT_CORRECT CALL FUNCTION 'FM_SUBSTRING_FIELDCAT_CORRECT' TABLES it_fieldcat = g_t_fieldcat.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = 'X' i_callback_program = con_repid i_callback_user_command = 'USER_COMMAND' i_structure_name = 'G_T_ITEM' is_layout = g_f_layout it_fieldcat = g_t_fieldcat it_sort = g_t_sort is_sel_hide = g_t_sel_crit i_default = 'X' i_save = 'A' it_events = g_t_events TABLES t_outtab = g_t_item EXCEPTIONS program_error = 1 OTHERS = 2.
FMRP_UT_GET_SELLINE call function 'FMRP_UT_GET_SELLINE' exporting i_report_name = con_repid tables sel_field = l_t_sel_field e_t_listheader = l_t_list_top_of_page.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting i_logo = l_logo it_list_commentary = l_t_list_top_of_page.
FMRP_UT_GET_SELECTIONS CALL FUNCTION 'FMRP_UT_GET_SELECTIONS' "#EC * EXPORTING i_report_name = con_repid i_dialog = 'X' EXCEPTIONS no_entries = 1.
FM_ALV_LAYOUT CALL FUNCTION 'FM_ALV_LAYOUT' CHANGING c_f_layout = c_f_layout.
FREE_SELECTIONS_RANGE_2_EX CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' EXPORTING field_ranges = l_t_segments IMPORTING expressions = l_t_texpr.
FM_SIGN_GET_FOR_EXPENDITURE CALL FUNCTION 'FM_SIGN_GET_FOR_EXPENDITURE' IMPORTING e_sign = g_flg_expsign e_sign_revenues = g_flg_revsign.
FM_GET_ACTIVE_DIMENSIONS CALL FUNCTION 'FM_GET_ACTIVE_DIMENSIONS' IMPORTING e_function_active = g_flg_farea_active e_fund_active = g_flg_fund_active e_kom_active = g_flg_komm.
FM_REPORT_TITLE_SET CALL FUNCTION 'FM_REPORT_TITLE_SET' IMPORTING e_title = l_sav_title.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_f_disvariant i_save = 'A' IMPORTING es_variant = g_f_disvariant.
REUSE_ALV_VARIANT_SELECT CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT' EXPORTING i_dialog = space i_user_specific = 'X' it_default_fieldcat = g_t_fieldcat i_layout = g_f_layout CHANGING cs_variant = g_f_disvariant EXCEPTIONS wrong_input = 1 fc_not_complete = 2 not_found = 3 program_error = 4 OTHERS = 5.
FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = con_repid i_wfitem = wf_witem i_wflist = wf_wlist IMPORTING e_f_schedman_key = g_f_schedman_key.
FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key i_wfitem = wf_witem i_wfokey = wf_okey i_aplstat = g_aplstat i_cnt_obj = l_f_lines.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMTO40 - Totals Records for Budget Structure RFFMTO40 - Totals Records for Budget Structure RFFMTO31X - PBET - Overall Budget Vs. Commt./Actual Totals RFFMTO31X - PBET - Overall Budget Vs. Commt./Actual Totals RFFMTO30X - PBET - Annual Budget Vs. Commt./Actual Totals RFFMTO30X - PBET - Annual Budget Vs. Commt./Actual Totals