Skip to Content

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

Condition: if amount less than 0

Hi abappers,

How come it's not passing when the condition is Amount < 0 where Amount =

0.80. It recognized as greater than 0. The data type is DEC(12,2). What should be the correct statement?

Tags:
replied

You have

IF A < B....

What are the types of the two variables of A and B? If one or more is actually a character based type, then you'll encounter your problem.

oh... hang on. Try amount < '0.80'.

matt

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question