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

reg currency

Former Member
0 Likes
833

HI EXPERTS,

I WANT 1234567890.12 THIS CURRENCY COULD BE DISPLAYED AS 1,23,45,67,890.12

IN O/P SCREEN.

THANKS,

KALYAN........

HI EXPERTS,

I WANT 1234567890.12 THIS CURRENCY COULD BE DISPLAYED AS 1,23,45,67,890.12

IN O/P SCREEN.

THANKS,

KALYAN........

5 REPLIES 5
Read only

Former Member
0 Likes
759

Hi,

Try using the FM CONVERT_TO_LOCAL_CURRENCY.

Regards,

Himanshu

Read only

Former Member
0 Likes
759

Hi Kalyan,

Just use WRITE with CURRENCY addition.

Regards,

Atish

Read only

Former Member
0 Likes
759

Hi,

Try using the below

write lv_currency USING EDIT MASK '__,___,___.__'.

Reward Points if helpful.

Thanks and regards,

Litta

Read only

Former Member
0 Likes
759

Hi,

You can also use the below Function module.

BAPI_CURRENCY_CONV_TO_EXTERNAL

Thanks and Regards,

Litta.

Read only

Former Member
0 Likes
759

If the Currency format is to be set according to a Country/client

Then u need to use the statement :-

SET COUNTRY f .

Where "f" is the country id specfied in table T005X.

E.g:-

DATA : amount TYPE p DECIMALS 2 value '123456789012'.

SET COUNTRY 'CN'. " (CN- China)

IF SY-SUBRC = 4.

WRITE: / COUNTRY, ' is unknown'.

ENDIF.

WRITE: / amount.

This would also be helpful.