SAP Reports / Programs | Treasury | Cash Budget Management(TR-CB) SAP TR

RFFMDL51 SAP ABAP Report - Delete Old Line Items from Cash Budget Management







RFFMDL51 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFFMDL51 deletes the history data and closed chains (funds line items from FI documents already cleared) for one FM area...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 RFFMDL51 into the relevant SAP transactions such as SE38 or SE80


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 RFFMDL51. "Basic submit
SUBMIT RFFMDL51 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMDL51 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: TO_YEAR = D To Fiscal Year
Selection Text: TO_PERIO = D To Period
Selection Text: P_TEST = D Test run
Selection Text: FROM_PER = D From period
Selection Text: FROMYEAR = D From fiscal year
Selection Text: FM_AREA = D Financial management area
Title: Delete Old Line Items from Cash Budget Management
Text Symbol: 202 = Fiscal year
Text Symbol: 201 = FM Area
Text Symbol: 200 = Delete history dates and chains in CBM
Text Symbol: 106 = Delete act.data
Text Symbol: 105 = Exit
Text Symbol: 104 = Delete
Text Symbol: 103 = delete or exit
Text Symbol: 102 = Choose between
Text Symbol: 101 = Deleting Actual Data
Text Symbol: 012 = Line itms to be deleted
Text Symbol: 011 = Line items deleted
Text Symbol: 010 = Line items examined
Text Symbol: 002 = Global Data
Text Symbol: 001 = Delete Selection
Text Symbol: 203 = Period:
Text Symbol: 204 = Upd. run
Text Symbol: 205 = Test run
Text Symbol: 206 = From fiscal year:
Text Symbol: 207 = From period:
Text Symbol: 208 = To fiscal year:
Text Symbol: 209 = To period:


INCLUDES used within this REPORT RFFMDL51

No INCLUDES are used within this REPORT code!


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 = FM_AREA.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING I_FIKRS = FM_AREA I_ACTVT = '46' I_MSGTY = 'E'.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING TEXTLINE1 = 'Actual Data being deleted'(101) TEXTLINE2 = 'Please choose whether you want to '(102) TEXTLINE3 = 'Delete or Exit'(103) TEXT_OPTION1 = 'Delete'(104) TEXT_OPTION2 = 'Exit'(105) TITEL = 'Delete historical line items'(106) IMPORTING ANSWER = L_ANSWER.

FMFS_GET_DOCUMENT_NUMBER_FI CALL FUNCTION 'FMFS_GET_DOCUMENT_NUMBER_FI' EXPORTING I_EPONR = L_T_LOWREF-KOZFI IMPORTING E_BELNR = L_BELNR E_BUKRS = L_BUKRS E_BUZEI = L_BUZEI E_GJAHR = L_GJAHR.

FMFS_GET_DOCUMENT_NUMBER_FI CALL FUNCTION 'FMFS_GET_DOCUMENT_NUMBER_FI' EXPORTING I_EPONR = L_T_LINES-VGZEI IMPORTING E_BELNR = L_BELNR E_BUKRS = L_BUKRS E_BUZEI = L_BUZEI E_GJAHR = L_GJAHR.



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