‎2009 Jun 26 12:19 PM
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
‎2009 Jun 26 12:30 PM
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.
‎2009 Jun 26 12:37 PM
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
‎2009 Jun 26 1:53 PM
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
‎2009 Jun 29 6:31 AM
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
‎2009 Jun 29 1:10 PM
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.