Skip to Content
0
May 04, 2011 at 12:14 PM

Use of " NOT" keyword ??

57 Views

Hello all,

I have declared a Parameter Variable like below.

Parameter : p_file type localfile .
At selection-screen.

If p_file is NOT  initial.
Here i want to Fire error message .
Endif . 

But i am getting this error "" Incorrect logical expression: Comparison / SELECT-OPTION can only be followed by "AND", "OR" or ")

But if i use like this .

 If NOT p_file is initial.
Error message .
Endif .

it works fine,

So what is the basic difference of this two use and why in first case its showing me error. ???

please share your knowledge ..

Edited by: sagar singh on May 4, 2011 5:45 PM

Edited by: sagar singh on May 4, 2011 5:46 PM

Edited by: sagar singh on May 4, 2011 5:48 PM