SAP FI_PATTERN_FULLFILL Function Module for
FI_PATTERN_FULLFILL is a standard fi pattern fullfill 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 fi pattern fullfill FM, simply by entering the name FI_PATTERN_FULLFILL into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKMT
Program Name: SAPLFKMT
Main Program: SAPLFKMT
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FI_PATTERN_FULLFILL 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 'FI_PATTERN_FULLFILL'".
EXPORTING
* I_BETRG = 0 "
* I_BUDAT = 00000000 "
I_BUKRS = "
* I_KMNAM = ' ' "
* I_TITLE = ' ' "
I_WAERS = "
* I_WRBTR = 0 "
* I_ANWND = ' ' "
* I_BLART = ' ' "Document Type
IMPORTING
E_KMKPF = "
E_OKCODE = "
TABLES
T_KMZEI = "
T_OKCODE = "
EXCEPTIONS
ERR_KMNAM_UNKNOWN = 1 ERR_WAERS_INVALID = 2 ERR_NO_ACCESS = 3
IMPORTING Parameters details for FI_PATTERN_FULLFILL
I_BETRG -
Data type: KMDMY-RSBTROptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUDAT -
Data type: BKPF-BUDATDefault: 00000000
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUKRS -
Data type: BKPF-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_KMNAM -
Data type: KMKPF-KMNAMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TITLE -
Data type: SY-TITLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WAERS -
Data type: BKPF-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
I_WRBTR -
Data type: BSEG-WRBTROptional: Yes
Call by Reference: No ( called with pass by value option)
I_ANWND -
Data type: KMDMY-ANWNDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BLART - Document Type
Data type: BKPF-BLARTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FI_PATTERN_FULLFILL
E_KMKPF -
Data type: KMKPFOptional: No
Call by Reference: No ( called with pass by value option)
E_OKCODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FI_PATTERN_FULLFILL
T_KMZEI -
Data type: KMZEIOptional: No
Call by Reference: No ( called with pass by value option)
T_OKCODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERR_KMNAM_UNKNOWN -
Data type:Optional: No
Call by Reference: Yes
ERR_WAERS_INVALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERR_NO_ACCESS -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FI_PATTERN_FULLFILL 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_kmkpf | TYPE KMKPF, " | |||
| lv_i_betrg | TYPE KMDMY-RSBTR, " 0 | |||
| lt_t_kmzei | TYPE STANDARD TABLE OF KMZEI, " | |||
| lv_err_kmnam_unknown | TYPE KMZEI, " | |||
| lv_i_budat | TYPE BKPF-BUDAT, " 00000000 | |||
| lv_e_okcode | TYPE BKPF, " | |||
| lt_t_okcode | TYPE STANDARD TABLE OF BKPF, " | |||
| lv_err_waers_invalid | TYPE BKPF, " | |||
| lv_i_bukrs | TYPE BKPF-BUKRS, " | |||
| lv_err_no_access | TYPE BKPF, " | |||
| lv_i_kmnam | TYPE KMKPF-KMNAM, " SPACE | |||
| lv_i_title | TYPE SY-TITLE, " SPACE | |||
| lv_i_waers | TYPE BKPF-WAERS, " | |||
| lv_i_wrbtr | TYPE BSEG-WRBTR, " 0 | |||
| lv_i_anwnd | TYPE KMDMY-ANWND, " SPACE | |||
| lv_i_blart | TYPE BKPF-BLART. " SPACE |
|   CALL FUNCTION 'FI_PATTERN_FULLFILL' " |
| EXPORTING | ||
| I_BETRG | = lv_i_betrg | |
| I_BUDAT | = lv_i_budat | |
| I_BUKRS | = lv_i_bukrs | |
| I_KMNAM | = lv_i_kmnam | |
| I_TITLE | = lv_i_title | |
| I_WAERS | = lv_i_waers | |
| I_WRBTR | = lv_i_wrbtr | |
| I_ANWND | = lv_i_anwnd | |
| I_BLART | = lv_i_blart | |
| IMPORTING | ||
| E_KMKPF | = lv_e_kmkpf | |
| E_OKCODE | = lv_e_okcode | |
| TABLES | ||
| T_KMZEI | = lt_t_kmzei | |
| T_OKCODE | = lt_t_okcode | |
| EXCEPTIONS | ||
| ERR_KMNAM_UNKNOWN = 1 | ||
| ERR_WAERS_INVALID = 2 | ||
| ERR_NO_ACCESS = 3 | ||
| . " FI_PATTERN_FULLFILL | ||
ABAP code using 7.40 inline data declarations to call FM FI_PATTERN_FULLFILL
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 RSBTR FROM KMDMY INTO @DATA(ld_i_betrg). | ||||
| "SELECT single BUDAT FROM BKPF INTO @DATA(ld_i_budat). | ||||
| DATA(ld_i_budat) | = 00000000. | |||
| "SELECT single BUKRS FROM BKPF INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single KMNAM FROM KMKPF INTO @DATA(ld_i_kmnam). | ||||
| DATA(ld_i_kmnam) | = ' '. | |||
| "SELECT single TITLE FROM SY INTO @DATA(ld_i_title). | ||||
| DATA(ld_i_title) | = ' '. | |||
| "SELECT single WAERS FROM BKPF INTO @DATA(ld_i_waers). | ||||
| "SELECT single WRBTR FROM BSEG INTO @DATA(ld_i_wrbtr). | ||||
| "SELECT single ANWND FROM KMDMY INTO @DATA(ld_i_anwnd). | ||||
| DATA(ld_i_anwnd) | = ' '. | |||
| "SELECT single BLART FROM BKPF INTO @DATA(ld_i_blart). | ||||
| DATA(ld_i_blart) | = ' '. | |||
Search for further information about these or an SAP related objects