SAP Reports / Programs

RFFMRB_GENERATE SAP ABAP Report - Generate Rules for Revenues Increasing the Budget







RFFMRB_GENERATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program generates rules for Revenues Increasing the Budget (RIB rules)...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 RFFMRB_GENERATE into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FMRBGENMD - Generate Master Data for RIB


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 RFFMRB_GENERATE. "Basic submit
SUBMIT RFFMRB_GENERATE AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMRB_GENERATE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_USERD = D .
Selection Text: S_MEASR = D .
Selection Text: S_GRANT = D .
Selection Text: S_FONDS = D .
Selection Text: S_FIPEX = D .
Selection Text: S_FICTR = D .
Selection Text: S_FAREA = D .
Selection Text: S_CVRGRP = Revenue Cover Group
Selection Text: S_BUDPER = D .
Selection Text: P_VARIA = D .
Selection Text: P_USE_BS = D .
Selection Text: P_TEST = Test Run
Selection Text: P_SRO = RIB rules based on
Selection Text: P_SPO = Posting Addresses
Selection Text: P_SELVAR = D .
Selection Text: P_SBO = Budget Addresses
Selection Text: P_LDNR = D .
Selection Text: P_IDX = D .
Selection Text: P_GJAHR = D .
Selection Text: P_FIKRS = D .
Title: Generate Rules for Revenues Increasing the Budget
Text Symbol: O01 = Selection of Source Data
Text Symbol: 602 = Revenue Cover Groups
Text Symbol: 601 = RIB Objects
Text Symbol: 507 = Update Run
Text Symbol: 506 = Test Run
Text Symbol: 505 = Processing status
Text Symbol: 100 = RFFMRB_GENERATE
Text Symbol: 017 = Autom. cov. grp assign. saved
Text Symbol: 016 = Auto. cov. grp assign. to save
Text Symbol: 015 = Index entries saved
Text Symbol: 014 = Receiving addresses saved
Text Symbol: 013 = RIB rules saved
Text Symbol: 012 = Index entries to save
Text Symbol: 011 = Receiving addresses to save
Text Symbol: 010 = RIB rules to save
Text Symbol: 006 = Restriction on Revenue Cover Groups
Text Symbol: 005 = Processing Options





Text Symbol: 001 = Selection of Source Data for RIB objects


INCLUDES used within this REPORT RFFMRB_GENERATE

INCLUDE: IFMRBCON,
INCLUDE: FMBS_OUTPUT_PROTOCOL_TYPES.
INCLUDE IFIFMBAS_FMACC_SEL.
INCLUDE: FMBS_OBJ_MAINT_LCL_CHANGE_PARA.


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_FYC_SELSCR_STATUS_SET CALL FUNCTION 'FM_FYC_SELSCR_STATUS_SET' IMPORTING e_text_block_fma = bltxtfma e_text_block_mass = bltxtmss e_text_button = pbfmsele e_title_selvar_f4 = g_selvar_f4_title.

FMCE_CHECK_ACTIVATION_CE CALL FUNCTION 'FMCE_CHECK_ACTIVATION_CE' EXPORTING i_fm_area = p_fikrs i_fiscyear = p_gjahr IMPORTING e_use_revenue_cg = g_flg_revcg_active e_flg_call_rib_active = g_flg_call_rib_active.

FM_MULTIPLE_SELECTION_TEXT_GET CALL FUNCTION 'FM_MULTIPLE_SELECTION_TEXT_GET' EXPORTING i_flg_msel_active = p_mass IMPORTING e_text_button = pbfmsele.

GM_GET_GRANT_NOT_RELEVANT * CALL FUNCTION 'GM_GET_GRANT_NOT_RELEVANT' * IMPORTING * e_grant_not_relevant = g_grant_not_relevant.

GM_GET_GRANT_NOT_RELEVANT CALL FUNCTION 'GM_GET_GRANT_NOT_RELEVANT' IMPORTING e_grant_not_relevant = g_grant_not_relevant.

FMCE_CHECK_ACTIVATION_CE CALL FUNCTION 'FMCE_CHECK_ACTIVATION_CE' EXPORTING i_fm_area = p_fikrs i_fiscyear = p_gjahr IMPORTING e_flg_ce_active = g_flg_revcg_active e_flg_call_rib_active = g_flg_call_rib_active.

GM_GET_GRANT_NOT_RELEVANT CALL FUNCTION 'GM_GET_GRANT_NOT_RELEVANT' IMPORTING e_grant_not_relevant = g_grant_not_relevant.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = g_log_handle IMPORTING e_statistics = wa_statistics.

FMBAS_SET_LEDGER_DROPDOWN_LIST CALL FUNCTION 'FMBAS_SET_LEDGER_DROPDOWN_LIST' EXPORTING i_ldnr_singl_field = 'P_LDNR' i_t_ldnr_txt = g_t_ldnr_txt.

GM_GET_GRANT_NOT_RELEVANT CALL FUNCTION 'GM_GET_GRANT_NOT_RELEVANT' IMPORTING e_grant_not_relevant = l_grant_not_relevant.

FMCU_GET_ACTIVE_VERSION CALL FUNCTION 'FMCU_GET_ACTIVE_VERSION' EXPORTING i_fm_area = p_fikrs i_fiscyear = p_gjahr IMPORTING e_active_version = l_active_version EXCEPTIONS OTHERS = 1.

GM_GET_GRANT_NOT_RELEVANT CALL FUNCTION 'GM_GET_GRANT_NOT_RELEVANT' IMPORTING e_grant_not_relevant = l_grant_not_relevant.

FM_SELECT_MULTIPLE CALL FUNCTION 'FM_SELECT_MULTIPLE' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr i_bsp_element_bcs = on i_select_without_fonds = l_flg_fund_not_used i_select_without_budgetpd = l_flg_budget_pd_not_used i_select_without_function = l_flg_funcarea_not_used i_select_without_measure = l_flg_measure_not_used * i_select_without_userdim = l_flg_userdim_not_used i_select_without_grant = l_flg_grant_nbr_not_used i_flg_no_list = u_flg_no_list i_prog_varnt = u_selvar i_flg_blank_dim_bcs = l_fmslblnkdim TABLES t_fmsltrp = lt_fmsltrp t_fmslpara = lt_fmslpara EXCEPTIONS OTHERS = 1.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'p_sro' values = list.

FMBAS_READ_ACT_LDNR_WITH_TEXT CALL FUNCTION 'FMBAS_READ_ACT_LDNR_WITH_TEXT' EXPORTING i_fikrs = l_fikrs i_flg_use_fin_bdg = off IMPORTING e_flg_single_rldnr = g_flg_single_budcat e_t_rldnr_txt = g_t_ldnr_txt EXCEPTIONS OTHERS = 1.

FMBAS_READ_ACT_LDNR_WITH_TEXT * CALL FUNCTION 'FMBAS_READ_ACT_LDNR_WITH_TEXT' * EXPORTING * i_fikrs = p_fikrs * IMPORTING * e_flg_single_rldnr = g_flg_single_budcat * e_t_rldnr_txt = g_t_ldnr_txt.






FMBAS_SET_LEDGER_DROPDOWN_LIST * CALL FUNCTION 'FMBAS_SET_LEDGER_DROPDOWN_LIST' * EXPORTING * i_ldnr_singl_field = 'P_LDNR' * i_t_ldnr_txt = g_t_ldnr_txt * .



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