SAP FMEUF_UPDATE_PREL_FS_CONS Function Module for Update preliminary consumption
FMEUF_UPDATE_PREL_FS_CONS is a standard fmeuf update prel fs cons SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update preliminary consumption 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 update prel fs cons FM, simply by entering the name FMEUF_UPDATE_PREL_FS_CONS 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_UPDATE_PREL_FS_CONS 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_UPDATE_PREL_FS_CONS'"Update preliminary consumption.
EXPORTING
I_CERTKEY = "Key of Certification Run
IT_FINSRC = "Financing source information required in the cert. run
I_STATUS = "Status of Expenditure Certification Run
I_TIMESL = "Time Slice
IMPORTING Parameters details for FMEUF_UPDATE_PREL_FS_CONS
I_CERTKEY - Key of Certification Run
Data type: IFMEUF_CERTKEYOptional: No
Call by Reference: Yes
IT_FINSRC - Financing source information required in the cert. run
Data type: FMEUF_T_CERT_FINSRCOptional: No
Call by Reference: Yes
I_STATUS - Status of Expenditure Certification Run
Data type: FMEUF_STAOptional: No
Call by Reference: Yes
I_TIMESL - Time Slice
Data type: FMEUF_TIMESLOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FMEUF_UPDATE_PREL_FS_CONS 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_i_certkey | TYPE IFMEUF_CERTKEY, " | |||
| lv_it_finsrc | TYPE FMEUF_T_CERT_FINSRC, " | |||
| lv_i_status | TYPE FMEUF_STA, " | |||
| lv_i_timesl | TYPE FMEUF_TIMESL. " |
|   CALL FUNCTION 'FMEUF_UPDATE_PREL_FS_CONS' "Update preliminary consumption |
| EXPORTING | ||
| I_CERTKEY | = lv_i_certkey | |
| IT_FINSRC | = lv_it_finsrc | |
| I_STATUS | = lv_i_status | |
| I_TIMESL | = lv_i_timesl | |
| . " FMEUF_UPDATE_PREL_FS_CONS | ||
ABAP code using 7.40 inline data declarations to call FM FMEUF_UPDATE_PREL_FS_CONS
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