SAP Reports / Programs

RFFMKBHA SAP ABAP Report -







RFFMKBHA 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 RFFMKBHA 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

/ISDFPS/RFFMKBHA - Commitment Item: Expenditure View


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 RFFMKBHA. "Basic submit
SUBMIT RFFMKBHA AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMKBHA 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_PGJAHR = Fiscal Year
Selection Text: S_PERIO = Period
Text Symbol: 001 = Hdr data
Text Symbol: 003 = Fiscal Year
Text Symbol: 110 = Original budg.
Text Symbol: 200 = Overview
Text Symbol: 210 = Current Budget
Text Symbol: 224 = Released
Text Symbol: 230 = Released
Text Symbol: 320 = Funds Reservation
Text Symbol: 340 = Funds commt
Text Symbol: 350 = Funds Transfer
Text Symbol: 370 = PurchOrder
Text Symbol: 500 = Total
Text Symbol: 610 = Commitment Budget


INCLUDES used within this REPORT RFFMKBHA

INCLUDE IFMKDEFDATA.
INCLUDE IHHPLDYH.
INCLUDE FMKF_CONST.
INCLUDE CLASS_UEBERSICHT.
INCLUDE IFMRKBUD.
INCLUDE IFMRKOBI.
INCLUDE LKBPPEQU.


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:

FMRP_UT_GET_SELECTIONS * CALL FUNCTION 'FMRP_UT_GET_SELECTIONS' * EXPORTING * i_report_name = 'RFFMKBHA' * i_add_list = 'X'.

FM23_GET_BUDGET_HORIZON CALL FUNCTION 'FM23_GET_BUDGET_HORIZON' EXPORTING i_fmarea = s_fikrs-low IMPORTING e_max_csh_eff = g_gnjhr_max.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = text-730 txt1 = text-740 txt2 = l_field2.

FMKO_READ_ITEMS CALL FUNCTION 'FMKO_READ_ITEMS' EXPORTING repid = g_repid ref_struct = con_struct cfield = l_field gjahr = p_gjahr gnjhr = g_gjahr_vb TABLES t_r_fipex = l_r_fipex t_r_fictr = s_fictr.

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = l_t_restriction.

FMKBO_SET_TITLE * CALL FUNCTION 'FMKBO_SET_TITLE' * EXPORTING * repid = sy-repid * variant = sy-slset * IMPORTING * title1 = l_title1 * title2 = l_title2 * title3 = l_title3 * title4 = l_title4 * EXCEPTIONS * no_variant = 1 * OTHERS = 2.

FMKBO_SET_SELECTIONS CALL FUNCTION 'FMKBO_SET_SELECTIONS' EXPORTING ref_struct = con_struct gjahr = p_gjahr TABLES s_vo_by = s_vo_by s_sv_by = s_sv_by s_wr_by = s_wr_by s_gj_by = s_gj_by s_gn_by = s_gn_by s_wr_to = s_wr_to s_ba_to = s_ba_to s_vo_to = s_vo_to s_gn_to = s_gn_to.

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_kom_active = g_flg_komm.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = g_repid TABLES selection_table = seltab.

FMRP_UT_GET_SELECTIONS CALL FUNCTION 'FMRP_UT_GET_SELECTIONS' EXPORTING i_report_name = g_repid i_dialog = 'X'.

FMRP_AUTHORITY_LIST_ITEMS CALL FUNCTION 'FMRP_AUTHORITY_LIST_ITEMS'.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = s_fikrs-low i_posit = g_t_fmref-posit IMPORTING e_fipex = g_t_fmref-fipex EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = s_fikrs-low i_posit = g_t_fmref-p_posit IMPORTING e_fipex = g_t_fmref-p_fipex EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p_c_date foreign_amount = g_t_fmref-wtjhr foreign_currency = g_waers local_currency = p_c_curr type_of_rate = p_c_type IMPORTING local_amount = g_t_fmref-wtjhr.

FM_HH_FICTR_DETERMINE CALL FUNCTION 'FM_HH_FICTR_DETERMINE' EXPORTING ip_fikrs = s_fikrs-low ip_gjahr = p_gjahr IMPORTING op_hh_fictr = s_fictr-low EXCEPTIONS not_found = 1 OTHERS = 2.

FM_FIPOS_GET_FROM_FIPEX CALL FUNCTION 'FM_FIPOS_GET_FROM_FIPEX' EXPORTING i_fipex = s_fipex-low IMPORTING e_fipos = l_sav_fipos EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

FM4C_READ_HIERARCHY





CALL FUNCTION 'FM4C_READ_HIERARCHY' EXPORTING i_fikrs = s_fikrs-low i_fipos = l_sav_fipos i_gjahr = p_gjahr EXCEPTIONS fikrs_not_found = 01 fipos_not_found = 02 fistl_not_found = 03.

FM4C_GET_INTERNAL_DATA CALL FUNCTION 'FM4C_GET_INTERNAL_DATA' TABLES t_fmbu = l_t_fmbu.

FMRKF_KEYFIGURES_GET CALL FUNCTION 'FMRKF_KEYFIGURES_GET' EXPORTING i_f_data = u_f_data i_datatype = u_tabname IMPORTING e_t_keyfigs = l_t_keyfigs.

FMRKF_KEYFIGURES_GET CALL FUNCTION 'FMRKF_KEYFIGURES_GET' EXPORTING i_f_data = u_f_data i_datatype = u_tabname IMPORTING e_t_keyfigs = l_t_keyfigs.

FMRKF_KEYFIGURES_GET CALL FUNCTION 'FMRKF_KEYFIGURES_GET' EXPORTING i_f_data = u_f_data i_datatype = u_tabname IMPORTING e_t_keyfigs = l_t_keyfigs.

FMRP_UT_GET_SELLINE CALL FUNCTION 'FMRP_UT_GET_SELLINE' EXPORTING i_report_name = g_repid TABLES sel_field = l_t_sel_field e_t_listheader = l_t_selopt.

FMRP_UT_GET_SELECTIONS CALL FUNCTION 'FMRP_UT_GET_SELECTIONS' EXPORTING i_report_name = g_repid i_dialog = 'X'.

FMRP_AUTHORITY_LIST_ITEMS CALL FUNCTION 'FMRP_AUTHORITY_LIST_ITEMS'.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = popup_title TABLES fields = fields.

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.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = 'RFFMKBHA' TABLES selection_table = seltab.

FM_COM_ITEM_FIKRS_DISPLAY CALL FUNCTION 'FM_COM_ITEM_FIKRS_DISPLAY' EXPORTING i_fikrs = s_fikrs-low i_gjahr = p_pgjahr i_fipex = g_t_pos_fip-fipex EXCEPTIONS input_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RFFMKBHA' i_callback_top_of_page = 'TOP_OF_PAGE' i_background_id = g_background_id it_fieldcat = g_t_fieldcat TABLES t_outtab = gt_detail EXCEPTIONS program_error = 1 OTHERS = 2.

FMRP_UT_GET_SELLINE CALL FUNCTION 'FMRP_UT_GET_SELLINE' EXPORTING i_report_name = 'RFFMKBHA' 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.



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