SAP Reports / Programs

RFWFFM02 SAP ABAP INCLUDE - Program for Object Type PAYRC: Recovery Request







RFWFFM02 is a standard ABAP INCLUDE 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 RFWFFM02 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 RFWFFM02. "Basic submit
SUBMIT RFWFFM02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFWFFM02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program for Object Type PAYRC: Recovery Request


INCLUDES used within this REPORT RFWFFM02

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:

FI_RECOVERY_ORDER_DISPLAY CALL FUNCTION 'FI_RECOVERY_ORDER_DISPLAY' EXPORTING I_BELNR = OBJECT-KEY-BELNR I_GJAHR = OBJECT-KEY-GJAHR I_BUKRS = OBJECT-KEY-BUKRS IMPORTING E_FMREASON = XFMREASON E_PAYRC = PAYRC EXCEPTIONS INTERNAL_ERROR = 1 PP_DOC_NOT_FOUND = 2 CANCELLED = 8 OTHERS = 7.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING MANDT = SY-MANDT BUKRS = OBJECT-KEY-BUKRS BELNR = OBJECT-KEY-BELNR GJAHR = OBJECT-KEY-GJAHR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

FI_RECOVERY_ORDER_MODIFY CALL FUNCTION 'FI_RECOVERY_ORDER_MODIFY' EXPORTING I_PAYRC_NEW = PAYRC I_MODE = CON_U.

DEQUEUE_EFBKPF CALL FUNCTION 'DEQUEUE_EFBKPF' EXPORTING MANDT = SY-MANDT BUKRS = OBJECT-KEY-BUKRS BELNR = OBJECT-KEY-BELNR GJAHR = OBJECT-KEY-GJAHR EXCEPTIONS SYSTEM_FAILURE = 2 OTHERS = 3.

FI_RECOVERY_ORDER_APPROVE CALL FUNCTION 'FI_RECOVERY_ORDER_APPROVE' EXPORTING I_BELNR = OBJECT-KEY-BELNR I_GJAHR = OBJECT-KEY-GJAHR I_BUKRS = OBJECT-KEY-BUKRS IMPORTING E_REASON = XFMREASON E_SUBRC = SUBRC EXCEPTIONS CANCELLED = 1 OTHERS = 2.

FI_RECOVERY_ORDER_CHANGE CALL FUNCTION 'FI_RECOVERY_ORDER_CHANGE' EXPORTING I_BELNR = OBJECT-KEY-BELNR I_GJAHR = OBJECT-KEY-GJAHR I_BUKRS = OBJECT-KEY-BUKRS EXCEPTIONS CANCELLED = 1 OTHERS = 2.

FI_PAYMENT_ORDER_APPROVE_CHECK CALL FUNCTION 'FI_PAYMENT_ORDER_APPROVE_CHECK' TABLES T_PAYRQ01 = LC_PAYRQ01 EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 2.

FI_PAYMENT_ORDER_APPROVE_WRITE *DEL CALL FUNCTION 'FI_PAYMENT_ORDER_APPROVE_WRITE'. "CM031297

FI_PAYMENT_ORDER_APPROVE_WRITE CALL FUNCTION 'FI_PAYMENT_ORDER_APPROVE_WRITE' "CM031297 EXCEPTIONS "CM031297 ERROR_MESSAGE = 1 "CM031297 OTHERS = 2. "CM031297

FI_MESSAGE_GET CALL FUNCTION 'FI_MESSAGE_GET' "CM031297 TABLES "CM031297 T_FIMSG = T_FIMSG "CM031297 EXCEPTIONS "CM031297 NO_MESSAGE = 1 "CM031297 OTHERS = 2. "CM031297

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' "CM031297 EXPORTING "CM031297 MSGID = T_FIMSG-MSGID "CM031297 MSGNR = T_FIMSG-MSGNO "CM031297 MSGV1 = T_FIMSG-MSGV1 "CM031297 MSGV2 = T_FIMSG-MSGV2 "CM031297 MSGV3 = T_FIMSG-MSGV3 "CM031297 MSGV4 = T_FIMSG-MSGV4 "CM031297 IMPORTING "CM031297 MESSAGE_TEXT_OUTPUT = XMSG. "CM031297

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'. "CM031297

FI_RECOVERY_ORDER_CASE_DETERMI CALL FUNCTION 'FI_RECOVERY_ORDER_CASE_DETERMI' EXPORTING I_BUKRS = OBJECT-KEY-BUKRS I_BELNR = OBJECT-KEY-BELNR I_GJAHR = OBJECT-KEY-GJAHR IMPORTING E_RC = RC.



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