SAP Reports / Programs | Public Sector Management | Funds Management | Budgeting and Availability Control(PSM-FM-BU) SAP PSM

RFFMBE35 SAP ABAP Report - Export financial result for local authorities batch input







RFFMBE35 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFFMBE35 saves the financial results of an FM area/fiscal year to an external file (either PC or UNIX file) for German Government customers of component Funds Management Government...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 RFFMBE35 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

FMBUD007 - Export of Financial Results


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 RFFMBE35. "Basic submit
SUBMIT RFFMBE35 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMBE35 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_FIKRS = D Financial Management Area
Selection Text: P_GJAHR = D Fiscal year
Selection Text: P_GNJHR = D
Selection Text: P_HHFLG = Planned budget values
Selection Text: P_PCFILE = File name
Selection Text: P_PCPATH = PC path
Selection Text: P_PROT = D Detailed log
Selection Text: P_SNFLG = Collective exp. planned values
Selection Text: P_UXFILE = File name
Selection Text: P_UXPATH = UNIX path
Selection Text: P_VARIA = D Layout
Selection Text: ST_FUNDS = D Fund
Title: Export financial result for local authorities batch input
Text Symbol: 305 = Status
Text Symbol: 300 = Layout
Text Symbol: 243 = No. of records not exported:
Text Symbol: 242 = No. of records exported:
Text Symbol: 241 = No. of records read:
Text Symbol: 237 = VT
Text Symbol: 236 = FYr
Text Symbol: 235 = Budget subtype
Text Symbol: 234 = Trans.
Text Symbol: 233 = Exp
Text Symbol: 230 = Financial result
Text Symbol: 001 = Export financial results for batch input
Text Symbol: 002 = Control data
Text Symbol: 015 = Values for budget
Text Symbol: 016 = Collective expenditure values
Text Symbol: 022 = UNIX path
Text Symbol: 023 = File :
Text Symbol: 032 = Path
Text Symbol: 033 = File name
Text Symbol: 095 = Export financial results
Text Symbol: 096 = Do you really want to export
Text Symbol: 097 = the financial results?
Text Symbol: 100 = Errors:
Text Symbol: 101 = Authorization in UNIX file:
Text Symbol: 102 = In OPEN from UNIX file:





Text Symbol: 103 = In CLOSE from UNIX file:
Text Symbol: 104 = In WRITE from UNIX file:
Text Symbol: 221 = FM area:
Text Symbol: 222 = Version:
Text Symbol: 223 = Fiscal Year:
Text Symbol: 224 = Fund
Text Symbol: 225 = Funds center
Text Symbol: 226 = Commitment itm
Text Symbol: 229 = Curr


INCLUDES used within this REPORT RFFMBE35

INCLUDE LKBPPEQU.
INCLUDE LKBPPSTN.
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:

FM_BUD_CHECK_COMPONENT call function 'FM_BUD_CHECK_COMPONENT' "470 exporting i_kom_env = 'X' i_no_hierarchy_env = 'X' exceptions error_message = 1.

FM_GET_ACTIVE_DIMENSIONS call function 'FM_GET_ACTIVE_DIMENSIONS' "470 importing e_fund_active = g_fund_activ.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_logical_filename CHANGING physical_filename = g_uxpath EXCEPTIONS OTHERS = 1.

FMFK_FIKRS_READ call function 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = g_fikrs IMPORTING f_fm01 = gf_fm01.

FM00_CHECK_ISPS call function 'FM00_CHECK_ISPS' IMPORTING e_kom_activ = l_kom_activ.

FINCODE_READ call function 'FINCODE_READ' EXPORTING ip_fikrs = g_fikrs ip_fincode = gt_funds-low.

FM_AUTH_CHECK_FM_AREA call function 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = g_fikrs i_actvt = fmau_ac_ini i_msgty = 'E'.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-095 textline1 = text-096 textline2 = text-097 IMPORTING answer = l_answer.

FM_FIPEX_READ_MULTIPLE_DATA call function 'FM_FIPEX_READ_MULTIPLE_DATA' EXPORTING i_fikrs = g_fikrs i_gjahr = g_gjahr TABLES t_vfmpg = gt_vfmpg.

FM_FICTR_READ_MULTIPLE call function 'FM_FICTR_READ_MULTIPLE' EXPORTING i_fikrs = g_fikrs i_gjahr = g_gjahr TABLES t_fmfctr = gt_fmfctr.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_logical_filename CHANGING physical_filename = g_uxpath EXCEPTIONS OTHERS = 1.

AUTHORITY_CHECK_DATASET call function 'AUTHORITY_CHECK_DATASET' EXPORTING activity = 'WRITE' filename = g_uxpath EXCEPTIONS no_authority = 1 activity_unknown = 2 others = 3.

WS_DOWNLOAD





* call function 'WS_DOWNLOAD' "ALNK001454 * exporting "ALNK001454 * filename = g_pcpath "ALNK001454 * tables "ALNK001454 * data_tab = gt_imex "ALNK001454 * exceptions "ALNK001454 * file_open_error = 1 "ALNK001454 * file_write_error = 2 "ALNK001454 * invalid_filesize = 3 "ALNK001454 * invalid_table_width = 4 "ALNK001454 * invalid_type = 5 "ALNK001454 * no_batch = 6 "ALNK001454 * unknown_error = 7 "ALNK001454 * others = 8. "ALNK001454

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = lv_save 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 = lv_save 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 = lv_save CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = lv_save is_variant = gs_variant it_events = lt_events it_except_qinfo = g_t_except_qinfo TABLES t_outtab = it_fmlog[] EXCEPTIONS program_error = 1 OTHERS = 2.

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

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_list.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_RED_LIGHT' IMPORTING icon_text = g_error_icon_text.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_GREEN_LIGHT' IMPORTING icon_text = g_ok_icon_text.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_YELLOW_LIGHT' IMPORTING icon_text = g_warning_icon_text.



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