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

BAPI_CURRENCY_CONV_TO_EXTERNAL

Former Member
0 Likes
1,145

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..

2 REPLIES 2
Read only

Former Member
0 Likes
699

Guys pls help....this is urgent.

Read only

0 Likes
699

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.