cancel
Showing results for 
Search instead for 
Did you mean: 

Scripts, paragraph formats

Former Member
0 Kudos

Hi all!

In scripts-> Paragraph formats, we have tabs :standard,font,tab,outline right?There are no. of options to mention the tab postion and correspnding allignment for a paragraph format right?How can we make use of those many tab positions for the same paragraph format? And for these tab positions, I have seen an allignment option 'SIGN'.What is this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The tabs you define in you SAPscript have the same function as they would in a Word document, and in SAPscript are the only way of aligning columns.

In your SAPscript text element you need to seperate fields with ,, to push the next field out to the next tab position, e.g. &FIELD1&,,&FIELD2&,,&FIELD3&

In defining the tabs SIGN is used to line up decimal values, so for example 101.34, 34.00 and 1256.56 all have different lengths and you wouldn't want them aligned by the first digit so SIGN in the tab definition aligns by the sign of the number (i.e. at the left).

Regards,

Nick

Former Member
0 Kudos

Hi Nick!

In a script paragraph format , what I have watched is,

1st tab has value 10 ch and 2nd tab has value 20ch.

Does it mean that for the 1st time you use ',,' in your text element ,it will give a tab space of 10ch and for the 2nd time , 20 ch space?

Former Member
0 Kudos

yes

Former Member
0 Kudos

Thank u madhavi.

Former Member
0 Kudos

No.

The tab defines the position from the left margin, not the distance from the last tab. In your example you have tabs 10 characters apart. Lets say you have three fields, &FIELD1&, &FIELD2& and &FIELD3&, each is five characters (and contains the numbers 12345) your text element has the following;

&FIELD1&,,&FIELD2&,,&FIELD3&

The line will be (using dots to indicate spaces)

12345.....12345.....12345

The tab will go to the next available position, so if your first variable is 12 character long you'll get &FIELD2& at position 20, as you've already passed position 10.

Regards,

Nick

Former Member
0 Kudos

Ok Nick ,thank you. I got your point now. Thank you so much.

Answers (1)

Answers (1)

Former Member
0 Kudos

The Main Use of Tab is to fix postion of columns in a layout.

if u have 2 fields to display in a layout nad if u want to dispaly 2nd field from 4 CM from left margin

U will maintain 1 tab 4 CM then

&1st Field&,,&2nd field& then second field will exactly starts at 4 CM from left margin.

and you have allignment for the tab. that specifies left right or center

Regds,

Suresh