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 decimal format

Former Member
0 Likes
8,896

Hi,

I wanted to know if there is any table which stores the currency format for decimal places. for e.g some currencies use a period to indicate the decimal place while some use a comma.

if the amount is 127.54

in USD it will be 127.54

in FRF it will be 127,54

Is there any table which stores this information as to which currencies use comma and which use period.

Thanks,

Prasy

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
2,475

Hi

table TCURX

Hi,

I wanted to know if there is any table which stores the currency format for decimal places. for e.g some currencies use a period to indicate the decimal place while some use a comma.

if the amount is 127.54

in USD it will be 127.54

in FRF it will be 127,54

Is there any table which stores this information as to which currencies use comma and which use period.

Thanks,

Prasy

9 REPLIES 9
Read only

former_member156446
Active Contributor
0 Likes
2,476

Hi

table TCURX

Read only

0 Likes
2,475

>

> Hi

> table TCURX

TCURX stores the number of decimal places, not the decimal format.

Perhaps you're thinking of the question asked yesterday

Rob

Read only

0 Likes
2,475

Hi,

I was able to find the number of decimal places for each currency in the table TCURX...but in case a particular currency's data is not stored in this table3, is there any other alternate table that i could look at?

Thanks,

Prasy

Read only

former_member156446
Active Contributor
0 Likes
2,475

In table GLPCT you will find a field RTCUR that is uses as reference

field for all CURR fields in transaction currency, and t001-waers for

all CURR fields in company currency[.|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/wrong-currency-format-1491682#]

[more help|http://help.sap.com/saphelp_scm50/helpdata/en/9f/dba1ef35c111d1829f0000e829fbfe/frameset.htm]

Read only

Former Member
0 Likes
2,475

I think the decimal format is controlled by the user setting not the currency being output. For example:

REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.
DATA: amt TYPE bseg-dmbtr VALUE '123.45'.
WRITE: /001 amt CURRENCY 'FRF'.

gives output for me as:

123.45

Rob

Read only

former_member192897
Active Contributor
0 Likes
2,475

Check in User Master SU3 / SU01 & Global Settings OY01

Read only

Former Member
0 Likes
2,475

Hi,

Go to transaction OY01.

select the country and in that u change the decimal pt format.

regards

siva

Read only

Former Member
0 Likes
2,475

Hi,

I think this link solves your problem. http://help.sap.com/saphelp_scm50/helpdata/en/9f/dba1ef35c111d1829f0000e829fbfe/frameset.htm

(look for Special Output Formats in sap help).

Kind regards,

Florin

Read only

Former Member
0 Likes
2,475

Hi,

Pass curreny value in to write...Currency then will get correct out put format.

Regards

Md.MahaboobKhan