on 02-26-2007 7:35 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.