Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Alignhment problem

Former Member
0 Likes
340

How to change the alignhment of a price field in a sap script without affecting the over all alignment.

2 REPLIES 2
Read only

Former Member
0 Likes
317

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).

Read only

Former Member
0 Likes
317

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