cancel
Showing results for 
Search instead for 
Did you mean: 

In iview, Currency fromat should be same as R/3 fromat

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Kishore

Try to check out the link

In this Valery expalins the format with code

Some other related links

Here is the solution

Thanks

Tulasi

Edited by: Tulasi Palnati on Jul 21, 2009 8:06 AM