cancel
Showing results for 
Search instead for 
Did you mean: 

Align Currency Fields

Former Member
0 Kudos

I've created a template where a I need to print many currency fields.

Sometimes this field have value '0,00' and the field is not showed correctly aligned.

I'm using right alignment.

e.g.

18.375,00

0,00

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try to Move the value into Character field and Set Right alignment ( either Character / paragraph format).

OR

sometimes it happens in smartform templates. Try increase the width of the template cell .

Hope any 1 of this will work.

Thx

Parthi

*Reward point if useful.

Former Member
0 Kudos

It worked.

I've increased the width of the cell.

Thanks a lot.

Answers (4)

Answers (4)

Former Member
0 Kudos

dd

Former Member
0 Kudos

I tried it all but it does not work when value is '0,00'.

Former Member
0 Kudos

hi

these are some of the formatting options availbale


&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

former_member784222
Active Participant
0 Kudos

Hi,

You need to set tabs with Alignment : RIGHT and try.

You can do this by creating paragraph format, click on 'tabs' button and set the tab position with the alignment ( left, right, center ).

If you use this paragraph format for the line that you print, the alignment will be uniform throughout.

Just try and revert.

Thanks and regards,

S. Chandra Mouli.

Former Member
0 Kudos

hi

Make sure u r using the right allignment, once again check

and use this formatting<b> (C)</b>option example <b>&v_variable(c)&</b>.

i hope it solves u r problem

Please Close this thread.. when u r problem is solved. Reward if Helpful

Regards

Naresh Reddy K