‎2007 Dec 01 6:24 AM
Hi in my driver program for smartform i am using following function module
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
CURRENCY = 'YTL'
AMOUNT_INTERNAL = IT_FINAL_DATA-NETPR
IMPORTING
AMOUNT_EXTERNAL = IT_FINAL_DATA-NETPR1
.
ENDLOOP.
its giving output like :
IT_FINAL_DATA-NETPR 100.00
IT_FINAL_DATA-NETPR1 100.0000
wherein if i execute the same function module with se37
its giving output 100,0000
what can be the problem..pls help..
‎2007 Dec 01 7:18 AM
‎2007 Dec 01 7:09 PM
Hi Dhananjay,
I think this is not a big problem. In fact, the value with '.' is the internal format, the way to distingue numeric and decimal part, and the value with ',' is the external format.
May be you have to check in your own data which is the ouput format.
In other case, I've done a replace '.' by ',' several times.
Regards.