RFFMDL02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The RFFMDL02 program deletes the actual data in Cash Budget Management and/or in Funds Management and/or in Project Cash 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 RFFMDL02 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: P_ZU = Payment Transfer
Selection Text: P_TEST = Test Run
Selection Text: P_MR = Funds Reservation
Selection Text: P_MM = MM Data (Purchase Orders..)
Selection Text: P_LIST = Display Log
Selection Text: P_GJAHR = D Fiscal Year
Selection Text: P_FIKRS = D Financial Management Area
Selection Text: P_FI = FI Data (Invoices...)
Selection Text: P_BUKRS = D Company Code
Selection Text: P_ALLDEL = Delete All Fiscal Years
Title: Line Item Data Records to Delete
Text Symbol: 101 = Actual Data Being Deleted
Text Symbol: 102 = Choose Either
Text Symbol: 103 = Delete or Exit
Text Symbol: 104 = Delete
Text Symbol: 105 = Exit
Text Symbol: 106 = Delete Actual Data
Text Symbol: 032 = Balance Records
Text Symbol: 031 = Line Items
Text Symbol: 024 = Funds Reservation
Text Symbol: 022 = FI Data (Invoices ...)
Text Symbol: 021 = Payment Transfer
Text Symbol: 020 = MM Data (Purchase Orders...)
Text Symbol: 014 = No. of Docs
Text Symbol: 013 = Number of Line Items
Text Symbol: 012 = xxxxxxxxxxxxxxxxx
Text Symbol: 003 = Deleted actual data from Controlling in FM area
Text Symbol: 002 = All Together
Text Symbol: 201 = FM Area:
Text Symbol: 305 = Test Run:
Text Symbol: 304 = Delete Selection
Text Symbol: 303 = Delete all
Text Symbol: 301 = Delete Up to and Including
Text Symbol: 203 = Company Code:
Text Symbol: 202 = Year:
INCLUDE IFIFMCON.
INCLUDE LFMAUEQU.
No SAP DATABASE tables are accessed within this REPORT code!
FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING IP_FIKRS = P_FIKRS.
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'.
BUKRS_GET_FROM_FIKRS CALL FUNCTION 'BUKRS_GET_FROM_FIKRS' EXPORTING IP_FIKRS = P_FIKRS TABLES T_T001 = G_T_T001.
T001_SINGLE_READ CALL FUNCTION 'T001_SINGLE_READ' EXPORTING BUKRS = P_BUKRS IMPORTING WT001 = L_T001.
POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING TEXTLINE1 = TEXT-101 "/Istdaten werden gelöscht TEXTLINE2 = TEXT-102 "/Wählen Sie bitte zwischen TEXTLINE3 = TEXT-103 "/Löschen oder Beenden TEXT_OPTION1 = TEXT-104 "/Löschen TEXT_OPTION2 = TEXT-105 "/Beenden TITEL = TEXT-106 "/Istdaten löschen IMPORTING ANSWER = L_ANSWER.
CA_TRANSACTION_DATA_RESET CALL FUNCTION 'CA_TRANSACTION_DATA_RESET' EXPORTING IP_FIKRS = P_FIKRS IP_FLG_NO_COMMIT = P_TEST IP_GJAHR_AB = P_GJAHR IP_BUKRS = P_BUKRS IP_TEXT = TEXT-021 IP_TEXTFIX = L_TEXT IP_LIST = P_LIST TABLES T_WERTTYP = L_T_WERTTYP T_BELNR = S_BELNR.
CA_TRANSACTION_DATA_RESET CALL FUNCTION 'CA_TRANSACTION_DATA_RESET' EXPORTING IP_FIKRS = P_FIKRS IP_FLG_NO_COMMIT = P_TEST IP_GJAHR_AB = P_GJAHR IP_BUKRS = P_BUKRS IP_TEXT = TEXT-024 IP_TEXTFIX = L_TEXT IP_LIST = P_LIST TABLES T_WERTTYP = L_T_WERTTYP T_BELNR = S_BELNR.
CA_TRANSACTION_DATA_RESET CALL FUNCTION 'CA_TRANSACTION_DATA_RESET' EXPORTING IP_FIKRS = P_FIKRS IP_FLG_NO_COMMIT = P_TEST IP_GJAHR_AB = P_GJAHR IP_BUKRS = P_BUKRS IP_TEXT = TEXT-020 IP_TEXTFIX = L_TEXT IP_LIST = P_LIST TABLES T_WERTTYP = L_T_WERTTYP T_BELNR = S_BELNR E_BELNR = L_BELNR.
CA_TRANSACTION_DATA_RESET CALL FUNCTION 'CA_TRANSACTION_DATA_RESET' EXPORTING IP_FIKRS = P_FIKRS IP_FLG_NO_COMMIT = P_TEST IP_GJAHR_AB = P_GJAHR IP_BUKRS = P_BUKRS IP_TEXT = TEXT-022 IP_TEXTFIX = L_TEXT IP_LIST = P_LIST TABLES T_WERTTYP = L_T_WERTTYP T_BELNR = S_BELNR E_BELNR = L_BELNR.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.