SAP Reports / Programs

RFFMFK04 SAP ABAP Report - Account Determination for Requests







RFFMFK04 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Alphabetical List of G/L Account Assignment to Commitment Item for Requests This program generates an alphanumerically sorted list of assignments of G/L accounts to commitment items for each request category...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 RFFMFK04 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 RFFMFK04. "Basic submit
SUBMIT RFFMFK04 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMFK04 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_BUKRS = Company Code
Selection Text: P_FIKRS = FM Area
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_PSOTYP = Request Category
Selection Text: S_FICTR = Funds Center
Selection Text: S_FIPEX = Commitment Item
Selection Text: S_GEBER = Fund
Selection Text: S_SAKNR = G/L Account
Title: Account Determination for Requests
Text Symbol: 001 = G/L Accounts with Cmmt Item
Text Symbol: 002 = G/L Accounts without Cmmt Item
Text Symbol: 010 = G/L Acct
Text Symbol: 011 = Cmmt Item
Text Symbol: 020 = Accts
Text Symbol: 701 = |Commitment Item | Text |


INCLUDES used within this REPORT RFFMFK04

No INCLUDES are used within this REPORT code!


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:

FIPOS_INPUT_HELP CALL FUNCTION 'FIPOS_INPUT_HELP' EXPORTING ip_fipex = s_fipex-low IMPORTING op_fipex = s_fipex-low EXCEPTIONS no_select = 01.

FIPOS_INPUT_HELP CALL FUNCTION 'FIPOS_INPUT_HELP' EXPORTING ip_fipex = s_fipex-high IMPORTING op_fipex = s_fipex-high EXCEPTIONS no_select = 01.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING I_FIKRS = p_fikrs I_ACTVT = '03' I_MSGTY = 'E'.

FM_FUND_READ_MULTIPLE_DATA CALL FUNCTION 'FM_FUND_READ_MULTIPLE_DATA' EXPORTING I_FIKRS = p_fikrs I_GJAHR = p_gjahr TABLES R_FUNDS = s_geber E_T_FMFINCODE = g_t_fmfincode EXCEPTIONS MASTER_DATA_NOT_FOUND = 1 ERROR_OCCURRED = 2 OTHERS = 3.

FM_FICTR_READ_MULTIPLE CALL FUNCTION 'FM_FICTR_READ_MULTIPLE' EXPORTING I_FIKRS = p_fikrs I_GJAHR = p_gjahr TABLES R_FICTR = s_fictr T_FMFCTR = l_t_fmfctr EXCEPTIONS MASTER_DATA_NOT_FOUND = 2 HIERARCHY_DATA_NOT_FOUND = 3 OTHERS = 4.

FM_FIPEX_GET_FROM_FIPEX_RANGE CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPEX_RANGE' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr TABLES r_fipex = s_fipex t_fipex = g_t_fipex.

FI_FM_ACCOUNT_DETERMINE CALL FUNCTION 'FI_FM_ACCOUNT_DETERMINE' EXPORTING i_gjahr = p_gjahr i_bukrs = p_bukrs i_fipex = g_t_fipex-fipex i_geber = g_t_fmfincode-fincode i_fistl = l_t_fmfctr-fictr i_psoty = p_psotyp TABLES t_payac01 = l_t_payac01 EXCEPTIONS account_not_found = 1 account_free_assignable = 2 account_not_possible = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_interface_check = 'X' i_callback_program = 'RFFMFK04' i_callback_pf_status_set = 'PF_STATUS_SET' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'g_t_sitem' is_layout = g_f_layout it_fieldcat = g_t_fieldcat it_sort = g_t_sort is_sel_hide = g_t_sel_crit i_default = 'X' i_save = 'A' it_events = g_t_events TABLES t_outtab = g_t_sitem EXCEPTIONS program_error = 1 OTHERS = 2.

FM_COM_ITEM_FIKRS_DISPLAY CALL FUNCTION 'FM_COM_ITEM_FIKRS_DISPLAY' EXPORTING i_fikrs = g_t_sitem-fikrs i_varnt = g_t_sitem-varnt i_gjahr = g_t_sitem-gjahr i_fipex = g_t_sitem-fipex EXCEPTIONS input_error = 1 OTHERS = 2.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'IFMSAKFIPO' TABLES x031l_tab = l_t_nametab EXCEPTIONS not_found = 1 OTHERS = 2.

FM_ALV_LAYOUT CALL FUNCTION 'FM_ALV_LAYOUT' CHANGING c_f_layout = c_f_layout.

FMRP_AUTHORITY_ROLE CALL FUNCTION 'FMRP_AUTHORITY_ROLE' EXPORTING I_USNAME = sy-uname I_SELOBJECT = 'F_FICA_TRG' IMPORTING E_OLD = l_auth_o E_AUTH_ON = l_auth.

FMRP_AUTHORITY_CHECK CALL FUNCTION 'FMRP_AUTHORITY_CHECK' EXPORTING I_FMAUTH_KONTO = t_FMAUTH_KONTO I_FIKRS = p_fikrs I_GJAHR = p_gjahr IMPORTING E_FMAUTH_KONTO = e_FMAUTH_KONTO E_AUTH_OK = l_ok.



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