SAP EHS003_CHECK_INCOMPLETENESS Function Module for NOTRANSL: EHS: Überprüfung auf Vollständigkeit









EHS003_CHECK_INCOMPLETENESS is a standard ehs003 check incompleteness SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: EHS: Überprüfung auf Vollständigkeit 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 ehs003 check incompleteness FM, simply by entering the name EHS003_CHECK_INCOMPLETENESS into the relevant SAP transaction such as SE37 or SE38.

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



Function EHS003_CHECK_INCOMPLETENESS 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 'EHS003_CHECK_INCOMPLETENESS'"NOTRANSL: EHS: Überprüfung auf Vollständigkeit
EXPORTING
* DIALOG = 'X' "
FEHGR = "Incompletion procedure for sales document
TBNAM = "Table Name
* FDNAM = "Document field name
* DIA_VISIBLE = "
I_VBTYP = "SD document category
* I_VBELN = "Sales Document
* I_VBAK = "Sales Document: Header Data
* I_LIKP = "SD Document: Delivery Header Data

TABLES
* I_VBUV_LAST = "Structure for Internal Table XVBUV
* I_VBUV_TAB = "Structure for Internal Table XVBUV
* I_VBUV_DIA = "Structure for Internal Table XVBUV
* I_VBAP = "Document Structure for XVBAP/YVBAP
* I_LIPS = "Reference Structure for XLIPS/YLIPS

EXCEPTIONS
OTHERS_ = 1
.



IMPORTING Parameters details for EHS003_CHECK_INCOMPLETENESS

DIALOG -

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

FEHGR - Incompletion procedure for sales document

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

TBNAM - Table Name

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

FDNAM - Document field name

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

DIA_VISIBLE -

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

I_VBTYP - SD document category

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

I_VBELN - Sales Document

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

I_VBAK - Sales Document: Header Data

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

I_LIKP - SD Document: Delivery Header Data

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

TABLES Parameters details for EHS003_CHECK_INCOMPLETENESS

I_VBUV_LAST - Structure for Internal Table XVBUV

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

I_VBUV_TAB - Structure for Internal Table XVBUV

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

I_VBUV_DIA - Structure for Internal Table XVBUV

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

I_VBAP - Document Structure for XVBAP/YVBAP

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

I_LIPS - Reference Structure for XLIPS/YLIPS

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

EXCEPTIONS details

OTHERS_ - Internal Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EHS003_CHECK_INCOMPLETENESS 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_dialog  TYPE STRING, "   'X'
lv_others_  TYPE STRING, "   
lt_i_vbuv_last  TYPE STANDARD TABLE OF VBUVVB, "   
lv_fehgr  TYPE TVAP-FEHGR, "   
lt_i_vbuv_tab  TYPE STANDARD TABLE OF VBUVVB, "   
lv_tbnam  TYPE DD02L-TABNAME, "   
lt_i_vbuv_dia  TYPE STANDARD TABLE OF VBUVVB, "   
lv_fdnam  TYPE VBUVVB-FDNAM, "   
lt_i_vbap  TYPE STANDARD TABLE OF VBAPVB, "   
lt_i_lips  TYPE STANDARD TABLE OF LIPSVB, "   
lv_dia_visible  TYPE LIPSVB, "   
lv_i_vbtyp  TYPE VBAK-VBTYP, "   
lv_i_vbeln  TYPE VBAK-VBELN, "   
lv_i_vbak  TYPE VBAK, "   
lv_i_likp  TYPE VLGGT_LIKPVB_S. "   

  CALL FUNCTION 'EHS003_CHECK_INCOMPLETENESS'  "NOTRANSL: EHS: Überprüfung auf Vollständigkeit
    EXPORTING
         DIALOG = lv_dialog
         FEHGR = lv_fehgr
         TBNAM = lv_tbnam
         FDNAM = lv_fdnam
         DIA_VISIBLE = lv_dia_visible
         I_VBTYP = lv_i_vbtyp
         I_VBELN = lv_i_vbeln
         I_VBAK = lv_i_vbak
         I_LIKP = lv_i_likp
    TABLES
         I_VBUV_LAST = lt_i_vbuv_last
         I_VBUV_TAB = lt_i_vbuv_tab
         I_VBUV_DIA = lt_i_vbuv_dia
         I_VBAP = lt_i_vbap
         I_LIPS = lt_i_lips
    EXCEPTIONS
        OTHERS_ = 1
. " EHS003_CHECK_INCOMPLETENESS




ABAP code using 7.40 inline data declarations to call FM EHS003_CHECK_INCOMPLETENESS

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.

DATA(ld_dialog) = 'X'.
 
 
 
"SELECT single FEHGR FROM TVAP INTO @DATA(ld_fehgr).
 
 
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_tbnam).
 
 
"SELECT single FDNAM FROM VBUVVB INTO @DATA(ld_fdnam).
 
 
 
 
"SELECT single VBTYP FROM VBAK INTO @DATA(ld_i_vbtyp).
 
"SELECT single VBELN FROM VBAK INTO @DATA(ld_i_vbeln).
 
 
 


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!