SAP Reports / Programs

RFFMBUM1 SAP ABAP Report - Display Inconsistency: Total Overall Vals/Annual Vals / Doc.Numbers







RFFMBUM1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program checks whether the total budget record for overall and/or annual values matches the sum of the corresponding line items...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 RFFMBUM1 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 RFFMBUM1. "Basic submit
SUBMIT RFFMBUM1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMBUM1 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: P_ITEMS = Totals without document lines
Selection Text: P_TOTAL = Overall values
Selection Text: P_VARIA = D Layout
Selection Text: R_TEST = Test run
Selection Text: R_UPDA = Update immediately
Selection Text: R_UP_LI = Update from list
Selection Text: S_FAREA = D Functional Area
Selection Text: S_FICTR = Funds center
Selection Text: S_FIPEX = Commitment item
Selection Text: S_FMA = FM area
Selection Text: S_FUND = Fund
Selection Text: S_VERS = Version
Selection Text: S_YR_FRO = From Fiscal Year
Selection Text: S_YR_TO = To
Title: Display Inconsistency: Total Overall Vals/Annual Vals / Doc.Numbers
Text Symbol: 033 = WTGEV
Text Symbol: 034 = WLGEV
Text Symbol: 035 = Item Total
Text Symbol: 036 = FYear
Text Symbol: 037 = WTJHR
Text Symbol: 038 = WLJHR
Text Symbol: 039 = WTJHV
Text Symbol: 040 = WLJHV
Text Symbol: 041 = Display only/Data blocked
Text Symbol: 042 = Display only/No update
Text Symbol: 043 = No documents found
Text Symbol: 044 = Funct. area:
Text Symbol: 045 = SUBVO:
Text Symbol: 046 = Annual Value
Text Symbol: 243 = Specified ALV variant not found
Text Symbol: 244 = Variant for Layout
Text Symbol: 032 = WLGES
Text Symbol: 001 = No version matches your entries
Text Symbol: 002 = No fund matches your entries
Text Symbol: 003 = No profile matches your entries
Text Symbol: 004 = No profile read
Text Symbol: 005 = No funds center matches your entries
Text Symbol: 006 = No entry in table bpge





Text Symbol: 007 = Fiscal year
Text Symbol: 008 = to
Text Symbol: 009 = Year-dependency not checked
Text Symbol: 010 = No entries in table BPEG
Text Symbol: 011 = No entries in table BPJA
Text Symbol: 012 = No entries in table BPGE
Text Symbol: 013 = Annual and/or overall values?
Text Symbol: 014 = Overall values for selected budget data being read. Are the document lines correct?
Text Symbol: 015 = Update overall vudget values
Text Symbol: 016 = No access authorization
Text Symbol: 017 = TOTAL
Text Symbol: 018 = No data matches your entries
Text Symbol: 019 = Problem generating object hierarchy
Text Symbol: 020 = Problem in enqueue processing
Text Symbol: 021 = FM area:
Text Symbol: 022 = Fund:
Text Symbol: 023 = Version:
Text Symbol: 024 = OBJNR:
Text Symbol: 025 = POSIT:
Text Symbol: 026 = VORGA:
Text Symbol: 027 = TRGKZ:
Text Symbol: 028 = WRTTP:
Text Symbol: 029 = TWAER:
Text Symbol: 030 = Doc.no
Text Symbol: 031 = WTGES


INCLUDES used within this REPORT RFFMBUM1

INCLUDE LKBPPSTN.
INCLUDE LKBPPEQU.
INCLUDE LFMAUEQU.


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_fma-low.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = u_fikrs i_actvt = u_act IMPORTING e_flg_auth = c_flg_fma_auth.

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

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = t_fma-low ip_fincode = t_fund-low.

FIKRS_READ_WITH_OPTIONS





CALL FUNCTION 'FIKRS_READ_WITH_OPTIONS' TABLES t_fikrs = t_fma t_fm01 = t_fmarea.

FM_FINCODE_READ_ALL CALL FUNCTION 'FM_FINCODE_READ_ALL' EXPORTING i_fikrs = u_fma TABLES t_fincode = t_fund t_fmfincode = l_t_fund EXCEPTIONS OTHERS = 1.

FM_FIKRS_READ_AUGRP CALL FUNCTION 'FM_FIKRS_READ_AUGRP' EXPORTING i_fikrs = u_fma IMPORTING e_augrp = l_augrp EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

FM_AUTH_CHECK_GRP_FUND CALL FUNCTION 'FM_AUTH_CHECK_GRP_FUND' EXPORTING i_fikrs = u_fma i_authgrp_fonds = l_augrp i_fonds = u_fund "ALNK016123 i_actvt = u_act i_flg_fonds_space = 'X' i_msgty = 'I' "KI4K051393 IMPORTING e_flg_auth = c_flg_fund_auth.

FM5B_GET_PROFILE CALL FUNCTION 'FM5B_GET_PROFILE' EXPORTING i_fikrs = u_fma i_fincode = u_fincode IMPORTING e_profil = l_profil EXCEPTIONS fm_area_not_found = 1 OTHERS = 2.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING applik = l_funds profil = l_profil IMPORTING ex_bp1c = c_f_tbp1c EXCEPTIONS not_found = 1 OTHERS = 2.

