cancel
Showing results for 
Search instead for 
Did you mean: 

alignment in script

Former Member
0 Kudos

Hi,

In script I have one field & I wanted to print that field in center alignment.

could anybody will suggest me how to do it?

i.e. &symbol&

Now i wanted to center align the above field.

Please tell me how to do for left alignment also.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Neha,

Create a paragraph format with alignment as centered and use that paragraph format to print the &symbol&.

Procedure:

1. Go to paragraph format.

2. Enter the paragraph format name for eg: PA and its description

3.In the Alignment option at right choose center and say save.

Now in the text node do like this:

PA &symbol&.

Br,

Laxmi

Former Member
0 Kudos

check these formats

<b>&SYMBOL& No formatting

&SYMBOL+4& Offset - Output begins here. Offset refers to formatted value

&SYMBOL(5)& Length - Output data in the specified length

&SYMBOL(I)& Suppress initial value - If the field has been initialized, nothing is output

&SYMBOL(Z)& Suppress leading zeros

&SYMBOL(C)& Compress blank spaces - Consecutice spaces are compressed into a single space. Leading spacesare suppressed.

&SYMBOL(R)& Right align output

&SYMBOL(S)& Operators are suppressed

&SYMBOL(*)& Dictionary length - The data length is defined by the ABAP dictionary

&SYMBOL(8.2)& Decimal format. Length 8 decimals 2

&'text1'SYMBOL'text2'& Text can be inserted before and after the symbol</b>

Regards

Prabhu

Former Member
0 Kudos

hi Neha,

this you can do while defining the paragraph for the text..i.e when create the paragraph....click on the paragraph tab,

you've two frames..in the second frame named as standard attibutes. In this frame, you'll find Text box labelled as Alignment. Select as Centered.

I'm sure this will work.

thanks

shamim.

Former Member
0 Kudos

Hi,

No I am not able to find the mentioned option.

I have one field in main window.

My requirement is only to make the field in center alignment.

Could you please tell me how to make in left alignment.

Please reply me asap.