on 08-12-2008 4:17 PM
Hi,
i have a problem in diplaying the currency field which is having 6 decimals.
data type unitprice - curr(15,6)
unit price is 25.000000. But in alv webdynpro output it's displayed as 250,000.00. node is having the "waers" field.
Any suggestions to tackle this issue?
Thanks,
Arun
Hi Arun
In node make the data type of the 'waers' field as string,It will solve your issue
Hope this helps U
Thanks and regards
Tamilselvan.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have solved this issue. Thanks everyone for your inputs.
Problem :
UNITPRICE is of type curr(15,6) , WAERS is of type cuky(5,0) which is USD in my case. Because UNITPRICE is referenced to WAERS, it inhibits its property. Hence it displayed 250,000.00 instead of 25.000000.
Solution :
I have removed the reference of WAERS to UNITPRICE and made the datatype of UNITPRICE to DEC(15,6). This displayed the UNIPRICE as 25.000000.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
Did you add waers field in the node individually or add Dictionary structure which have wears fild in the node.
In second case, it will be displayed automatically.
But in first case, you have to add some code maually.
Use method SET_ATTRIBUTE_REFERENCE_FIELD in interface IF_WD_CONTEXT_NODE_INFO.
Soo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you link currency reference field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.