SAP Reports / Programs

RFFMDL52 SAP ABAP Report - Delete Actual Data for an FM Area in Cash Budget Management







RFFMDL52 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Progran RFFMDL52 deletes actual data on a time and component basis for one FM area in Cash Budget Management...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 RFFMDL52 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

OFD2 - Cash Budget Mgt: Delete Act.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 RFFMDL52. "Basic submit
SUBMIT RFFMDL52 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMDL52 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_TEST = Test run
Selection Text: P_PERIO = Period
Selection Text: P_HISTRY = History data only
Selection Text: P_GJAHR2 = Fiscal year
Selection Text: P_GJAHR1 = Fiscal year
Selection Text: P_FIKRS = FM area
Selection Text: P_ALLDEL = Delete all fiscal years
Title: Delete Actual Data for an FM Area in Cash Budget Management
Text Symbol: 106 = Delete Actual Data
Text Symbol: 105 = Exit
Text Symbol: 104 = Delete
Text Symbol: 103 = delete or exit
Text Symbol: 102 = Choose whether you want to
Text Symbol: 101 = Deleting Actual Data
Text Symbol: 004 = Delete selection
Text Symbol: 003 = Delete all
Text Symbol: 002 = Totals and balances up to and including
Text Symbol: 001 = Line items up to and including


INCLUDES used within this REPORT RFFMDL52

INCLUDE IFIFMEQU.
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:

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING IP_FIKRS = P_FIKRS.

BUKRS_GET_FROM_FIKRS CALL FUNCTION 'BUKRS_GET_FROM_FIKRS' EXPORTING IP_FIKRS = P_FIKRS TABLES T_T001 = G_T_T001.

FM_GET_INIT_INFO_APPLC CALL FUNCTION 'FM_GET_INIT_INFO_APPLC' EXPORTING I_BUKRS = G_T_T001-BUKRS I_APPLC = APPLC_CBM CHANGING C_F_FMGLOB = G_F_GLOBAL_DATA.

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

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = P_GJAHR1 I_PERIV = G_F_GLOBAL_DATA-PERIV I_POPER = P_PERIO IMPORTING E_DATE = L_DAY_PERIO.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING I_DATE = L_DAY_PERIO I_PERIV = G_F_GLOBAL_DATA-PERIV IMPORTING E_DATE = L_DAY_YEAR.

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.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING COPIES = SY-PRCOP DESTINATION = SY-PDEST EXPIRATION = SY-PEXPI IMMEDIATELY = SY-PRIMM MODE = 'BATCH' NEW_LIST_ID = SY-PRNEW NO_DIALOG = 'X' RECEIVER = SY-PRREC LIST_NAME = SY-PLIST IMPORTING OUT_PARAMETERS = G_F_SPOOL_PARAMS.



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