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: 

Conversion of Quantity from German to the US format

Former Member
0 Kudos

Is there any Function Module to convert Quantity from German format to the US format?

Ex: US Format 3,000.00 = German Format 3.000,00

Thanks and Regards,

Vijay

7 REPLIES 7

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can use the CURRENCY extension of the WRITE statement.

write us_value to de_value CURRENCY 'DEM'.

Check table TCURX for the german currency.

Regards,

Rich Heilman

Found the currency key....

Message was edited by: Rich Heilman

0 Kudos

Sorry, wrong table, try TCURC.

Regards,

Rich Heilman

0 Kudos

Use this.

write us_value to de_value CURRENCY 'DEM'.

Regards,

Ankur Bhandari

Former Member
0 Kudos

There is none, what you are talking about is a user formatting setting in the user profile. If the usr profile is set to US format, then the numbers will have the '.' as the decimal point and date in 'MMDDYYY' format. Go to SU01 and check your settings under defaults tab.

0 Kudos

Srinivas, does the currency key only handle the decimal places when you use it in a WRITE statement?

Regards,

Rich Heilman

0 Kudos

Sorry Rich, I didn't see your question until now. Yes, WRITE with currency key handles only the decimals not the format.

0 Kudos

Oh, at my company we really don't have to deal with that, this is the reason for my ignorance. Thanks for the info.

Regards,

Rich Heilman