FM_FIKRS_CHECK_MD_YEAR_DEPEND CALL FUNCTION 'FM_FIKRS_CHECK_MD_YEAR_DEPEND' EXPORTING i_fikrs = u_fma IMPORTING e_flg_year_master_data = c_flg_year_dep EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING geber = u_fincode versn = u_versn farea_all = 'X' "KI4K050354 init = 'X' objnr = u_ctr_objnr posit_all = 'X' trgkz = l_node read_bpja = ' ' read_bpge = 'X' read_bppe = ' ' read_bptr = ' ' read_bptx = ' ' read_bpij = ' ' read_bpig = ' ' read_bpdk = ' ' read_mode_opt = ' ' read_mode = '1' TABLES bp_eg = t_bpeg bp_ge = t_bpge EXCEPTIONS OTHERS = 1.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING geber = u_fincode versn = u_versn farea_all = 'X' "KI4K050354 init = 'X' posit_all = 'X' trgkz = l_node read_bpja = ' ' read_bpge = 'X' read_bppe = ' ' read_bptr = ' ' read_bptx = ' ' read_bpij = ' ' read_bpig = ' ' read_bpdk = ' ' read_mode_opt = ' ' read_mode = '1' TABLES bp_eg = t_bpeg bp_ge = t_bpge tab_objnr = t_objnr EXCEPTIONS OTHERS = 1.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = u_fma i_posit = u_posit IMPORTING e_fipex = c_fipex EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING geber = u_fincode init = 'X' objnr = u_ctr_objnr posit_all = 'X' trgkz = l_node versn = u_versn farea_all = 'X' "KI4K050354 year_end = u_yr_to year_start = u_yr_fro read_bpja = 'X' read_bpge = ' ' read_bppe = ' ' read_bptr = ' ' read_bptx = ' ' read_bpij = ' ' read_bpig = ' ' read_bpdk = ' ' read_mode_opt = ' ' read_mode = '1' TABLES bp_ej = t_bpej bp_ja = t_bpja EXCEPTIONS OTHERS = 1.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING geber = u_fincode init = 'X' posit_all = 'X' trgkz = l_node versn = u_versn farea_all = 'X' "KI4K050354 year_end = u_yr_to year_start = u_yr_fro read_bpja = 'X' read_bpge = ' ' read_bppe = ' ' read_bptr = ' ' read_bptx = ' ' read_bpij = ' ' read_bpig = ' ' read_bpdk = ' ' read_mode_opt = ' ' read_mode = '1' TABLES bp_ej = t_bpej bp_ja = t_bpja tab_objnr = t_objnr EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-015 text_question = text-014 text_button_1 = 'Yes' icon_button_1 = 'ICON_OKAY' text_button_2 = 'No' display_cancel_button = ' ' IMPORTING answer = l_answer.

KBPS_OBJHI_NAME_GENERATE CALL FUNCTION 'KBPS_OBJHI_NAME_GENERATE' EXPORTING i_application = l_funds i_fm_area = u_fma IMPORTING e_objhi = l_objhi EXCEPTIONS OTHERS = 1.

KBPS_ENQUEUE CALL FUNCTION 'KBPS_ENQUEUE' EXPORTING i_global_objhi = l_objhi i_global_wrttp = 'X' "all values types locked i_global_geber = u_fund i_global_versn = u_vers i_global_farea = t_farea-func_area_long "KI4K050354 i_global_enqueue = on i_enq_mode = 'E' i_wait = on i_applik = l_funds EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

KBPS_OBJHI_NAME_GENERATE CALL FUNCTION 'KBPS_OBJHI_NAME_GENERATE' EXPORTING i_application = l_funds i_fm_area = u_fma IMPORTING e_objhi = l_objhi EXCEPTIONS OTHERS = 1.

KBPS_DEQUEUE CALL FUNCTION 'KBPS_DEQUEUE' EXPORTING i_global_objhi = l_objhi i_global_wrttp = 'X' i_global_geber = u_fund i_global_versn = u_vers i_global_farea = t_farea-func_area_long "KI4K050354 i_global_dequeue = 'X' i_deq_mode = 'E'.

KBPV_POST_DATA CALL FUNCTION 'KBPV_POST_DATA' EXPORTING delta_update = off im_bpin = dummy_bpin TABLES tab_bpge = t_bpge tab_bpja = t_bpja.

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 = t_funcareas.




REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_user_command = SLIS_EV_USER_COMMAND I_CALLBACK_PF_STATUS_SET = SLIS_EV_PF_STATUS_SET is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_eventtab i_save = gc_value_x is_variant = gs_variant it_sort = lt_sort_acc TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

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

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header.

REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = gc_value_x 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 = gc_value_x IMPORTING e_exit = lv_exit es_variant = ls_variant EXCEPTIONS not_found = 1 program_error = 2 others = 3.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = gc_value_x CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 others = 4.



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