SAP Reports / Programs

RFFMBUM5 SAP ABAP Report - Budget/Release Consistency Check







RFFMBUM5 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Check whether the relation 'release <= budget' is violated The program checks for situations on the database where the releases exceed the budget...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 RFFMBUM5 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 RFFMBUM5. "Basic submit
SUBMIT RFFMBUM5 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMBUM5 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_YR_TO = to
Selection Text: S_YR_FRO = Year from
Selection Text: S_VERSN = Version
Selection Text: S_FUND = Fund
Selection Text: S_FMAREA = Financial management area
Selection Text: S_FIPEX = Commitment item
Selection Text: S_FICTR = Funds center
Selection Text: S_FAREA = D Functional Area
Selection Text: P_VARIA = D Layout
Selection Text: P_OVRALL = Total values
Title: Budget/Release Consistency Check
Text Symbol: 036 = Functional area
Text Symbol: 035 = User view
Text Symbol: 034 = Technical view
Text Symbol: 032 = Total values
Text Symbol: 031 = Payment budget
Text Symbol: 030 = Commitment budget
Text Symbol: 025 = No data matches the input.
Text Symbol: 024 = Distrib. rel. Lcu
Text Symbol: 023 = Distrib. rel. Tcu
Text Symbol: 022 = Distrib. budg. Lcu
Text Symbol: 021 = Distrib. budg. Tcu
Text Symbol: 020 = Year
Text Symbol: 019 = Released Lcu
Text Symbol: 018 = Released Tcu
Text Symbol: 017 = Budget Lcu
Text Symbol: 016 = Budget Tcu
Text Symbol: 015 = Tcu
Text Symbol: 010 = Commitment item
Text Symbol: 009 = Funds center
Text Symbol: 008 = to
Text Symbol: 007 = Fiscal year
Text Symbol: 003 = Version
Text Symbol: 002 = Fund
Text Symbol: 001 = FM area


INCLUDES used within this REPORT RFFMBUM5

INCLUDE: LKBPPSTN,


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:

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = t_s_fmarea-low.

KBPS_CHECK_VERSION CALL FUNCTION 'KBPS_CHECK_VERSION' EXPORTING im_applik = l_funds im_version = s_versn-low im_wrttp = l_wfbudget.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = t_s_fmarea-low ip_fincode = t_s_fund-low.

FIKRS_READ_WITH_OPTIONS CALL FUNCTION 'FIKRS_READ_WITH_OPTIONS' TABLES t_fikrs = s_fmarea t_fm01 = t_fm01.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = t_fm01-fikrs i_actvt = fmau_display IMPORTING e_flg_auth = l_flg_auth.

FM_FINCODE_READ_ALL CALL FUNCTION 'FM_FINCODE_READ_ALL' EXPORTING i_fikrs = u_fikrs TABLES t_fincode = s_fund t_fmfincode = l_t_fmfincode EXCEPTIONS OTHERS = 1.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = u_fikrs ip_fincode = l_t_fmfincode-fincode ip_finuse_read = on IMPORTING op_finuse_datab = l_datab op_finuse_datbis = l_datbis EXCEPTIONS OTHERS = 1.

FM5B_GET_PROFILE CALL FUNCTION 'FM5B_GET_PROFILE' "determine profile EXPORTING i_fikrs = u_fikrs i_fincode = u_fincode IMPORTING e_profil = l_profile EXCEPTIONS OTHERS = 1.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING applik = l_funds profil = l_profile wrttp = l_wfbudget IMPORTING ex_bp1c = c_bp1c EXCEPTIONS OTHERS = 1.

GET_CTR_OBJNR_FROM_FICTR CALL FUNCTION 'GET_CTR_OBJNR_FROM_FICTR' EXPORTING ip_fictr = u_fictr ip_fikrs = u_fikrs ip_read_db = off IMPORTING op_ctr_objnr = l_objnr EXCEPTIONS OTHERS = 1.

GET_CTR_OBJNR_FROM_FICTR CALL FUNCTION 'GET_CTR_OBJNR_FROM_FICTR' EXPORTING ip_fictr = '%' ip_fikrs = u_fikrs ip_read_db = off IMPORTING op_ctr_objnr = l_objnr EXCEPTIONS OTHERS = 1.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = u_fikrs i_posit = t_bpja-posit IMPORTING e_fipex = l_fipex EXCEPTIONS OTHERS = 1.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = u_fikrs i_posit = t_bpge-posit IMPORTING e_fipex = l_fipex EXCEPTIONS OTHERS = 1.

FM16_RELEASE_GROUP_CUSTOMIZING CALL FUNCTION 'FM16_RELEASE_GROUP_CUSTOMIZING' EXPORTING i_fikrs = u_fikrs i_gjahr = t_bpja-gjahr IMPORTING e_no_release_groups = l_flg_no_release_groups EXCEPTIONS OTHERS = 1.

BAPI_FUNC_AREA_EXISTENCECHECK CALL FUNCTION 'BAPI_FUNC_AREA_EXISTENCECHECK' EXPORTING functionalareaid = l_farea IMPORTING return = l_f_return.

BAPI_FUNC_AREA_GETLIST CALL FUNCTION 'BAPI_FUNC_AREA_GETLIST' EXPORTING language = sy-langu * IMPORTING * RETURN = TABLES functionalarea_list = l_t_funcarea.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = g_repid I_CALLBACK_PF_STATUS_SET = gc_setpfstatus I_CALLBACK_USER_COMMAND = gc_usercommand I_STRUCTURE_NAME = gc_structure IT_FIELDCAT = gt_fieldcat IS_LAYOUT = ls_layout_grid I_SAVE = gc_save IS_VARIANT = gs_variant IT_EVENTS = gt_eventtab_grid IMPORTING ES_EXIT_CAUSED_BY_USER = gs_exit_caused_by_user TABLES T_OUTTAB = gt_out_fields EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = g_repid I_STRUCTURE_NAME = gc_structure CHANGING CT_FIELDCAT = xt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET





CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab_grid EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = lv_save CHANGING cs_variant = xs_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = lv_save CHANGING cs_variant = xs_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = is_variant i_save = lv_save IMPORTING e_exit = lv_exit es_variant = ls_variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.



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