SAP FI_CHECK_MISSING_REQUIRED Function Module for FI: Check missing required entry fields for document entry variants









FI_CHECK_MISSING_REQUIRED is a standard fi check missing required SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for FI: Check missing required entry fields for document entry variants 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 fi check missing required FM, simply by entering the name FI_CHECK_MISSING_REQUIRED into the relevant SAP transaction such as SE37 or SE38.

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



Function FI_CHECK_MISSING_REQUIRED 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_CHECK_MISSING_REQUIRED'"FI: Check missing required entry fields for document entry variants
EXPORTING
I_BUZEI = "Current item from the document
I_MODIFS = "All screen group 1 modifications -> documentation
I_STRING1 = "Current field selection string 1
I_STRING2 = "Current field selection string 2

IMPORTING
E_LEAST1 = "At least one required entry field was not on the entry screen

TABLES
T_AUTTAB = "Table to which this line was appended with item/flag
.



IMPORTING Parameters details for FI_CHECK_MISSING_REQUIRED

I_BUZEI - Current item from the document

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

I_MODIFS - All screen group 1 modifications -> documentation

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

I_STRING1 - Current field selection string 1

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

I_STRING2 - Current field selection string 2

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

EXPORTING Parameters details for FI_CHECK_MISSING_REQUIRED

E_LEAST1 - At least one required entry field was not on the entry screen

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

TABLES Parameters details for FI_CHECK_MISSING_REQUIRED

T_AUTTAB - Table to which this line was appended with item/flag

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

Copy and paste ABAP code example for FI_CHECK_MISSING_REQUIRED 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_buzei  TYPE BSEG-BUZEI, "   
lv_e_least1  TYPE KMZEI-KMREQ, "   
lt_t_auttab  TYPE STANDARD TABLE OF AUTTAB, "   
lv_i_modifs  TYPE AUTTAB, "   
lv_i_string1  TYPE TBSL-FAUS1, "   
lv_i_string2  TYPE TBSL-FAUS2. "   

  CALL FUNCTION 'FI_CHECK_MISSING_REQUIRED'  "FI: Check missing required entry fields for document entry variants
    EXPORTING
         I_BUZEI = lv_i_buzei
         I_MODIFS = lv_i_modifs
         I_STRING1 = lv_i_string1
         I_STRING2 = lv_i_string2
    IMPORTING
         E_LEAST1 = lv_e_least1
    TABLES
         T_AUTTAB = lt_t_auttab
. " FI_CHECK_MISSING_REQUIRED




ABAP code using 7.40 inline data declarations to call FM FI_CHECK_MISSING_REQUIRED

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 BUZEI FROM BSEG INTO @DATA(ld_i_buzei).
 
"SELECT single KMREQ FROM KMZEI INTO @DATA(ld_e_least1).
 
 
 
"SELECT single FAUS1 FROM TBSL INTO @DATA(ld_i_string1).
 
"SELECT single FAUS2 FROM TBSL INTO @DATA(ld_i_string2).
 


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!