on 07-21-2009 6:57 AM
Hi Experts,
I have an iview with table UI element.
It has Currency as one of the column..Format of Currecy is country specfic in R/3.
Ex:
R/3 Value of Currency: 12.99.200,00
When we try to display Currency Value in iview, It is displayed as below
Value shown in iview: 12,99,200.00
here . is replaced by , and , is replaced by .
The Problem is we need to display as it is present in R/3. Please help me in this regard (with out browser settings) through code changes
Regards
Kishore.
Edited by: kishore shikore on Jul 21, 2009 7:58 AM
Hi,
As it was said in the above post, try to assign the value to a string split the string and convert it to the required format.
Have a work around like here under..
String text = currency;
String[] words=text.split(",""); //this code splits your string at ,
//append the string with .
String newtext = words[0]"."words[1]"."word[2];
//here the newtext string will be in the format 12.34.345
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Retrive R/3 currency value and store that in String variable.
Explicitly you write String replacment code and assign that to view.
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.