SAP Reports / Programs

RFFMBUM2 SAP ABAP Report - Sum of Period Values <> Annual Values







RFFMBUM2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program checks for inconsistencies between annual and period values...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 RFFMBUM2 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 RFFMBUM2. "Basic submit
SUBMIT RFFMBUM2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMBUM2 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_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
Title: Sum of Period Values <> Annual Values
Text Symbol: 026 = Subt
Text Symbol: 025 = Technical view
Text Symbol: 024 = User view
Text Symbol: 023 = No data matches the input
Text Symbol: 022 = Distrib. value LCu
Text Symbol: 021 = Distrib. value TCu
Text Symbol: 020 = Year
Text Symbol: 019 = Period sum
Text Symbol: 018 = Period sum
Text Symbol: 017 = Year value LCu
Text Symbol: 016 = Year value TCu
Text Symbol: 015 = TCu
Text Symbol: 014 = Act.
Text Symbol: 013 = VT
Text Symbol: 010 = Commitment item
Text Symbol: 009 = Funds center
Text Symbol: 008 = to
Text Symbol: 007 = Fiscal year
Text Symbol: 004 = Functional area
Text Symbol: 003 = Fund
Text Symbol: 002 = Version
Text Symbol: 001 = FM area


INCLUDES used within this REPORT RFFMBUM2

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 = 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 = s_fmarea-low ip_fincode = s_fund-low.

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

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = l_t_all_fmareas-fikrs i_actvt = fmau_display * I_ACTVT_A = * I_MSGTY = IMPORTING e_flg_auth = l_flg_auth * E_FLG_AUTH_A = .

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.

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 customer_invalid = 1 input_error = 2 master_data_not_found = 3 finuse_not_defined = 4 OTHERS = 5.

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 fm_area_not_found = 1 OTHERS = 2.

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

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.

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.

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 input_error = 1 data_not_found = 2 OTHERS = 3.

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_funcareas.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = gc_save CHANGING cs_variant = gs_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 = gs_variant i_save = gc_save IMPORTING e_exit = lv_exit es_variant = gs_variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

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

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING 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_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_formname_alv_status i_callback_user_command = gc_formname_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = gc_save is_variant = gs_variant it_events = gt_events IMPORTING es_exit_caused_by_user = gs_exit_caused_by_user TABLES t_outtab = it_output EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_list_top_of_page.



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