SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

RFFMRP02 SAP ABAP Report - Purchase Order Document Transfer







RFFMRP02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reconstructing purchase orders for Funds Management (FM) The RFFMRP02 program reconstructs purchase orders...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 RFFMRP02 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

FMN4 - Transfer Purchase Order Documents


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 RFFMRP02. "Basic submit
SUBMIT RFFMRP02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMRP02 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_BUKRS = D Company code
Selection Text: P_LIST = D Log: List posted documents
Selection Text: P_PRUEF = D Check existing rec.
Selection Text: P_STORNO = Delete old data
Selection Text: P_TEST = D Test run
Selection Text: S_BEDAT = D Document date
Selection Text: S_EKPONR = D Purchasing document
Title: Purchase Order Document Transfer
Text Symbol: 160 = Test run
Text Symbol: 150 = Remark
Text Symbol: 140 = Lines
Text Symbol: 130 = AcAsg
Text Symbol: 120 = Doc. no.
Text Symbol: 110 = Company Code
Text Symbol: 100 = Document blocked by user:
Text Symbol: 090 = Doc. not subseq. postd
Text Symbol: 080 = Doc. Reconstructd
Text Symbol: 050 = Doc. Reversed
Text Symbol: 045 = Mode
Text Symbol: 040 = Control
Text Symbol: 030 = Document obsolete
Text Symbol: 010 = Document Selection
Text Symbol: 170 = Doc. not reversed
Text Symbol: 270 = Document Updated
Text Symbol: 260 = Document Converted from FCABP
Text Symbol: 250 = Document is in fiscal year change
Text Symbol: 240 = No purchase orders exist
Text Symbol: 200 = Doc. does not exist in compnt to be subsquently pstd to
Text Symbol: 190 = Document exists in the component to be posted to
Text Symbol: 180 = Upd. Run
001 CoCd Doc.no. AA No.lns Remarks


INCLUDES used within this REPORT RFFMRP02

No INCLUDES are used within this REPORT code!


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:

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING POPUP_TITLE = ' ' TEXT_OBJECT = 'FM_HELP_ON_FSTORNO'.

FMCA_GET_INIT_INFO CALL FUNCTION 'FMCA_GET_INIT_INFO' EXPORTING I_BUKRS = P_BUKRS CHANGING C_F_CONTROL_DATA = G_F_CONTROL_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_CA 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.

FM_OPEN_ITEM_NUMBER CALL FUNCTION 'FM_OPEN_ITEM_NUMBER' EXCEPTIONS number_missing = 1 OTHERS = 2.

FM_OPEN_ITEM_INIT CALL FUNCTION 'FM_OPEN_ITEM_INIT'.

FM_OPEN_ITEM_INIT CALL FUNCTION 'FM_OPEN_ITEM_INIT'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING EBELN = L_T_EBEL-EBELN EXCEPTIONS FOREIGN_LOCK = 01.

FM_CONVERT_SIGN_OI CALL FUNCTION 'FM_CONVERT_SIGN_OI' "#EC EXISTS TABLES T_FMIOI = L_T_FMIOI EXCEPTIONS OTHERS = 1.

FM_OPEN_ITEM_POST CALL FUNCTION 'FM_OPEN_ITEM_POST' TABLES T_FMIOI_DEL = L_T_FMIOI EXCEPTIONS ERR_UPDATE_FMIOI = 1 OTHERS = 2.

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'.

RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING COMM_HEAD_I = KOMK TABLES TKOMV = G_T_KOMV.

ME_READ_HISTORY 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.



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