SAP FMEUF_REFERENCE_RUN_ITEMS Function Module for Read table FMEUFEXP and append the respective lines









FMEUF_REFERENCE_RUN_ITEMS is a standard fmeuf reference run items SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read table FMEUFEXP and append the respective lines processing and below is the pattern details for this FM, 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 fmeuf reference run items FM, simply by entering the name FMEUF_REFERENCE_RUN_ITEMS into the relevant SAP transaction such as SE37 or SE38.

Function Group: FMEUF_CERTIFICATION_RUN
Program Name: SAPLFMEUF_CERTIFICATION_RUN
Main Program: SAPLFMEUF_CERTIFICATION_RUN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FMEUF_REFERENCE_RUN_ITEMS 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 'FMEUF_REFERENCE_RUN_ITEMS'"Read table FMEUFEXP and append the respective lines
EXPORTING
IT_RUN_LIST = "List of Certification Runs
IT_FNS_LIST = "List of financing sources
IT_RT_OPERA = "Range Table type for Operation
I_CORRECTION = "Certified item correction
* IT_FMEUF_DOC = "Table with Header Fields from BKPF

IMPORTING
ET_CERT_ITEMS = "Table Type for Processing the Certification Run
ET_ITEMS_TO_CORRECT = "Table Type for Certified Expenditure Documents

EXCEPTIONS
NO_DOCUMENT_LINES_SELECTED = 1
.



IMPORTING Parameters details for FMEUF_REFERENCE_RUN_ITEMS

IT_RUN_LIST - List of Certification Runs

Data type: FMEUF_T_CERTKEY
Optional: No
Call by Reference: Yes

IT_FNS_LIST - List of financing sources

Data type: FMEUF_T_FNS
Optional: No
Call by Reference: Yes

IT_RT_OPERA - Range Table type for Operation

Data type: FMEUF_RT_OPERA
Optional: No
Call by Reference: Yes

I_CORRECTION - Certified item correction

Data type: FMEUF_CORR_RUN
Optional: No
Call by Reference: Yes

IT_FMEUF_DOC - Table with Header Fields from BKPF

Data type: FMEUF_T_BKPF
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FMEUF_REFERENCE_RUN_ITEMS

ET_CERT_ITEMS - Table Type for Processing the Certification Run

Data type: FMEUF_T_FMEUF_EXP_RUN
Optional: No
Call by Reference: Yes

ET_ITEMS_TO_CORRECT - Table Type for Certified Expenditure Documents

Data type: FMEUF_T_FMEUFEXP
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_DOCUMENT_LINES_SELECTED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FMEUF_REFERENCE_RUN_ITEMS 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_it_run_list  TYPE FMEUF_T_CERTKEY, "   
lv_et_cert_items  TYPE FMEUF_T_FMEUF_EXP_RUN, "   
lv_no_document_lines_selected  TYPE FMEUF_T_FMEUF_EXP_RUN, "   
lv_it_fns_list  TYPE FMEUF_T_FNS, "   
lv_et_items_to_correct  TYPE FMEUF_T_FMEUFEXP, "   
lv_it_rt_opera  TYPE FMEUF_RT_OPERA, "   
lv_i_correction  TYPE FMEUF_CORR_RUN, "   
lv_it_fmeuf_doc  TYPE FMEUF_T_BKPF. "   

  CALL FUNCTION 'FMEUF_REFERENCE_RUN_ITEMS'  "Read table FMEUFEXP and append the respective lines
    EXPORTING
         IT_RUN_LIST = lv_it_run_list
         IT_FNS_LIST = lv_it_fns_list
         IT_RT_OPERA = lv_it_rt_opera
         I_CORRECTION = lv_i_correction
         IT_FMEUF_DOC = lv_it_fmeuf_doc
    IMPORTING
         ET_CERT_ITEMS = lv_et_cert_items
         ET_ITEMS_TO_CORRECT = lv_et_items_to_correct
    EXCEPTIONS
        NO_DOCUMENT_LINES_SELECTED = 1
. " FMEUF_REFERENCE_RUN_ITEMS




ABAP code using 7.40 inline data declarations to call FM FMEUF_REFERENCE_RUN_ITEMS

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.

 
 
 
 
 
 
 
 


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!