RFFMDL50 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program to delete the line items in Cash Budget Management (table FMEP)...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 RFFMDL50 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: S_WRTTP = D Value type
Selection Text: S_BUKRS = D Company code
Selection Text: P_TEST = D Test run
Selection Text: P_PERIO1 = Line items to period
Selection Text: P_HISTRY = History data only
Selection Text: P_GJAHR2 = Totals to year
Selection Text: P_GJAHR1 = Line items to year
Selection Text: P_FIKRS = D FM area
Title: Program for Deleting Funds Line Items
Text Symbol: 001 = FM area
Text Symbol: 002 = Line items to
Text Symbol: 003 = Totals records to
Text Symbol: 101 = Deleting Actual Data
Text Symbol: 102 = Choose whether you want to
Text Symbol: 103 = delete or exit
Text Symbol: 104 = Delete
Text Symbol: 105 = Exit
Text Symbol: 106 = Delete actual data
Text Symbol: 204 = Update run
Text Symbol: 205 = Test run
Text Symbol: 206 = Number of line items deleted
Text Symbol: 207 = Number of totals records deleted
INCLUDE: IFIFMCON_VALUE_TYPES.
No SAP DATABASE tables are accessed within this REPORT code!
FM_WRTTP_F4_HELP_CB CALL FUNCTION 'FM_WRTTP_F4_HELP_CB' EXPORTING I_ACTUALS = 'X' I_BUDGET = ' ' IMPORTING SELECTED_VALUE = S_WRTTP-LOW.
BUKRS_GET_FROM_FIKRS CALL FUNCTION 'BUKRS_GET_FROM_FIKRS' EXPORTING IP_FIKRS = P_FIKRS TABLES T_T001 = L_T_T001.
FM_GET_INIT_INFO_APPLC CALL FUNCTION 'FM_GET_INIT_INFO_APPLC' EXPORTING I_BUKRS = L_T_T001-BUKRS I_APPLC = 'C' CHANGING C_F_FMGLOB = G_F_GLOB.
KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = L_T_T001-WAERS PERIV = G_F_GLOB-PERIV NEW_LEDGER = 'X' IMPORTING LEDGER = L_T_LEDGER-LEDNR TABLES BP_CUR = L_T_BPCU.
FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING I_FIKRS = G_F_GLOB-FIKRS I_ACTVT = '46' I_MSGTY = 'E'.
POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING TEXTLINE1 = 'Actual data being deleted'(101) TEXTLINE2 = 'Choose whether you want to'(102) TEXTLINE3 = 'delete or exit'(103) TEXT_OPTION1 = 'Delete'(104) TEXT_OPTION2 = 'Exit'(105) TITEL = 'Delete actual data'(106) IMPORTING ANSWER = L_ANSWER.
FIRST_AND_LAST_DAY_IN_YEAR_GET * CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' "note114628 * EXPORTING * I_GJAHR = L_GJAHR * I_PERIV = G_F_GLOB-PERIV * IMPORTING * E_LAST_DAY = G_MAX_DATE.
DATE_TO_PERIOD_CONVERT * CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' * EXPORTING * I_DATE = G_MAX_DATE * I_PERIV = G_F_GLOB-PERIV * IMPORTING * E_BUPER = G_MAX_PERIO. "note114628
FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING I_GJAHR = U_GJAHR I_PERIV = U_PERIV IMPORTING E_LAST_DAY = L_MAX_DATE.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = L_MAX_DATE I_PERIV = U_PERIV IMPORTING E_BUPER = C_MAX_PERIO.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMDL50 - Program for Deleting Funds Line Items RFFMDL50 - Program for Deleting Funds Line Items RFFMDL18 - TR-CB: Test Program for Undoing Clearing RFFMDL18 - TR-CB: Test Program for Undoing Clearing RFFMDL17 - TR-CM-CB: Individual Deletion Program (Activity/Account Assignment) RFFMDL17 - TR-CM-CB: Individual Deletion Program (Activity/Account Assignment)