Symptom
When entering an EAN/GTIN number you receive the error as below:
"The EAN & has an incorrect check digit
Column: Main GTIN
Diagnosis
By means of the check-digit algorithm for this EAN, the system has found that you have entered an incorrect check digit.
Procedure
Correct the check digit.
Message no. WE218 "
(where "&" is an EAN/GTIN number)
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Manage Product Master Data (F1602) app.
- In Create or Edit mode navigate to the Units of Measure section.
- For the relevant Unit of Measure enter a Main GTIN and GTIN Category.
- Error appears.
Cause
At this point in the process there are two GTIN digit checks, performed as below. Both of which trigger error WE218.
- The GTIN check indicator triggers the GS1 Check Digit Calculator (https://www.gs1.org/services/check-digit-calculator).
This check ensures the GTIN number is formatted correctly as per International Standards. - There is also a separate check ran to ensure the entered GTIN Number is contained in the number range defined for the respective EAN/GTIN Category as defined in configuration activity Define Number Ranges for EANs/UPCs (103680).
Resolution
Both the GTIN check indicator and the required Number Range are maintained in configuration activity Define Attributes of EANs/UPCs (102782).
- Open the Manage Your Solution app.
- Choose Configure Your Solution.
- Locate the Product configurations.
- Navigate to Define Attributes of EANs/UPCs (102782) and Configure.
- Select the relevant EAN/GTIN Category.
- Check-digit algor. is the field for the GTIN check indicator.
- Ext. number range is the relevant field for the number range.
The number ranges themselves are defined in configuration activity Define Number Ranges for EANs/UPCs (103680).
- Open the Manage Your Solution app.
- Choose Configure Your Solution.
- Locate the Product configurations.
- Navigate to Define Number Ranges for EANs/UPCs (103680) and Configure.
For more information on maintaining Number Ranges see the See Also section below.
See Also
- KBA 2594841 - Error message "The EAN has an incorrect check digit"
- SAP Help Portal: How to set correct EAN or GTIN numbers.
- SAP Community: How does number ranges works in Product Master SAP S/4HANA Public Cloud?
Keywords
ean, gtin, check digit, incorrect check digit, product master, internal number range, barcode, gs1 calculator, ean category, error message, ean validation, product data, public cloud , KBA , LO-MD-MM-2CL , Product Master for Public Cloud , Problem
SAP Knowledge Base Article - Public