2007 Dec 13 7:33 AM
Hi Friends,
I get a small doubt using for all entries..
is IF NOT IT_VBAK[] IS INITIAL and
IF IT_VBAK[] IS NOT INITIAL. ARE SAME.?
I HOPE THE FIRST ONE IS CORRECT.
BUT THE SYSTEM WONT RAISE ANY ERROR WHEN USING THE SECOND ALSO.
THEN WHT IT WOULD MEAN FOR THE SECOND.
Guru.
2007 Dec 13 7:33 AM
Hi,
Both are same
Reagrds,
Prashant
2007 Dec 13 7:33 AM
2007 Dec 13 7:38 AM
2007 Dec 13 7:41 AM
2007 Dec 13 7:42 AM
hi,
Mr.Gururam
see both the statements are correct but for the first one u r cheking true condition where as for the second one u r checking false condition i hope u got it if still u r problem not solved
i am here ro to u help u
my mailid [email protected]
if helpful plzzzzzzz reward points
2007 Dec 13 8:57 AM
> hi,
>
> Mr.Gururam
> see both the statements are correct but for
> the first one u r cheking true condition where as for
> the second one u r checking false condition i hope u
> got it if still u r problem not solved
>
> i am here ro to u help u
> my mailid [email protected]
>
> if helpful plzzzzzzz reward points
Your answer is wrong. You didn't see the NOT in the first condition. The question is whether
IF <b>NOT</b> IT_VBAK[] IS INITIAL. is the same as IF IT_VBAK[] IS <b>NOT</b> INITIAL.
The second syntax was introduced later than the first. It is better to use IS NOT, as it is more readable. ( But the functionality is identical ).
matt
2007 Dec 13 9:00 AM
2007 Dec 13 9:06 AM
Hi guru,
Both the statements are same ... but the difference is
IF NOT .....IS INITIAL is used previously ... but now we are using
IF .............IS NOT INITIAL ... since to provide readability and compared to first one it is the latest statement used by everyone.
2007 Dec 13 10:14 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |