SAP Reports / Programs

RFFMRP52 SAP ABAP Report - Partial Reconstruction of Cash Budget Mgt Actual Data Using FI Docs







RFFMRP52 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFFMRP52 partially reconstructs the actual data in Cash Budget Management, per the time interval you enter, on the basis of the documents from Financial Accounting (FI)...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 RFFMRP52 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

OFG9 - CBM: Gradual FI Data Transfer


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 RFFMRP52. "Basic submit
SUBMIT RFFMRP52 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMRP52 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_VONDAT = From posting date
Selection Text: P_NEW_BE = Determine cash holdings
Selection Text: P_FIPOS = Cash Budget Mgmt clearing item
Selection Text: P_FIKRS = FM area
Selection Text: P_BISDAT = To posting date
Title: Partial Reconstruction of Cash Budget Mgt Actual Data Using FI Docs
Text Symbol: 306 = No.of sample and recurring docs:
Text Symbol: 305 = Number of stat.docs cleared:
Text Symbol: 304 = No. of reverse docs:
Text Symbol: 303 = Number of FI docs posted:
Text Symbol: 302 = Number of FI docs to be posted:
Text Symbol: 301 = Number of existing FI docs:
Text Symbol: 300 = Evaluation Information
Text Symbol: 200 = List of documents not to be processed
Text Symbol: 100 = List of Documents Processed
Text Symbol: 043 = Document Number
Text Symbol: 042 = Fiscal Year
Text Symbol: 041 = Company Code


INCLUDES used within this REPORT RFFMRP52

INCLUDE IFIFMEQU.
INCLUDE IFMFICON.
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 IMPORTING F_FM01 = G_F_FM01.

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.

CCODE_READ_FM_APPLIC_INFO CALL FUNCTION 'CCODE_READ_FM_APPLIC_INFO' EXPORTING I_BUKRS = G_T_T001-BUKRS IMPORTING E_F_FM01B = G_F_FM01B EXCEPTIONS NOT_FOUND = 01.

FM_INVENTORY_CHECK_CCODE_ENTRY CALL FUNCTION 'FM_INVENTORY_CHECK_CCODE_ENTRY' EXPORTING I_BUKRS = G_T_T001-BUKRS.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING MODE = 'CURRENT' NO_DIALOG = 'X' IMPORTING OUT_PARAMETERS = SPOOL_PARAM.

FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING IP_FIKRS = P_FIKRS IP_FIPOS = L_F_FMFPO-FIPOS IP_FLG_BUFFER_ALL = CON_ON IMPORTING F_FMFPO = L_F_FMFPO.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = P_VGJAHR I_MONMIT = 00 I_PERIV = P_PERIV I_POPER = P_VONPER IMPORTING E_DATE = C_BUDAT_LOW.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = P_BGJAHR I_MONMIT = 00 I_PERIV = P_PERIV I_POPER = P_BISPER IMPORTING E_DATE = C_BUDAT_HIGH.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = U_INV_DATE I_PERIV = U_T_T001-PERIV IMPORTING E_BUPER = L_PERIOD_FI E_GJAHR = L_YEAR_FI.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = L_YEAR_FI I_PERIV = U_T_T001-PERIV I_POPER = L_PERIOD_FI IMPORTING E_DATE = L_LAST_FI.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = L_YEAR_FI I_PERIV = U_T_T001-PERIV I_POPER = L_PERIOD_FI IMPORTING E_DATE = L_TAKEOVER_DATE.



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