Application Development and Automation 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: 
Read only

Quantity barcode not readable by scanner

Former Member
0 Likes
995

Hi Experts,

We have a requirement to print quantity of type RESBD-BDMNG value as barcode in SAPscript.

So I used the barcode standard MBBARC to print as barcode. It is getting print in the output, but not readable by scanner. I tried changing the quantity type to character format also, but still not readable.

Please help me out?

regards

Saravanan

5 REPLIES 5
Read only

Former Member
0 Likes
767

Hi Saravraj,

The problem would be due to improper printing of the bar code. It is not because of the Scanner. Please follow the below link to check for the settings required for printer to get a Proper Bar Code.

[Scripts Barcode|http://sap-img.com/abap/details-information-about-sap-barcodes.htm]

Regards,

Amit.

Read only

0 Likes
767

Hi Amit,

Thanks for your quick answer.

But if you see, I am printing material number (MATNR) as barcode in the same layout. I used the same barcode standard MBBARC also for the quantity field (BDMNG). The problem is that the scanner can able to read material number but not quantity at all.

regards

Sarav

Read only

0 Likes
767

which symbology are you using? it MAY be that when the value is converted for output the system is putting characters into the field that are not supported by your symbology. for example, code 39 supports a period, but not a comma. you may want to try and strip the commas out before printing:


write bdmng to wrkfield
replace all occurrences of ',' in wrkfield with ' '.
condense wrkfield no-gaps.

just a thought (btw, i keyed this from memory, so sytax may be a bit off)

dave

Read only

0 Likes
767

Hi David,

Thanks for your input.

We use standard barcdode standard: MBBARC

As you said, I stripped out all commas, and periods. from the quantity field and print it SAPscript this way " &GV_BDMNG(CT)&", so the quantity barcode will display only digits, but still it is not readable by scanner.

regards

Sarav

Read only

0 Likes
767

very strange. we do not print barcodes this way (sapscript), so it is hard for me to say. one last thing i might suggest is to change from a bar code to a regular font and see EXACTLY what is printing out. maybe something is printing you do not expect.

since i am not a sapscript expert, i cannot speak to how you have formatted the field, but it looks wierd to me.

anyway, thats the only other thing i can think of. sorry.