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
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: 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:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMDL51 - Delete Old Line Items from Cash Budget Management RFFMDL51 - Delete Old Line Items from Cash Budget Management RFFMDL50_SU - Program for Deleting Funds Line Items RFFMDL50_SU - Program for Deleting Funds Line Items RFFMDL50 - Program for Deleting Funds Line Items RFFMDL50 - Program for Deleting Funds Line Items