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

Problem in Smartform currency

Former Member
0 Likes
1,078

Dear all

I have created invoice form in smartform for US. I have taken netwr field from vbrp table for display amount.

In output, amout values is taking like 100,00 but i want 100.00. I have tried replace command, user setting and currenct format, all are correct.

How can i change it, is any spro setting is there?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,039

Hi,

use the function module, CATS_ITS_MAKE_STRING_NUMERICAL.

Thanks & Regards,

Ramana

Hi,

use the function module, CATS_ITS_MAKE_STRING_NUMERICAL.

Thanks & Regards,

Ramana

8 REPLIES 8
Read only

tarangini_katta
Active Contributor
0 Likes
1,039

Hi Muthu,

If your user settings with the format 100.00

then use this function module.

BAPI_CURRENCY_CONV_TO_INTERNAL

I hope it will work for you.

Thanks,

Read only

Former Member
0 Likes
1,040

Hi,

use the function module, CATS_ITS_MAKE_STRING_NUMERICAL.

Thanks & Regards,

Ramana

Read only

0 Likes
1,039

HI ALL

I am using all options but same problem. While showing output only that problem. I have checked in debug mode, values are coming correct?

Read only

Former Member
0 Likes
1,039

Hi

Use this syntax:

WRITE wa_itab-netwr to v_netwr currency 'USD'.

Print currency using v_netwr.

Replace USD by your document currency.

Cheers

Ravish.

Read only

0 Likes
1,039

Apart from the Write option to the desired currency, may be set country 'IN' can help you, try it out..

narendra

Read only

Former Member
0 Likes
1,039

Hi Muthu.

In Smartform --> Global Definitions , in INTILIZATION

Write


tables :vbrk,vbap,vbrp.

vbrk-WAERK = 'USD'.
vbap-WAERK = 'USD'.
vbap-VRKME = 'EA'.
vbrp-VRKME = 'EA'.

just try this,

Edited by: Kumar M on Dec 8, 2008 2:46 PM

Read only

0 Likes
1,039

FYI: Also if you are using ECC then you need to specify these currency fields in the curr/quant tab.

jus chk out...

Read only

Former Member
0 Likes
1,039

Hi ,

Just give this a try.

Before displaying move it to a variable of type Char and display it.

Vikki.