cancel
Showing results for 
Search instead for 
Did you mean: 

Text alignment in sapscript...

aris_hidalgo
Contributor
0 Kudos

Hello Experts,


In my main window, I am showing 4 different variables at the same line. But my problem is, when one of
those variables does not have a value, then the alignment will not be the same. 

For example:

/	&REGUP-XBLNR&,,&REGUP-BLDAT&,,&REGUP-SGTXT&,,&REGUP-DMBTR&

So it shows as:
	TEST		11/12/2008	TESTING...	1000		

But if one the variables does not have a value for instance &REGUP-XBLNR&, then the alignment 
will be as follows:

	11/12/2008	TESTING...	1000

So how do we fix this kind of problem? Thank you guys and take care!

Edited by: Viraylab on Nov 12, 2008 2:40 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member182354
Contributor
0 Kudos

Hi,

Use tabs option in paragarph formats in that script.

Raghav

Answers (3)

Answers (3)

aris_hidalgo
Contributor
0 Kudos

Hi Guys,

It is still the same if some variables are null.

Former Member
0 Kudos

create a Paragraph format say P1

1 tab - 1 CH

2 tab - 20 ch

3 tab - 31 ch

4 tab - 84 ch

5 tab - 100 ch

P1 ,,&REGUP-XBLNR&,,&REGUP-BLDAT&,,&REGUP-SGTXT&,,&REGUP-DMBTR&

Former Member
0 Kudos

Hi,

Define TAB Positions in u r Paragraph and use that paragraph in u r text element.