SAP FMFR_RESERVATION_TRANSACTION Function Module for
FMFR_RESERVATION_TRANSACTION is a standard fmfr reservation transaction SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fmfr reservation transaction FM, simply by entering the name FMFR_RESERVATION_TRANSACTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMFR
Program Name: SAPLFMFR
Main Program: SAPLFMFR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FMFR_RESERVATION_TRANSACTION pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FMFR_RESERVATION_TRANSACTION'".
EXPORTING
* I_DOCTYPE = "
I_ACTIVITY = "
* I_BELNR = "
* I_BLPOS = "Document Item Earmarked Funds
IMPORTING
E_CANCEL = "
E_WF_RESTART = "
EXCEPTIONS
DOCTYPE_NOT_FOUND = 1 ACTIVITY_NOT_FOUND = 2 DOCUMENT_NOT_FOUND = 3
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLFMFR_001 Earmarked Funds: PBO Initial Screen
EXIT_SAPLFMFR_002 Earmarked Funds: PAI Initial Screen, All Data Read
EXIT_SAPLFMFR_003 Earmarked Funds: PAI, Checking of Item on Overview and Detail Screen
EXIT_SAPLFMFR_004 Earmarked Funds: PAI, Total Documents Check (Also Before Saving)
EXIT_SAPLFMFR_005 Earmarked Funds: PBO for Every Line, for Example, Field Control (2)
EXIT_SAPLFMFR_006 Earmarked Funds: PBO for Every Line, for example, Field Control (1)
EXIT_SAPLFMFR_007 Earmarked Funds: Conditions for Workflow Restart
EXIT_SAPLFMFR_008 Earmarked Funds: Function Code Processing in Overview Screen
EXIT_SAPLFMFR_009 Earmarked Fund: Function Code Processing in Detail Screen
EXIT_SAPLFMFR_010 Earmarked Fund: Update of Data in Database
IMPORTING Parameters details for FMFR_RESERVATION_TRANSACTION
I_DOCTYPE -
Data type: KBLK-BLTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ACTIVITY -
Data type: LFMRE-ACTIVITYOptional: No
Call by Reference: No ( called with pass by value option)
I_BELNR -
Data type: KBLK-BELNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_BLPOS - Document Item Earmarked Funds
Data type: KBLP-BLPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FMFR_RESERVATION_TRANSACTION
E_CANCEL -
Data type: BOOLE-BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
E_WF_RESTART -
Data type: BOOLE-BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DOCTYPE_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACTIVITY_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DOCUMENT_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FMFR_RESERVATION_TRANSACTION Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_e_cancel | TYPE BOOLE-BOOLE, " | |||
| lv_i_doctype | TYPE KBLK-BLTYP, " | |||
| lv_doctype_not_found | TYPE KBLK, " | |||
| lv_i_activity | TYPE LFMRE-ACTIVITY, " | |||
| lv_e_wf_restart | TYPE BOOLE-BOOLE, " | |||
| lv_activity_not_found | TYPE BOOLE, " | |||
| lv_i_belnr | TYPE KBLK-BELNR, " | |||
| lv_document_not_found | TYPE KBLK, " | |||
| lv_i_blpos | TYPE KBLP-BLPOS. " |
|   CALL FUNCTION 'FMFR_RESERVATION_TRANSACTION' " |
| EXPORTING | ||
| I_DOCTYPE | = lv_i_doctype | |
| I_ACTIVITY | = lv_i_activity | |
| I_BELNR | = lv_i_belnr | |
| I_BLPOS | = lv_i_blpos | |
| IMPORTING | ||
| E_CANCEL | = lv_e_cancel | |
| E_WF_RESTART | = lv_e_wf_restart | |
| EXCEPTIONS | ||
| DOCTYPE_NOT_FOUND = 1 | ||
| ACTIVITY_NOT_FOUND = 2 | ||
| DOCUMENT_NOT_FOUND = 3 | ||
| . " FMFR_RESERVATION_TRANSACTION | ||
ABAP code using 7.40 inline data declarations to call FM FMFR_RESERVATION_TRANSACTION
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_cancel). | ||||
| "SELECT single BLTYP FROM KBLK INTO @DATA(ld_i_doctype). | ||||
| "SELECT single ACTIVITY FROM LFMRE INTO @DATA(ld_i_activity). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_wf_restart). | ||||
| "SELECT single BELNR FROM KBLK INTO @DATA(ld_i_belnr). | ||||
| "SELECT single BLPOS FROM KBLP INTO @DATA(ld_i_blpos). | ||||
Search for further information about these or an SAP related objects