‎2007 Apr 11 11:44 AM
Hi,
I have 3 constants c1,c2,c3.
I have to check
<b>IF wa_temp NE c1 OR c2 OR c3</b>.
.........do something
i want to achieve the above functionality.
Thanks in advance.
Regards,
Ratna
‎2007 Apr 11 11:46 AM
IF not wa_temp eq C1 or
not wa_temp eq C2 or
not wa_temp eq C3 .
ENDIF.
‎2007 Apr 11 11:46 AM
Hi....
Write like this......
IF wa_temp NE c1 OR wa_temp NE c2 OR wa_temp NE c3.
.........do something
Reward points if useful......
Suresh......
‎2007 Apr 11 11:46 AM
IF not wa_temp eq C1 or
not wa_temp eq C2 or
not wa_temp eq C3 .
ENDIF.
‎2007 Apr 11 11:46 AM
‎2007 Apr 11 11:46 AM
hi,
If wa_temp ne c1.
do something
elseif wa_temp ne c2.
do something
elseif wa_temp ne c3.
do something.
endif.
regards
Kannaiah
‎2007 Apr 11 11:46 AM
hi,
write the code in this way:
if wa_temp ne c1 or wa_tem ne c2 or wa_temp ne c3.
//....
endif.
‎2007 Apr 11 11:47 AM
Hi,
Do like this.
if wa_temp NE c1 OR
wa_temp NE c2 OR
wa_temp NE c3.
(Write your logic here)
else.
(write logic here if needed)
endif.
Kindly Reward points if helpful
Thanks
Pranati
‎2007 Apr 11 11:47 AM
hi,
do this.
IF wa_temp NE c1
if wa_temp NE c2
if wa_temp NEc3.
" do what u want.
endif.
endif.
endif.rgds
Anversha
‎2007 Apr 11 11:47 AM
u will code like this
IF wa_temp NE c1 OR wa_temp NE c2 OR wa_temp NE c3
do something
endif.
in case u want something else do elaborate ur ques
regards
navjot
‎2007 Apr 11 11:48 AM
‎2007 Apr 11 11:48 AM
If wa_temp ne c1 and
wa_temp ne c2 and
wa_temp ne c3.
do something
endif.
‎2007 Apr 11 11:49 AM
Hi Ratna,
Please check this:
if wa_temp <> c1 or
wa_temp <> c2 or
wa_temp <> c3.
endif.
Thanks&Regards,
Siri.