SAP FMFR_REFERENCE_DATA_POPUP Function Module for









FMFR_REFERENCE_DATA_POPUP is a standard fmfr reference data popup 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 reference data popup FM, simply by entering the name FMFR_REFERENCE_DATA_POPUP 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_REFERENCE_DATA_POPUP 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_REFERENCE_DATA_POPUP'"
EXPORTING
* I_STATUS = "
* I_KOKRS = "

IMPORTING
E_CANCELLED = "

CHANGING
* C_F_KBLE = "
.




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_REFERENCE_DATA_POPUP

I_STATUS -

Data type: LFMRE-ACTIVITY
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KOKRS -

Data type: KBLK-KOKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FMFR_REFERENCE_DATA_POPUP

E_CANCELLED -

Data type: BOOLE-BOOLE
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for FMFR_REFERENCE_DATA_POPUP

C_F_KBLE -

Data type: KBLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FMFR_REFERENCE_DATA_POPUP 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_c_f_kble  TYPE KBLE, "   
lv_i_status  TYPE LFMRE-ACTIVITY, "   
lv_e_cancelled  TYPE BOOLE-BOOLE, "   
lv_i_kokrs  TYPE KBLK-KOKRS. "   

  CALL FUNCTION 'FMFR_REFERENCE_DATA_POPUP'  "
    EXPORTING
         I_STATUS = lv_i_status
         I_KOKRS = lv_i_kokrs
    IMPORTING
         E_CANCELLED = lv_e_cancelled
    CHANGING
         C_F_KBLE = lv_c_f_kble
. " FMFR_REFERENCE_DATA_POPUP




ABAP code using 7.40 inline data declarations to call FM FMFR_REFERENCE_DATA_POPUP

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 ACTIVITY FROM LFMRE INTO @DATA(ld_i_status).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_cancelled).
 
"SELECT single KOKRS FROM KBLK INTO @DATA(ld_i_kokrs).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!