Skip to Content

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

I can't use a decimal number in a update routine

Hi,

I want to use a decimal number in a udate routine (in a updating rule). I've a code similar to this:

IF COMM_STRUCTURE-/BIC/ZSATIAUX1 LT 1,5.

RESULT = 'GOOD'.

And when I save the routine I get the following error:

E:Comma without preceding colon (after IF ?).

The COMM_STRUCTURE-/BIC/ZSATIAUX1 field is numeric field with three decimal positions.

Can anybody tell me why I can't use decimals in my routine?

Thanks in advance.

Regards.

Former Member
Former Member replied

Hi try to write the statement using single codes .

IF COMM_STRUCTURE-/BIC/ZSATIAUX1 LT '1.5'.

RESULT = 'GOOD'.

Also use 1.5 instead of 1,5 and check

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