Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM LE_EAN128_DECODE not able to read AI(10) batch number due to variable length

former_member266852
Active Contributor
0 Kudos

Hi all,

We are using FM LE_EAN128_DECODE and passing following value to FM

]2d0100359746121068171801001015P07192112345678901231

FM is perfectly getting the value of GTIN (01), Exp dt.(17), Batch(10), Serial No. (21)

But here our batch number is variable and if I reduce the batch length FM is not taking batch no correctly. My problem is we can not fix the batch length and not sure how to use Delimiter function.

My current setting is.

capture.png

captur2e.png

3 REPLIES 3

JL23
Active Contributor
0 Kudos

If the batch number is numeric then you have leading zeros, if it is alpha or alpha numeric then you have tailing spaces.

former_member266852
Active Contributor
0 Kudos

Thank you Jurgen for your prompt response.

Our batch number is alpha-numeric.

Currently our barcode scanner is reading the batch with length 7 character as per configuration but if we pass 5 character with AI(10) it is taking again 7 character (last two character of other AI). Here we are not able to identify how we can use the variable length. Not sure if we are missing config or need development.

Kindly elaborate your suggestion in more detail so that we can take develop solution

Regards

Shambhu Sarkar

former_member695403
Discoverer
0 Kudos

Hi Shambhu,

I have the same problem you had with FM LE_EAN128_DECODE.

Could you tell me how did you solved this problem?

Thank you so much,

Michaela