cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_CURRENCY_CONV_TO_EXTERNAL

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member195383
Active Contributor
0 Kudos

Hi,

The format u are getting in ur smartform output depends on the settings in <b>SU3.</b> If u ll check thr...<b>SU3(Tcode)>Defaults>Decimal Notation</b>. U ll find that it will be normal the standard that we follow.So u are getting 100.000.

But for the currency YTL,the correct format is 100,000

So u are getting the same form the function module.

If u wanna get it also from the smartform then change the settings in SU3.

<b>SU3(Tcode)>Defaults>Decimal Notation</b>.

change the decimal notation thr.U ll get the output as 100,000 even from the smartform.Because smartform output depends on the settings in SU3 only.

Reward if useful.......

Regards

Rudra