SAP Knowledge Base Article - Public

1964592 - Error: GTIN XXX not Valid for UoM YYY; Checksum Digit is not Correct


You receive the following error message when trying to add a GTIN in the tab UoM Chanracteristics of a material. Error: GTIN XXX not valid for UoM YYY; checksum digit is not correct (while XXX is a GTIN number and YYY is an UoM).


SAP Business ByDesign

Reproducing the Issue

  1. Go to Product Data work center
  2. Select Materials view
  3. Find and select the material
  4. Click on Edit button
  5. Click on View All button
  6. Go to General Tab
  7. Navigate to the tab UoM Characteristics
  8. Either click on Add Row or edit an existing GTIN
  9. Click on Enter


The check digit (last digit) for global trade ID number are calculated by summing the odd position numbers and multiplying by 3, and then adding the sum of the even position numbers. The final digit of the result is subtracted from 10 to calculate the check digit (or left as is if already zero).

The error is caused because the GTIN you supplied is not in adherence to the above calculation.


Maintain the GTIN with check digit as per the above mentioned calculation. If you need an example to understand the calculation better, you can find it on the official GS1 website:

  • You can find an example how to calculate the check digit here:
  • You can also find a check digit calculator here:


GTIN code, unit, migrate material master data, , KBA , gtin , checksum digit , SRD-MD-PRD-PRD , Product , How To


SAP Business ByDesign all versions