‎2006 Feb 05 9:35 AM
Hi all,
Is there any generalised function module which would convert one unit values to others....i have tried UNIT_CONVERSION_SIMPLE...but wen testing it is showing invalid_input exception...
kindly help!!
‎2006 Feb 05 10:58 AM
HI Srinivas
There are Several Function Module...
Check out there functionality as per your requirement...
·
CONVERSION_FACTOR_GET
ROUND
SI_UNIT_GET
UNIT_CONVERSION_WITH_FACTOR
UNIT_CORRESPONDENCE_CHECK
UNIT_GET
UNIT_CONVERSION_SIMPLE
CONVERT_TO_LOCAL_CURRENCY
- Conversion of currencyHRCM_AMOUNT_TO_STRING_CONVERT
- Convert amount to stringHRCM_STRING_TO_AMOUNT_CONVERT
- Convert amount from stringCLOI_PUT_SIGN_IN_FRONT
Move the negative sign from the left hand side of a number, to the right hand side of the number. Note that The result will be left justified (like all
CONVERT_TO_FOREIGN_CURRENCY
CONVERT_TO_LOCAL_CURRENCY
Convert from foreign currency to local currencyDo Reward Points to replies if found useful...
Cheers:)
Mithlesh
‎2006 Feb 05 9:43 AM
Hi
Write a little program to test that function.
If you test it by SE37, fm can't understand the input is numeric field, but it's a char field for it.
Max
‎2006 Feb 05 10:58 AM
HI Srinivas
There are Several Function Module...
Check out there functionality as per your requirement...
·
CONVERSION_FACTOR_GET
ROUND
SI_UNIT_GET
UNIT_CONVERSION_WITH_FACTOR
UNIT_CORRESPONDENCE_CHECK
UNIT_GET
UNIT_CONVERSION_SIMPLE
CONVERT_TO_LOCAL_CURRENCY
- Conversion of currencyHRCM_AMOUNT_TO_STRING_CONVERT
- Convert amount to stringHRCM_STRING_TO_AMOUNT_CONVERT
- Convert amount from stringCLOI_PUT_SIGN_IN_FRONT
Move the negative sign from the left hand side of a number, to the right hand side of the number. Note that The result will be left justified (like all
CONVERT_TO_FOREIGN_CURRENCY
CONVERT_TO_LOCAL_CURRENCY
Convert from foreign currency to local currencyDo Reward Points to replies if found useful...
Cheers:)
Mithlesh