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

Former Member
0 Likes
802

hi to all,

help me in this issue

READ TABLE IT_IN WITH KEY 'MHND-DMSHB'.

CHECK SY-SUBRC = 0.

WRITE IT_IN-VALUE TO AMOUNT.

when the value is mhnd-dmshb it is giving correct value whenit is paased to it_in_value it is chenged to ome other pattern related to customer country. ie 5,000.00

is ther indata base but it is changing to 5.000,00

how to get correct value from the table

thanks in advance

kiran kumar

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
771

hi,

5,000.00 is output format

use write ... (to) currency MHND-waers

A.

hi vikrath it is not matter of setting its dunnning procedure we r doing in that it is stopping at these non europian customers and giving error as more than two decimals.so plz suggest possible solution to set it for both europe as well as others,.

thanks in advance

kiran kumar

Message was edited by: kiran kumar

6 REPLIES 6
Read only

andreas_mann3
Active Contributor
0 Likes
772

hi,

5,000.00 is output format

use write ... (to) currency MHND-waers

A.

Read only

0 Likes
771

hi andrew what we should pass to mhnd-wears. i wan it to be company code specific

thanks in advance

Read only

Former Member
0 Likes
771

hi Kiran,

Declare it in this way ..

data : begin of IT_IN occurs 0,
   VALUE like MHND-DMSHB,
end of IT_IN.

Regards,

Santosh

Read only

Former Member
0 Likes
771

Hi Kiran,

You need to do some settings.

GOTO -> SYSTEM -> USERPROFILE - > OWNDATA -> THERE U FIND THE DEFAULT UNDER DECIMAL NOTIFICATION THERE ARE 3 RADIO BUTTONS CLICK ON THE SECOND RADIO BUTTON TO GET 5,000.00 KIND OF OUTPUT.

Thanks

Vikranth Khimavath

Read only

Former Member
0 Likes
771

Hi,

Try SET COUNTRY 'XXX' where 'XXX' is the country key.

Rgds

Read only

0 Likes
771

hi vikrath it is not matter of setting its dunnning procedure we r doing in that it is stopping at these non europian customers and giving error as more than two decimals.so plz suggest possible solution to set it for both europe as well as others,.

thanks in advance

kiran kumar

Message was edited by: kiran kumar