Quantcast
Channel: SCN : All Content - SAP Extended Warehouse Management (SAP EWM)
Viewing all articles
Browse latest Browse all 1703

UCC-128 SSCC Check Digit Calculation- SAP FM

$
0
0

Hi,

 

Is there any standard function module in SAP EWM system to calculate check digit for SSCC (EAN 128). i am aware of the logic behind the calculation but why to re-invent the wheel if it exist already.

 

The logic to calculate:

 

(00)00872150999000002


Disregard the application identifier:
(00)
The UCC SSCC barcode uses a function code 1. Therefore, 1 is the first digit in the string to evaluate.
Therefore, the string to evaluate is:
100872150999000002

  1. Starting from position 2 of the number, add up the values in even numbered positions.
    0 + 8 + 2 + 5 + 9 + 9 + 0 + 0 + 2 = 35
  2. Multiply the result of step 1 by 3.
    35 x 3 = 105
  3. Starting from position 3 of the number, add up the values of the digits in odd-numbered positions:
    0 + 7 + 1 + 0 + 9 + 0 + 0 + 0 = 17
  4. Add up the results of steps 2 and 3.
    105 + 17 = 122
  5. The check character is the smallest number that when added to the result obtained in Step 4 gives a number that is a multiple of 10.
    122 + x = 130 (multiple of 10)

    Eight is the number that when added to 122 results in a multiple of 10. Therefore, the check character is 8.

 

Let me know if anyone is aware of standard FM to do the task for me


Viewing all articles
Browse latest Browse all 1703

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>