SAP Reports / Programs

RFFMBUE1 SAP ABAP Report - Export Original Budget for Batchinput







RFFMBUE1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In the component Funds Management Government , you use the program RFFMBUE1 to save a budget version's original budget for an FM area/fiscal year, to an external file...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 RFFMBUE1 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

FMBUD001 - Export ISPS Budget Data


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 RFFMBUE1. "Basic submit
SUBMIT RFFMBUE1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMBUE1 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: ST_FUNDS = Fund
Selection Text: ST_FAREA = Functional Area
Selection Text: P_VERSN = Version
Selection Text: P_UXPATH = UNIX path
Selection Text: P_UXFILE = File name
Selection Text: P_PROT = Detailed Log
Selection Text: P_PCPATH = PC path
Selection Text: P_PCFILE = File Name
Selection Text: P_PB = Payment Budget
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_FIKRS = FM Area
Selection Text: P_CB = Commitment Budget
Title: Export Original Budget for Batchinput
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: 236 = Budget Subtype
Text Symbol: 235 = BtST
Text Symbol: 234 = Functional Area
Text Symbol: 233 = Status
Text Symbol: 232 = Distbtl.value
Text Symbol: 231 = Distributed Value
Text Symbol: 230 = Original Budget
Text Symbol: 229 = Curr
Text Symbol: 001 = Export original budget data for Batch inpt
Text Symbol: 002 = Output Control
Text Symbol: 015 = Commitment Budget
Text Symbol: 016 = Payment Budget
Text Symbol: 022 = UNIX
Text Symbol: 023 = File:
Text Symbol: 024 = PC
Text Symbol: 032 = Path
Text Symbol: 033 = File Name
Text Symbol: 095 = Budget data export
Text Symbol: 096 = Do you really want to
Text Symbol: 097 = export the budget data?
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 = for WRITE to 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 Item
Text Symbol: 227 = V
Text Symbol: 228 = P


INCLUDES used within this REPORT RFFMBUE1

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' "#EC * " 470 EXPORTING i_standard_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 = p_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.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = uc_filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = gt_imex EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.

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

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'FIKRS' langu = sy-langu IMPORTING dd04v_wa = l_dd04v.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'GJAHR' langu = sy-langu IMPORTING dd04v_wa = l_dd04v.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'BP_VERSION' langu = sy-langu IMPORTING dd04v_wa = l_dd04v.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'X' CHANGING cs_variant = c_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 = g_variant i_save = 'X' IMPORTING es_variant = g_variant.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_top_of_page = 'TOP_OF_GRID' i_callback_html_top_of_page = 'HTML_TOP_OF_GRID' i_background_id = g_background_id is_layout = l_layout it_fieldcat = gt_fcat it_sort = gt_sort_info i_save = on is_variant = l_variant it_except_qinfo = g_t_except_qinfo i_html_height_top = '35' TABLES t_outtab = g_t_posting_lines EXCEPTIONS program_error = 1 OTHERS = 2.

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