06-24-2015 2:10 PM
Dear Champs,
I have one issue, in my company barcode is printing with smartform. but issue is whenever length of barcode number is odd then system is adding one zero in barcode number and make it even number.
So , How to resolve this?
Ex : My barcode number is : 1234567 then when i print this then system will print barcode with 01234567.
and if my barcode number is : 12345678 then system will print my barcode perfectly like *12345678.
If want to system do not add barcode with additional zero at the time of printing.
Regards,
Satyen Trivedi
06-24-2015 3:11 PM
What is the TYPE of this field?
Also, is it only while printing? Did you checked it in debug mode the field value.
06-25-2015 6:44 AM
Dear Harsh,
Yes I have checked that when I check spool file , barcode number is displayed correctly but at the time of printing one more zero is adding. I think there should be printer setting issue in SAP.
Regards,
Satyen Trivedi
06-30-2015 6:25 AM
Hi Satyen..
For 8 digit character if it is printing correctly, then that won't be printer issue.
i hope you can use FM CONVERSION_EXIT_ALPHA_OUTPUT to remove the zeros, before generating the barcode, use the FM CONVERSION_EXIT_ALPHA_OUTPUT and remove zeros in the appropriate variable.
Regards
Rajkumar Narasimman
06-30-2015 1:02 PM
Dear Rajkumar,
Yes,,,, but my smartform is working correctly. I can checked in my spool file with correct barcode.
But when I print this barcode , then one zero is added.
Regards,
Satyen Trivedi
06-30-2015 9:46 AM
Hi Satyen ,
Try these. to remove zero's (Z) ..
Example:
&GW_VBAP-POSNR(Z)&
Kabil