Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Decimal Variable

How Do Everyone!

Please don't laugh at the following question but I can't

figure out what is happening in my code.

I have declared a variable:

wa_temp_amt type p decimals 2

I then move a value from an infotype to it say '2.00'.

So now wa_temp_amt contains 2.00. I then have the code

MULTIPLY wa_temp_amt BY '8.67', which wa_temp_amt should

then contain '17.34' but it displays '1734.00'

Any ideas?????

Tags:
Former Member
Former Member replied

Andy,

Please make sure "fixed point arithmetic" is checked in the attributes. That might solve the issue.

regards,

Ravi

Note : Please mark the helpful answers

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question