on 04-06-2009 9:49 AM
Hi All,
In My requirement i need to align the amount field values properly.
Here the amount should be decimal justified and should appear one beneath the other.
Let us consider one example :
I have 3 fields which i am displaying:
Current Output:
1) Total Amount 1 56.24 USD
2) Total Amount 2 1000.00 USD
3) Total Amount Due. 2000.00 USD
Required Output:
1) Total Amount 1 56.24 USD
2) Total Amount 2 1000.00 USD
3) Total Amount Due. 2000.00 USD
Regards,
Bhanu.R
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As i said my earlier mail. move the currency values into character field and use the below statemnt to get the desired output.
data : v1 type c LENGTH 20.
WRITE / v1.
shift v1 left deleting leading space.
WRITE / v1.
It should work for you...
let me know if the problem still persisting
regards,
Sreenivasa sarma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhanu,
Your Required output should be :
Total Amount1 56.00 USD
Total Amount2 100.00 USD
Total Amount3 1000.00 USD
For above format use in variable simbol as '<' sign in bracket e.g. &Amount(<)&. For that move that values in Amount into Left Justified
Regards,
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Use the character variable to store the amount values and basically all character variables left aligned by default. so no need to bother about alignment.
Hope this will help you. if stilll the problem is persisting reply me.
regards,
Sreenivasa Sarma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'd suggest to use a pharagraph format with
tabs and alignment 'align with decimal character', that should work!
Cheers
Klaus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhanu,
I assume that you're using a smartstyle for your smartform!
In the smartstyle you should create a paragraph format to be used with your ammounts,
beside things like font, font size, etc. this paragraph format should have on or more tabulators
and part of those tabulators is the alignment, which should be 'Align with Decimal Characters' in your case!
Hope that helps
Klaus
Hi all,
The Required output should be :
Total Amount1 56.00 USD
Total Amount2 100.00 USD
Total Amount3 1000.00 USD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.