SAP Reports / Programs | Public Sector Management | Funds Management | Information system(PSM-FM-IS) SAP PSM

RFFMFBAO SAP ABAP Report - Request Journal







RFFMFBAO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Selecting Requests You can use this report to display a selection of request documents...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 RFFMFBAO 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

FMAO - Requests Journal


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 RFFMFBAO. "Basic submit
SUBMIT RFFMFBAO AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMFBAO 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_DISVAR = D .
Selection Text: S_XPRFG = Document Complete
Selection Text: S_XFRGE = Release carried out
Selection Text: S_PSOTY = Request Category
Selection Text: S_LOTKZ = Request Number
Selection Text: S_LIFNR = Vendor
Selection Text: S_KUNNR = Customer
Selection Text: S_HKONT = G/L Account
Selection Text: S_GJAHR = Fiscal Year
Selection Text: S_FONDS = Fund
Selection Text: S_FISTL = Funds Center
Selection Text: S_FIPEX = Commitment Item
Selection Text: S_BUDAT = Posting Date
Selection Text: S_BSTAT = Document Status
Selection Text: S_BELNR = Document Number
Selection Text: S_ANLN1 = Asset Number
Selection Text: P_XREF1 = Revenue Type
Selection Text: P_FIKRS = FM area
Selection Text: P_DAUER = Standing Requests
Selection Text: P_CPD = Display of CPD Additional Data
Selection Text: P_BUKRS = Company Code
Selection Text: P_BLART = Document Type
Selection Text: P_ANOR3 = Posted Requests Cleared
Selection Text: P_ANOR2 = Posted Requests not Cleared
Selection Text: P_ANOR1 = Parked Requests
Title: Request Journal
Text Symbol: 220 = Dynamic Selections
Text Symbol: 200 = Layout
Text Symbol: 100 = RequestNo
Text Symbol: 099 = Dynamic Selections
Text Symbol: 015 = Addit. Data
Text Symbol: 014 = Status of Request
Text Symbol: 011 = Master Data
Text Symbol: 010 = Document
Text Symbol: 002 = Activ
Text Symbol: 001 = Dynamic Selections


INCLUDES used within this REPORT RFFMFBAO

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:

FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING kind = 'T' expressions = l_tab_expr field_groups_key = l_hlp_fgkey IMPORTING selection_id = l_selid where_clauses = l_tab_where expressions = l_tab_expr field_ranges = l_tab_range TABLES tables_tab = l_tab_tables fields_tab = l_tab_fields tabfields_not_display = l_t_tabfields_not_display events = l_t_events event_fields = l_t_event_fields.

FREE_SELECTIONS_DIALOG CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING selection_id = l_selid title = text-220 status = 1 IMPORTING where_clauses = l_tab_where expressions = l_tab_expr field_ranges = l_tab_range number_of_active_fields = l_cnt_fields TABLES fields_tab = l_tab_fields EXCEPTIONS no_action = 1 internal_error = 2 selid_not_found = 3 illegal_status = 4 OTHERS = 5.

FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = p_bukrs IMPORTING e_fikrs = p_fikrs EXCEPTIONS no_fikrs_for_bukrs = 0 OTHERS = 0.

FI_PSO_LIST_DISPLAY CALL FUNCTION 'FI_PSO_LIST_DISPLAY' EXPORTING i_activity = p_actvt is_variant = g_f_disvariant IMPORTING e_exit = l_exit e_back = l_back TABLES t_ifmepao = g_t_pso.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * i_interface_check = 'X' i_callback_program = 'RFFMFBAO' i_callback_pf_status_set = 'PF_STATUS_SET' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE' i_structure_name = 'G_T_PSO' i_background_id = g_background_id is_layout = g_f_layout is_variant = g_f_disvariant 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_pso EXCEPTIONS program_error = 0 OTHERS = 0.

FI_PSO_DISPLAY CALL FUNCTION 'FI_PSO_DISPLAY' EXPORTING i_lotkz = g_t_pso-lotkz i_compy = g_t_pso-bukrs i_psotyp = g_t_pso-psoty i_recurring = p_dauer i_f_fikey = fipso_fikey EXCEPTIONS unknown_type = 0 cancelled = 0 exit_all = 0 data_missing = 0 OTHERS = 0.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'IFMEPAO' TABLES x031l_tab = l_t_nametab EXCEPTIONS not_found = 0 OTHERS = 0.

FM_ALV_LAYOUT CALL FUNCTION 'FM_ALV_LAYOUT' CHANGING c_f_layout = c_f_layout.

