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

Space Issue in-between Bar code and value in Samrtform

Former Member
0 Likes
2,288

Hi Gurus,

There was a Smart from where Bar code should come first and Value next(side by side) as below (In Screen 1) :

Screen 1  .

But for me when testing there was a lot of gap/space in-between the two values as shown below ( In Screen 2).

Screen 2  .

The  fields in  Smart form Text Element are placed side by side as below ( In Screen 3) .

And BC is a Character Bar code in styles and A1 is default character style ,  A2 is Paragraph Formats in styles.

The length of GS_Doc-fablinecode is Char with length 4.

Screen 3.

I am not getting why their is a lot of  Space  in-between the Bar code and value (as shown in screen 2).

Please help me to solve this.

Thank you so much .

Regards

Abhinav Nallani.

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
2,069

Hi,

it's because you used a barcode with large number. If you barcode is something like 20 characters. When you write 1135 the program lets the empty space corresponding to the 16 characters you didn't wrote.

Simple solution is to write first the number, second the barcode.

Or to write the number behind the barcode

I'm not sure you could right justify a barcode ..

regards

Fred

6 REPLIES 6
Read only

FredericGirod
Active Contributor
0 Likes
2,070

Hi,

it's because you used a barcode with large number. If you barcode is something like 20 characters. When you write 1135 the program lets the empty space corresponding to the 16 characters you didn't wrote.

Simple solution is to write first the number, second the barcode.

Or to write the number behind the barcode

I'm not sure you could right justify a barcode ..

regards

Fred

Read only

surajarafath
Contributor
0 Likes
2,069

Hello Abhinav,

Usually barcode will occupy some empty space after it displays (not sure why it is ) and displays the data after that space.

For your requirement to achieve..

You can use template or table line with defined column lengths for each data to be displayed.

Display barcode in one column and data in another column.

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
2,069

Hi Abhinav

Please write number first and then bar code. It usually because of empty characters

Nabheet

Read only

madhu_vadlamani
Active Contributor
0 Likes
2,069

Hi Abhinav,

1) Check the fonts

2) Check the length of the fields

Read only

Former Member
0 Likes
2,069

Hi Abhinav,

                  The Barcode format that you have shown here both could be of different types may be that's the reason, please try with other available barcode formats for the corresponding character format.

Try PDF417,

      CODE128,

  for Barcode formats!

Please mark the thread as answered If you have found the solution and also Pls share the solution so that it will be useful for others with same issue.

Regards,

Santhosh

Read only

Former Member
0 Likes
2,069

Thank you so much for all the suggestions.

@Fred: Your reply helped alot. From your reply I concluded that the issue is with the length of Barcode.

@playsuji s: Your reply helped in my case. But I believe this will not work in all the cases where the length variation is more.

@nabheet, madhu, santhosh: thanks all.

Regards,

Abhinav Nallani