Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the format of the currency

Former Member
0 Kudos

Hi Experts,

I have a variable gv_value which is printing my value as

10,30 ,but the requirement is to get it printed as 10.30,

Please advice

6 REPLIES 6

Former Member
0 Kudos

go to su01.

give your user name...

change...

goto defaults tab...

change the decimal notation...and save...

or

goto menu system->user profile-> own data->defaults tab-> change decimal notation

Former Member
0 Kudos

Hi,

Try this :

DATA int TYPE i VALUE 12345678.

WRITE int NO-GROUPING CURRENCY 'EUR'.

Thanks,

Sriram Ponna.

Former Member
0 Kudos

Hi,

Do like this

TRANSLATE gv_value with '. '.

OR

Replace all occurrences of ',' in gv_value with '.' .

Regards,

Satish

Former Member
0 Kudos

hi,

CONVERT_TO_LOCAL_CURRENCY - Conversion of currency

Hope this helps, Do reward.

Former Member
0 Kudos

Hi,

The default format of currency in your profile is to be changed.

Follow this menu path :

System->User Profile->Own Data->Defaults (Tab).

Here you can change your currency format.

Hope that helps.

Cheers,

Ravish

Former Member
0 Kudos

Hi ,

are dispalying the value in alv or i the classical report using WRITE statement.

if u are using write statement then

WRITE: num1 CURRENCY 'USD'.

here num1 is the value and USD is the type of currency...like USD , INR, GBP etc

if u are using a list display or grid dispaly add one more field in the internal table to capture currency format and link this field to value field..

Rewards points if useful.

Regards,

Kiran