FI_PSO_PSO07_READ2 CALL FUNCTION 'FI_PSO_PSO07_READ2' EXPORTING i_bukrs = p_bukrs i_psoea = l_psoea i_gjahr = s_gjahr-low IMPORTING e_fipex = s_fipex-low.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = g_t_pso-fipos IMPORTING e_fipex = g_t_pso-fipex EXCEPTIONS input_error = 0 data_not_found = 0 OTHERS = 0.

FM_HH_FICTR_DETERMINE CALL FUNCTION 'FM_HH_FICTR_DETERMINE' EXPORTING ip_fikrs = g_t_pso-fikrs ip_gjahr = s_gjahr-low IMPORTING op_hh_fictr = l_sav_sfictr EXCEPTIONS not_found = 1.

FM_FMZUBSP_ASSIGN_READ_MULTIPL CALL FUNCTION 'FM_FMZUBSP_ASSIGN_READ_MULTIPL' EXPORTING i_fikrs = g_t_pso-fikrs i_varnt = '000' i_gjahr = g_t_pso-gjahr i_fictr = l_sav_sfictr TABLES r_fipex = l_r_fipex t_fmzubsp = l_t_fmzubsp EXCEPTIONS no_master_data = 0 OTHERS = 0.

FM_COM_ITEM_READ_SINGLE_DATA CALL FUNCTION 'FM_COM_ITEM_READ_SINGLE_DATA' EXPORTING i_fikrs = g_t_pso-fikrs i_gjahr = g_t_pso-gjahr i_fipex = g_t_pso-fipex i_flg_text = 'X' i_flg_hierarchy = ' ' IMPORTING e_f_fmcit = l_f_fmcit EXCEPTIONS master_data_not_found = 0 hierarchy_data_not_found = 0 input_error = 0 OTHERS = 0.

FM_FICTR_READ_SINGLE CALL FUNCTION 'FM_FICTR_READ_SINGLE' EXPORTING i_fikrs = g_t_pso-fikrs i_fictr = g_t_pso-fistl i_flag_text = 'X' i_flag_hier = ' ' i_language = sy-langu i_gjahr = g_t_pso-gjahr IMPORTING e_f_fmfctrt = l_f_fmfctrt EXCEPTIONS input_error = 0 master_data_not_found = 0 hierarchy_data_not_found = 0 OTHERS = 0.

FM_F4_FOR_COMMITMENT_ITEM CALL FUNCTION 'FM_F4_FOR_COMMITMENT_ITEM' EXPORTING i_fikrs = u_fikrs * I_FIPOS = ' ' i_fipex = l_fipex i_gjahr = u_gjahr * I_FLG_POST_ONLY = ' ' * I_MCID = ' ' IMPORTING * e_fipos = e_fipex = l_fipex.

FM_FIPOS_RANGE_GET_FROM_FIPEX CALL FUNCTION 'FM_FIPOS_RANGE_GET_FROM_FIPEX' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr TABLES t_r_fipos = g_r_fipos t_r_fipex = s_fipex.

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 = g_t_pso-fikrs i_gjahr = lt_gjahr_all-gjahr IMPORTING e_fmauth_konto = e_fmauth_konto e_auth_ok = l_ok.

FI_PERIOD_DETERMINE





CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = g_t_pso-dbatr i_bukrs = g_t_pso-bukrs IMPORTING e_gjahr = l_year_check EXCEPTIONS OTHERS = 1.

FMRP_AUTHORITY_CHECK CALL FUNCTION 'FMRP_AUTHORITY_CHECK' EXPORTING i_fmauth_konto = t_fmauth_konto i_fikrs = l_fikrs i_gjahr = lt_gjahr_all-gjahr IMPORTING e_fmauth_konto = e_fmauth_konto e_auth_ok = l_ok.

FI_PSO_PSO07_READ2 CALL FUNCTION 'FI_PSO_PSO07_READ2' EXPORTING i_bukrs = p_bukrs i_psoea = l_psoea i_gjahr = s_gjahr-low IMPORTING e_fipex = s_fipex-low.

FM_REPORT_TITLE_SET CALL FUNCTION 'FM_REPORT_TITLE_SET' IMPORTING e_title = l_sav_title.

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.

FI_COMPANY_CODE_CHECK CALL FUNCTION 'FI_COMPANY_CODE_CHECK' EXPORTING i_bukrs = p_bukrs EXCEPTIONS company_code = 1 OTHERS = 2.

FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = p_bukrs IMPORTING e_fikrs = p_fikrs EXCEPTIONS no_fikrs_for_bukrs = 0 OTHERS = 0.



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