SAP Reports / Programs

RFFMRP58 SAP ABAP Report - Part Reconstruction of Actual Data for Cash Budget Mgt from FI Docs







RFFMRP58 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFFMRP58 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 RFFMRP58. "Basic submit
SUBMIT RFFMRP58 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMRP58 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: S_BUDAT = D Posted on
Selection Text: P_TEST = D Test Run
Selection Text: P_REDAT = Reset Key Date
Selection Text: P_LISTE = List of documents found
Selection Text: P_CLEAR = Documents Cleared from
Selection Text: P_CHECK = Check for double entry
Selection Text: P_BUKRS = D Company code
Title: Part Reconstruction of Actual Data for Cash Budget Mgt from FI Docs
Text Symbol: 030 = Posting date / document / error
Text Symbol: 025 = List of documents found:
Text Symbol: 021 = Update run
Text Symbol: 020 = Test run
Text Symbol: 014 = Number of defective FI documents:
Text Symbol: 013 = Number of FI docs posted:
Text Symbol: 012 = No.of sample and recurring docs:
Text Symbol: 011 = Number of FI docs to be posted:
Text Symbol: 010 = Number of existing FI docs:
Text Symbol: 001 = Reconstruct Cash Budget Management


INCLUDES used within this REPORT RFFMRP58

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:

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = P_BUKRS IMPORTING E_T001 = G_F_T001.

FM_GET_INIT_INFO_APPLC CALL FUNCTION 'FM_GET_INIT_INFO_APPLC' EXPORTING I_APPLC = 'C' I_BUKRS = P_BUKRS CHANGING C_F_FMGLOB = G_F_GLOBAL_DATA.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = P_REDAT I_PERIV = G_F_T001-PERIV.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING I_FIKRS = G_F_GLOBAL_DATA-FIKRS I_ACTVT = FMAU_AC_INI I_MSGTY = 'E'.

FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING I_BUKRS = U_T_HEADERS-BUKRS I_FIKRS = U_T_HEADERS-FIKRS I_FLG_BUFFER_ALL = 'X' I_SAKNR = U_T_ITEMS-HKONT IMPORTING E_FIPOS = U_T_ITEMS-FIPOS.

FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING IP_FIKRS = U_T_HEADERS-FIKRS IP_FIPOS = U_T_ITEMS-FIPOS IP_FLG_BUFFER_ALL = 'X' IMPORTING F_FMFPO = L_F_FMFPO.

FM_CASH_FLOW_MAIN_FI CALL FUNCTION 'FM_CASH_FLOW_MAIN_FI' EXPORTING I_APPLC = 'C' * I_FINANCIAL_YEAR = 0000 I_FLG_REORG = 'X' I_FLG_UPDATE = L_FLG_UPDATE I_FLG_BUFFER = 'X' I_FLG_REORG_LAST_TRY = 'X' * I_FINANCIAL_PERIOD = 000 * I_FLG_DIALOG = ' ' * I_FLG_CALL_AVAIL_CHECK = ' ' IMPORTING E_FLG_ERROR = L_ERROR TABLES T_CLEARED_ITEMS = U_T_CLEARED_FM T_DOCUMENT_HEADERS = U_T_HEADERS_FM T_DOCUMENT_ITEMS = U_T_ITEMS_FM.

FMSU_BUFFER_TO_GLOBAL_MEMORY CALL FUNCTION 'FMSU_BUFFER_TO_GLOBAL_MEMORY'.

FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING IP_FIKRS = G_F_GLOBAL_DATA-FIKRS IP_FIPOS = L_T_ACCOUNTS-FIPOS IP_FLG_BUFFER_ALL = 'X' IMPORTING F_FMFPO = L_F_FMFPO.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = U_T_PROT-BUDAT I_PERIV = G_F_T001-PERIV IMPORTING E_GJAHR = L_GJAHR.

FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING IP_FIKRS = G_F_GLOBAL_DATA-FIKRS IP_FIPOS = C_T_ACCOUNTS-FIPOS IP_FLG_BUFFER_ALL = 'X' IMPORTING F_FMFPO = L_F_FMFPO.



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