SAP GDS_CHECK_EAN Function Module for NOTRANSL: Änderung bzgl. Haupt-EANs prüfen









GDS_CHECK_EAN is a standard gds check ean 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: Änderung bzgl. Haupt-EANs prüfen 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 gds check ean FM, simply by entering the name GDS_CHECK_EAN into the relevant SAP transaction such as SE37 or SE38.

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



Function GDS_CHECK_EAN 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 'GDS_CHECK_EAN'"NOTRANSL: Änderung bzgl. Haupt-EANs  prüfen
EXPORTING
* IV_GDS_RELEVANT = ' ' "Indicator: Global Data Synchronization-Relevant
IV_MEINH = "Structure of Table MEINH (Created for Update Program)
IV_EAN11 = "International Article Number (EAN/UPC)
* IV_MESSAGE = ' ' "
* IV_DELETION_CHECK = ' ' "Checkbox
* IV_CHECK_657 = 'X' "Checkbox
* IV_HERKUNFT = ' ' "Propose Field Content from the Reference

IMPORTING
EV_ERROR = "Single-Character Indicator

TABLES
* IT_MEAN_ME_TAB = "Structure of Table MEINH (Created for Update Program)
* IT_MEINH = "Structure of Table MEINH (Created for Update Program)
.



IMPORTING Parameters details for GDS_CHECK_EAN

IV_GDS_RELEVANT - Indicator: Global Data Synchronization-Relevant

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

IV_MEINH - Structure of Table MEINH (Created for Update Program)

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

IV_EAN11 - International Article Number (EAN/UPC)

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

IV_MESSAGE -

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

IV_DELETION_CHECK - Checkbox

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

IV_CHECK_657 - Checkbox

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

IV_HERKUNFT - Propose Field Content from the Reference

Data type: T130F-KZREF
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for GDS_CHECK_EAN

EV_ERROR - Single-Character Indicator

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

TABLES Parameters details for GDS_CHECK_EAN

IT_MEAN_ME_TAB - Structure of Table MEINH (Created for Update Program)

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

IT_MEINH - Structure of Table MEINH (Created for Update Program)

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

Copy and paste ABAP code example for GDS_CHECK_EAN 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_ev_error  TYPE CHAR1, "   
lt_it_mean_me_tab  TYPE STANDARD TABLE OF MEANI, "   
lv_iv_gds_relevant  TYPE GDS_RELEVANT, "   SPACE
lt_it_meinh  TYPE STANDARD TABLE OF SMEINH, "   
lv_iv_meinh  TYPE MEINS, "   
lv_iv_ean11  TYPE EAN11, "   
lv_iv_message  TYPE EAN11, "   SPACE
lv_iv_deletion_check  TYPE XFELD, "   SPACE
lv_iv_check_657  TYPE XFELD, "   'X'
lv_iv_herkunft  TYPE T130F-KZREF. "   SPACE

  CALL FUNCTION 'GDS_CHECK_EAN'  "NOTRANSL: Änderung bzgl. Haupt-EANs prüfen
    EXPORTING
         IV_GDS_RELEVANT = lv_iv_gds_relevant
         IV_MEINH = lv_iv_meinh
         IV_EAN11 = lv_iv_ean11
         IV_MESSAGE = lv_iv_message
         IV_DELETION_CHECK = lv_iv_deletion_check
         IV_CHECK_657 = lv_iv_check_657
         IV_HERKUNFT = lv_iv_herkunft
    IMPORTING
         EV_ERROR = lv_ev_error
    TABLES
         IT_MEAN_ME_TAB = lt_it_mean_me_tab
         IT_MEINH = lt_it_meinh
. " GDS_CHECK_EAN




ABAP code using 7.40 inline data declarations to call FM GDS_CHECK_EAN

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_iv_gds_relevant) = ' '.
 
 
 
 
DATA(ld_iv_message) = ' '.
 
DATA(ld_iv_deletion_check) = ' '.
 
DATA(ld_iv_check_657) = 'X'.
 
"SELECT single KZREF FROM T130F INTO @DATA(ld_iv_herkunft).
DATA(ld_iv_herkunft) = ' '.
 


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!