10-19-2007 5:12 AM
Does someone know why we normally use:
IF NOT field IS INITIAL.
and can we use:
IF field IS NOT INITIAL.
since this produce same result.
Is there any documentation state about that?
10-19-2007 5:55 AM
Both will result same..
One simple difference is ....
after IS NOT you can't give a logical experession(condition)..
you should use only like...
IS NOT INITIAL...
IS NOT ASSIGNED....
IS NOT REQUESTED..
IS NOT SUPPLIED..
IS NOT BOUND..
But in the case of NOT...you can use logical expression....
NOT A>B.
NOT A>1200..
NOT FIELD IS INTIAL..
HOPE YOU UNDERSTAND THIS BEHAVIOUR NOW...
10-19-2007 5:16 AM
10-19-2007 5:17 AM
Hi,
Both are same..and you are correct..both produce the same result
Thanks
Naren
10-19-2007 5:55 AM
Both will result same..
One simple difference is ....
after IS NOT you can't give a logical experession(condition)..
you should use only like...
IS NOT INITIAL...
IS NOT ASSIGNED....
IS NOT REQUESTED..
IS NOT SUPPLIED..
IS NOT BOUND..
But in the case of NOT...you can use logical expression....
NOT A>B.
NOT A>1200..
NOT FIELD IS INTIAL..
HOPE YOU UNDERSTAND THIS BEHAVIOUR NOW...
10-19-2007 5:56 AM
hi,
they are two ways of checking whether the field is checked or not....
both syntax gives the same output since they mean the same...
<b>reward if useful.</b>
regards,
Vinod Samuel.
10-19-2007 5:56 AM
10-19-2007 5:58 AM
Currently both methods will work, however, i think in R/3 4.6 only the 'IF NOT field IS INITIAL.' works
Now SAP has made it easier to understand by allowing the other method, but still keeps the first method to ensure compatibility with older systems
10-19-2007 6:02 AM
yup, just tested it in 4.6c
IF field IS NOT INITIAL.
gives the following error
Incorrect logical expression: Comparison / SELECT-OPTION can only be
followed by "AND", "OR" or ")".