Skip to Content

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

HELP WITH AND CONDTION

HI,

i use And statment and its not working

what i doing wrong ?

Regards

IF l_ffact NE '1' AND l_tfact NE '1' .

l_rate = l_tfact DIV l_ffact.

ENDIF.

Tags:
Former Member
Former Member replied

Hi,

You gave the And condition in loop statement.

So the both cases <b> l_ffact NE '1'</b> and <b> I_tfact NE '1'</b> are satisfied only your condition will be true.

But in your case the first condition only true <b>[ l_ffact NE '1' --> Bcoz its original value is 1000]</b>

Your condition is false like [ l_tfact NE '1' ---> but l_tfact NE '1' value is 1].

Thanks.

0 View this answer in context

Helpful Answer

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