‎2014 Sep 11 12:59 PM
Hi All,
I am facing an issue during barcode allignment in Smartforms. I am displaying 3 barcodes and all the 3 barcodes need to be Right alligned.
I have created a paragrph format and mentioned allignment as Right. Created character format with barcode. I am using both the paragraph and character format to display the barcode but the barcodes are not alligned properly.
SAP is considering a fixed length for the Barcode where as the barcode length is dependent on the value. Please help me on this issue. Also find the attached screen shot.
Thanks,
Vipin Madireddi
‎2014 Sep 11 1:43 PM
Dear Vipin,
Create a template.And create cell inside the template.Put the barcode on the right cell.Adjust the cell as per you reqirement.
it will work.
Best Regards,
Noufal P
‎2014 Sep 12 9:11 AM
Hi Noufal,
I have created a template and placed the cell in the right cell. But still I am still facing the same issue. Can you please help me on this.
Thanks,
Vipin M
‎2014 Sep 12 9:23 AM
Hi,
Could you download your test form and attach here as file (use advanced editor when replying in the thread view - not Communications view - to get to advanced editor and attach the file).
I do remember some allignment issues with barcodes, but it's been long time since I had to mess with them.
cheers
Janis
‎2014 Sep 14 7:17 AM
Hi Vipin,
I have created a template divided it in to two cell.And i put the barcode in the right cell and its working for me.
Regards,
Noufal P
‎2014 Sep 12 9:52 AM
SAPscript cannot right-align barcodes (the way it can do it for text) because it does not have the exact (data-dependent) width of the barcode at runtime. You need to position the barcodes using normal left-alignment, or possibly using a separate window for the barcodes. Right-aligned paragraph won't do it.
Regards,
Alex