‎2007 Feb 12 9:57 AM
How to change the alignhment of a price field in a sap script without affecting the over all alignment.
‎2007 Feb 12 10:01 AM
just make two commas before that field. this defines a tabulator.
in the TAB "tabulators" you can define an alignment for THAT tabulator.
another trick is: right behind your element BEFORE the closing & install following: (R).
‎2007 Feb 12 10:03 AM
make use of there commands
<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>
along with TAB attributes.
regards
Prabhu