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

RFFMBUD2 SAP ABAP Report - Deleting Budget Data of a Commitment Item







RFFMBUD2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Deleting Budget Data of a Commitment Item The RFFMBUD2 program deletes the budge data of a commitment item...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 RFFMBUD2 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

FM9X - FM: Delete Budget 1 Commitment Item


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 RFFMBUD2. "Basic submit
SUBMIT RFFMBUD2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMBUD2 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: S_TOTAL = All Years
Selection Text: S_TEST = Test run
Selection Text: S_GJAHR = Fiscal year
Selection Text: S_FIPEX = Commitment Item
Selection Text: S_FIKRS = FM area
Selection Text: P_VARIA = Layout
Title: Deleting Budget Data of a Commitment Item
Text Symbol: 144 = Layout Was Not Found
Text Symbol: 143 = Display of Layout
Text Symbol: 142 = Delete Data
Text Symbol: 141 = Read Data
Text Symbol: 140 = Table
Text Symbol: 106 = Delete budget data
Text Symbol: 105 = Exit
Text Symbol: 104 = Delete
Text Symbol: 103 = delete or exit
Text Symbol: 102 = Choose between
Text Symbol: 101 = Budget data being deleted
Text Symbol: 050 = Commitment item is a node
Text Symbol: 041 = Concrete fiscal year only without "all years" flag
Text Symbol: 040 = All years (initial) require "all years" flag
Text Symbol: 022 = Reconstr. Distrbtd required
Text Symbol: 021 = Only found in budget version <> 0
Text Symbol: 020 = Deletion executed. Budget data
Text Symbol: 013 = New interface 'FM_BUD_GET_FIPEX_DEL_ALLOWED'.
Text Symbol: 012 = Deletion not permitted. Data in budget version "0"
Text Symbol: 002 = Test
Text Symbol: 001 = Period


INCLUDES used within this REPORT RFFMBUD2

INCLUDE: LKBPPEQU, "KONSTANTEN DER BUDGETIERUNG - ALLGEMEIN


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 EXCEPTIONS ERROR_MESSAGE = 1.

FM_FIKRS_CHECK_MD_YEAR_DEPEND CALL FUNCTION 'FM_FIKRS_CHECK_MD_YEAR_DEPEND' EXPORTING I_FIKRS = S_FIKRS IMPORTING E_FLG_YEAR_POS = G_FLG_YEAR_POS.

FM_FIPEX_CHECK_USED CALL FUNCTION 'FM_FIPEX_CHECK_USED' EXPORTING I_FIKRS = S_FIKRS I_FIPEX = S_FIPEX TABLES T_YEAR = G_T_YEAR.

FM_FIPEX_READ_SINGLE_DATA CALL FUNCTION 'FM_FIPEX_READ_SINGLE_DATA' EXPORTING I_FIKRS = S_FIKRS I_GJAHR = G_T_YEAR-GJAHR I_FIPEX = S_FIPEX I_FLG_HIERARCHY = ON IMPORTING E_F_FMHIPG = G_F_FMHIPG.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING I_FIKRS = S_FIKRS I_ACTVT = FMAU_AC_INI I_MSGTY = 'E'.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING TEXTLINE1 = TEXT-101 "/Budgetdaten werden gelscht.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING IP_FIKRS = S_FIKRS IMPORTING F_FM01 = G_F_FM01.

KBPS_ENQUEUE CALL FUNCTION 'KBPS_ENQUEUE' EXPORTING I_GLOBAL_OBJHI = G_F_FM01-OBJNR I_GLOBAL_ALL_GEBER = 'X' I_GLOBAL_VERSN = ' ' "KI4K049082 - alle Versionen i_global_all_farea = 'X' "KI4K046830 I_GLOBAL_ENQUEUE = 'X' I_ENQ_MODE = 'E'.

FM_BUD_GET_FIPEX_DEL_ALLOWED CALL FUNCTION 'FM_BUD_GET_FIPEX_DEL_ALLOWED' EXPORTING I_FIKRS = S_FIKRS I_FIPEX = S_FIPEX I_GJAHR = S_GJAHR IMPORTING E_SUBRC = G_SUBRC.

KBPD_DELETE_DATA_FIPEX CALL FUNCTION 'KBPD_DELETE_DATA_FIPEX' EXPORTING I_FLG_DELETE_MODE = G_FLG_DELETE_MODE I_FLG_NO_COMMIT = G_FLG_NO_COMMIT I_GJAHR = S_GJAHR I_FIKRS = S_FIKRS I_FIPEX = S_FIPEX TABLES T_PROT_E = G_T_PROT.

KBPS_DEQUEUE CALL FUNCTION 'KBPS_DEQUEUE' EXPORTING I_GLOBAL_OBJHI = G_F_FM01-OBJNR I_GLOBAL_ALL_GEBER = 'X' I_GLOBAL_VERSN = ' ' "KI4K049082 - alle Versionen I_GLOBAL_DEQUEUE = 'X' i_global_all_farea = 'X' "KI4K046830 I_DEQ_MODE = 'E'.

REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' exporting i_save = gc_value_x 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 = gc_value_x 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 = gc_value_x 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 = iv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_value_x is_variant = is_variant tables t_outtab = gt_prot exceptions program_error = 1 others = 2.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = gc_struc changing ct_fieldcat = xt_fieldcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.



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