Application Development and Automation 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: 
Read only

Currency display

Former Member
0 Likes
734

Hi,

In my output list currency is displayed as 10.500,50

But i want to display as 10,500.50

Edited by: Alvaro Tejada Galindo on Feb 19, 2008 5:05 PM

Hi,

In my output list currency is displayed as 10.500,50

But i want to display as 10,500.50

Edited by: Alvaro Tejada Galindo on Feb 19, 2008 5:05 PM

5 REPLIES 5
Read only

Former Member
0 Likes
713

use the unit addition of the statement and with it use the according unit.

Read only

Former Member
0 Likes
713

This comes from your user settings.

Go to menu

- System

- User Profile

- Own Data

- Tabstrip Defaults

Her you can maintain your default settings.

Change your settings and save

Regards,

Michael

Read only

Former Member
0 Likes
713

Hi,

Plz try the function module HRCM_STRING_TO_AMOUNT_CONVERT.

Am attaching a piece of code with examples of the same.

DATA:output TYPE P DECIMALS 2.

CALL FUNCTION 'HRCM_STRING_TO_AMOUNT_CONVERT'

EXPORTING

STRING = '10000'

DECIMAL_SEPARATOR = '.'

THOUSANDS_SEPARATOR = ','

WAERS = ' '

IMPORTING

BETRG = output.

WRITE: output. "10,000.00

<REMOVED BY MODERATOR>

Edited by: prosenjit chaudhuri on Feb 19, 2008 12:48 PM

Edited by: Alvaro Tejada Galindo on Feb 19, 2008 5:06 PM

Read only

Former Member
0 Likes
713

THIS PROCEDURE IS BY CHANGING SETTGS :

In your user profile, change the decimal format you are currently using.

System->User Profile->Own data.

Go to defaults tab and then change your decimal notation.

or

Replace all occurences of ',' in <var name> with '.'.

Also check this too.

Read only

Former Member
0 Likes
713

Hi,

Go to SU01 --> Input user id --> Display --> go to default tab -- Chnage the decimal notation to 1,234,567.89.

Thanks,

Sriram Ponna.