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

Decimal issue

Former Member
0 Likes
329

Hi

I have a issue with regard to decimal, i am working in IDES and testing for one of the currencies if i remove decimal place (which was earlier 2) all values are chnaged and 2 decimal place are now added to net value.

Previous net value 7875.25

after removing decimal : 787525

Could you please guide if i could revert back to old settings or is it possible to elminate decimal values if it is there.

Thanks.

Regards

Kalpesh.

Edited by: Kalpesh Mirchandani on May 25, 2009 3:27 PM

2 REPLIES 2
Read only

Former Member
0 Likes
271

Dear Kalpesh,

&EKPO-MENGE(.0)&

Use this with your variable. This should solve your problem.

Feel free to ask if you have any doubts.

Regards,

Vijay

Read only

Former Member
0 Likes
271

Hi,

Table TCURX defines the decimal places for currencies. SAP stores all

figures with two decimals and then converts for display based on the

currency. Eg. JPY has no decimals but is stored in the database with two. The

5 you can see actual ouput as 500 JPY - 5 JPY would be stored as .05.

Check this link.

http://help.sap.com/saphelp_scm50/helpdata/EN/9f/dba1ef35c111d1829f0000e829fbfe/content.htm.

Regards,

Raju.