HELP WITH AND CONDTION
i use And statment and its not working
what i doing wrong ?
IF l_ffact NE '1' AND l_tfact NE '1' .
l_rate = l_tfact DIV l_ffact.
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].