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 with currency

Former Member
0 Likes
513

Hi guys,

i have this code below:

write v_val curr v_curr to v_val_temp.

write v_val_temp to v_price.

im getting a dump that a " 8 000 000" can not be read as a number...

v_val = 80000.00 (type curr)

v_curr = KRW (type cuky)

v_val_temp(13) (no type)

v_price type(13) (type dec)

is there a problem?

it does not dump on others PC but it dumps on mine...

I dont know why...

I need your inputs on this..

Thanks always,

mark

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
497

Hi,

In SU3 t-code

-> Defalut-->Decimal Notation -


> Change to X and Save

--> logout ur id and Login I hope then ur problem will solve.....

Reward if usefull...

Thanks,

Durai.V

3 REPLIES 3
Read only

Former Member
0 Likes
497

Hi,

use the replace command before passing on the value to the Function Module.

replace '.' with ',' in <variable>.

Regards

VIjay

Edited by: Vijay on Jul 2, 2008 8:46 AM

Read only

Former Member
0 Likes
497

may be this will work:


*data:
*v_val = 80000.00 (type curr)
*v_curr = KRW (type cuky)
*v_val_temp(13) (no type)
*v_price type(13) (type dec)

write v_val curr v_val_temp currency v_curr.
condense v_val_temp no-gap.
write v_val_temp to v_price.

Read only

Former Member
0 Likes
498

Hi,

In SU3 t-code

-> Defalut-->Decimal Notation -


> Change to X and Save

--> logout ur id and Login I hope then ur problem will solve.....

Reward if usefull...

Thanks,

Durai.V