RFFMRP53 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RFFMRP53 creates data for the payment commitment (value type 51) in cash budget management from the purchase orders created in Materials 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 RFFMRP53 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
OFG2 - Cash Budget Mgt: Take Over MM Data
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_BUKRS = D Company Code
Selection Text: P_LIST = D Detail List
Selection Text: P_NO_CHK = Without Check
Selection Text: P_PROT = D Log
Selection Text: P_PRUEF = D Preliminary Check
Selection Text: P_STORNO = D Reversal
Selection Text: S_BEDAT = D Document Date
Selection Text: S_EKPONR = D Purchasing Document
Title: Reconstruct Actual Data for Cash Budget Mgt from Purchase Orders
Text Symbol: HEC = If Purchase Order Already Exists in Cash Budget Management
Text Symbol: HEA = Program Terminates on Database Access
Text Symbol: 240 = No Purchase Orders Exist
Text Symbol: 200 = Document Did Not Exist
Text Symbol: 190 = Document Already Exists
Text Symbol: 180 = Update Run
Text Symbol: 150 = Remark
Text Symbol: 140 = Display Lines
Text Symbol: 130 = AcAsg
Text Symbol: 120 = DocumentNo
Text Symbol: 110 = C.Code
Text Symbol: 100 = Document Blocked by User:
Text Symbol: 080 = Document Subsequently Posted
Text Symbol: 050 = Output
Text Symbol: 040 = Control Data
Text Symbol: 010 = Document Selection
Text Symbol: HEN = New Entry Takes Priority
Text Symbol: P06 = Purchase Orders New in Cash Budget Management
Text Symbol: P05 = Incorrect
Text Symbol: P04 = Without Lines
Text Symbol: P03 = Already in Cash Budget Management
Text Symbol: P02 = Number of Purchase Order Lines
Text Symbol: P01 = Number of Purchase Orders Found
Text Symbol: HEO = Old Entry Takes Priority
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING TEXTLINE1 = 'If Purchase order is already in CBM'(HEC) TEXTLINE2 = 'Program dumps when inserting data'(HEA).
POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING TEXTLINE1 = 'If Purchase order is already in CBM'(HEC) TEXTLINE2 = 'New entry wins'(HEN).
POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING TEXTLINE1 = 'If Purchase order is already in CBM'(HEC) TEXTLINE2 = 'Old entry wins'(HEO).
FM_GET_INIT_INFO_APPLC CALL FUNCTION 'FM_GET_INIT_INFO_APPLC' EXPORTING I_BUKRS = P_BUKRS I_APPLC = 'C' CHANGING C_F_FMGLOB = G_F_GLOBAL_DATA.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
ME_STATISTICS_RKO CALL FUNCTION 'ME_STATISTICS_RKO' EXPORTING I_EKKO = G_T_EKKO_PACK I_APPL_REFRESH = APPLC_CBM TABLES T_EKBE = G_T_EKBE T_EKBES = G_T_EKBES T_EKBNK = G_T_EKBNK T_EKBZ = G_T_EKBZ T_EKET = G_T_EKET T_EKKN = G_T_EKKN T_EKPO = G_T_EKPO T_KOMV = G_T_KOMV EXCEPTIONS OTHERS = 1.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING I_EBELN = G_T_EBEL-EBELN I_ENJOY = 'X' EXCEPTIONS OTHERS = 5.
HELPSCREEN_NA_CREATE CALL FUNCTION 'HELPSCREEN_NA_CREATE' EXPORTING MELD_ID = ARBGB MELD_NR = MSGNR TITEL = ' ' EXCEPTIONS OTHERS = 1.
ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING EBELN = L_T_EBEL-EBELN EXCEPTIONS FOREIGN_LOCK = 01.
FM_DOCUMENT_UPDATE_FI CALL FUNCTION 'FM_DOCUMENT_UPDATE_FI' EXPORTING I_APPLC = APPLC_CBM I_F_GLOBAL_DATA = G_F_GLOBAL_DATA TABLES T_DOCUMENT_FM_DEL = G_T_FMEPIN.
FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING I_FIKRS = U_FIKRS I_ACTVT = FMAU_AC_INI I_MSGTY = 'E'.
MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS I_MESSAGE = 1 W_MESSAGE = 2 E_MESSAGE = 3 A_MESSAGE = 4 OTHERS = 8.
MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = G_T_MESG.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
FMCB_GET_ITEM_MM CALL FUNCTION 'FMCB_GET_ITEM_MM' EXPORTING I_EBELN = G_T_EKKO_PACK-EBELN I_LEDNR = G_T_LEDGER-LEDNR TABLES T_FMEPIN = L_T_READ.
RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING COMM_HEAD_I = KOMK TABLES TKOMV = G_T_KOMV.
CALL FUNCTION 'ME_READ_HISTORY' EXPORTING EBELN = G_T_EKKO_PACK-EBELN EBELP = G_T_EKPO-EBELP WEBRE = SPACE TABLES XEKBE = G_T_EKBE XEKBES = G_T_EKBES XEKBEZ = G_T_EKBEZ XEKBZ = G_T_EKBZ XEKBNK = G_T_EKBNK.
FMSU_BUFFER_TO_GLOBAL_MEMORY CALL FUNCTION 'FMSU_BUFFER_TO_GLOBAL_MEMORY'.
FMCB_LINE_ITEM_UPDATE_BUFFER CALL FUNCTION 'FMCB_LINE_ITEM_UPDATE_BUFFER'.
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 RFFMRP53 or its description.
RFFMRP53 - Reconstruct Actual Data for Cash Budget Mgt from Purchase Orders RFFMRP53 - Reconstruct Actual Data for Cash Budget Mgt from Purchase Orders RFFMRP52 - Partial Reconstruction of Cash Budget Mgt Actual Data Using FI Docs RFFMRP52 - Partial Reconstruction of Cash Budget Mgt Actual Data Using FI Docs RFFMRP51 - Reconstruct Actual Data for Cash Budget Management from FI Documents RFFMRP51 - Reconstruct Actual Data for Cash Budget Management from FI Documents