‎2009 Jan 09 5:13 PM
Hi Frineds,
I am facing some currency error, I am getting currency value like 1000012,59, after comma 2 decimals but in comma place I have to replace with "." dot, is any function module is available for this or any other way to solve.
Can you any one hlep.
Thanks,
Gourisankar.
‎2009 Jan 09 5:47 PM
First of all check your settings in user profile. the format you are getting is german format. Search in se37 using Convertcur else write your own using replace statement. Press f1 on replace statement, you will see the help
‎2009 Jan 10 11:15 AM
Hi ,
DATA : V_FORMAT LIKE VFKP-NETWR
Use this FM :
CALL FUNCTION SD_CONVERT_CURRENCY_FORMAT
EXPORTING
I_CURRENCY = INR
IMPORTING
E_CURRENCY_INT_FORMAT = V_FORMAT
CHANGING
C_CURRENCY_EXT_FORMAT = 23444
EXCEPTIONS
WRONG_FORMAT = 1
OTHERS = 2
.
WHEN U EXECUTE THIS FM YOU WILL GET OUTPUT IN INDIAN CURRENCY IN VARIABLE :
V_FORMAT .
IT WILL WORK
REGARDS
NILESH JAIN .
‎2009 Jan 10 9:05 PM
hi,
use SD_CONVERT_CURRENCY_FORMAT
CONVERT_TO_LOCAL_CURRENCY
CONVERT_TO_FOREIGN_CURRENCY
thanks
‎2009 Jan 11 12:14 AM
If the field is character-like, just use this ABAP statement:
TRANSLATE <your_field_name> USING ',.'.