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

RFFMFS02 SAP ABAP Report - Index of Funds Centers







RFFMFS02 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 Funds Centers This program generates an alphanumerically sorted list of the funds centers you selected...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 RFFMFS02 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

FM2M - Index of Funds Centers


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 RFFMFS02. "Basic submit
SUBMIT RFFMFS02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMFS02 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: WAERS = D .
Selection Text: P_KDATE = D .
Selection Text: P_DISVAR = D .
Selection Text: ORT = D .
Selection Text: LAND1 = D .
Selection Text: FINCODE = D .
Selection Text: FIKRS = D .
Selection Text: FICTR = D .
Selection Text: ERFNAME = D .
Selection Text: ERFDAT = D .
Selection Text: BOSS = D .
Selection Text: AUGRP = D .
Selection Text: AENNAME = D .
Selection Text: AENDAT = D .
Title: Index of Funds Centers
Text Symbol: 100 = Layout
Text Symbol: 014 = Active
Text Symbol: 013 = Localization Fields
Text Symbol: 012 = Classification
Text Symbol: 011 = Selection parameters
Text Symbol: 010 = Report object
Text Symbol: 005 = Page:


INCLUDES used within this REPORT RFFMFS02

INCLUDE: RKASMAWF.


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:

FMKL_OBJECTS_SEARCH_IN_CLASS CALL FUNCTION 'FMKL_OBJECTS_SEARCH_IN_CLASS' EXPORTING ip_init = 'X' ip_search_fmfctr = 'X'.

FMKL_GET_TABLES CALL FUNCTION 'FMKL_GET_TABLES' EXPORTING i_all_fikrs = 'X' TABLES t_fmfctr = g_t_fmfctr.

FICTR_READ_WITH_OPTIONS CALL FUNCTION 'FICTR_READ_WITH_OPTIONS' EXPORTING i_kdate = p_kdate TABLES t_fikrs = fikrs t_fictr = g_r_fictr t_erfdat = erfdat t_erfname = erfname t_aendat = aendat t_aenname = aenname t_bossid = boss t_waers = waers t_ort = ort t_land1 = land1 t_fincode = fincode t_augrp = augrp t_fictr_tab = g_t_item.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = g_t_item-fikrs i_actvt = '03' "Display i_msgty = space IMPORTING e_flg_auth = l_flg_auth.

FM_AUTH_CHECK_GRP_FUNDS_CENTER CALL FUNCTION 'FM_AUTH_CHECK_GRP_FUNDS_CENTER' EXPORTING i_fikrs = g_t_item-fikrs i_fictr = g_t_item-fictr i_authgrp_fictr = g_t_item-augrp i_actvt = '03' i_msgty = space IMPORTING e_flg_auth = l_flg_auth.

FM_SUBSTRING_GET_DESCRIPTION CALL FUNCTION 'FM_SUBSTRING_GET_DESCRIPTION' EXPORTING i_masdatid = '2' " Fund Center i_strid = g_t_item-str_id i_sub1 = g_t_item-fcsub1 i_sub2 = g_t_item-fcsub2 i_sub3 = g_t_item-fcsub3 IMPORTING e_desc1_sh = g_t_item-fcsub1t_sh e_desc1_lo = g_t_item-fcsub1t_lo e_desc2_sh = g_t_item-fcsub2t_sh e_desc2_lo = g_t_item-fcsub2t_lo e_desc3_sh = g_t_item-fcsub3t_sh e_desc3_lo = g_t_item-fcsub3t_lo.

FM_SUBSTRING_FIELDCAT_CORRECT CALL FUNCTION 'FM_SUBSTRING_FIELDCAT_CORRECT' EXPORTING i_masdatid = '2' " Fund Center TABLES it_fieldcat = g_t_fieldcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * i_interface_check = 'X' i_callback_program = 'RFFMFS02' 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_ITEM' 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_item EXCEPTIONS program_error = 1 OTHERS = 2.

FM_GET_YEAR_FROM_DATE CALL FUNCTION 'FM_GET_YEAR_FROM_DATE' EXPORTING i_farea = l_fikrs i_date = p_kdate IMPORTING e_year = g_sav_gjahr EXCEPTIONS applc_not_supported = 1 OTHERS = 2.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'FMFCTR_EXT' TABLES dfies_tab = l_t_dfies EXCEPTIONS not_found = 1 OTHERS = 2.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'IFMFICTR' 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.

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.

FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = con_repid i_tcode = con_tcode i_wfitem = wf_witem i_wflist = wf_wlist IMPORTING e_f_schedman_key = g_f_schedman_key.

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key i_wfitem = wf_witem i_wfokey = wf_okey i_aplstat = g_aplstat i_cnt_obj = l_f_lines.

FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING kind = 'F' expressions = pfs_dyns-texpr IMPORTING selection_id = l_selection_id where_clauses = pfs_dyns-clauses expressions = pfs_dyns-texpr field_ranges = pfs_dyns-trange number_of_active_fields = pfs_num TABLES tables_tab = lt_tables_tab fields_tab = lt_fields fields_not_selected = lt_fields_not EXCEPTIONS fields_incomplete = 1 fields_no_join = 2 field_not_found = 3 no_tables = 4 table_not_found = 5 expression_not_supported = 6 incorrect_expression = 7 illegal_kind = 8 area_not_found = 9 inconsistent_area = 10 kind_f_no_fields_left = 11 kind_f_no_fields = 12 too_many_fields = 13 dup_field = 14 field_no_type = 15 field_ill_type = 16 dup_event_field = 17 node_not_in_ldb = 18 area_no_field = 19 OTHERS = 20.

FREE_SELECTIONS_DIALOG





CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING selection_id = l_selection_id title = l_title frame_text = l_title tree_visible = ' ' IMPORTING where_clauses = pfs_dyns-clauses expressions = pfs_dyns-texpr field_ranges = pfs_dyns-trange number_of_active_fields = pfs_num TABLES fields_tab = lt_fields fields_not_selected = lt_fields_not EXCEPTIONS internal_error = 1 selid_not_found = 2 illegal_status = 3 OTHERS = 0.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'FMFCTR_EXT' TABLES dfies_tab = l_t_dfies EXCEPTIONS not_found = 1 OTHERS = 2.



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