10-24-2007 10:06 AM
HI Experts !
i want to make a criteria in my report.
if WA_IT-LTI ne (t1 and t2 ) and WA_IRT-TERID NE (TR1 AND TR2 AND TE3 AND TR4)
{
}.
VALUE IN
T1 = 042400
TR1 = 3
HOW I CAN MAKE IN ABAP . PLZ GUIDE
10-24-2007 10:13 AM
if ( wa_it-lti ne t1 and wa_it-lti ne t2 ) and ( wa-irt-terid ne tr1 and wa-irt-terid ne tr2 and wa-irt-terid ne tr3 and wa-irt-terid ne tr4 )
{
}
Message was edited by:
Muthurajan Ramkumar
10-24-2007 10:08 AM
Hi,
try this
if WA_IT-LTI ne t1 AND
WA_IT-LTI ne t2 AND
WA_IRT-TERID NE TR1 AND
WA_IRT-TERID NE TR2 AND
WA_IRT-TERID NE TE3 AND
WA_IRT-TERID NETR4
{
}.
reward point if usefull
Regards,
Niyaz
10-24-2007 10:13 AM
if ( wa_it-lti ne t1 and wa_it-lti ne t2 ) and ( wa-irt-terid ne tr1 and wa-irt-terid ne tr2 and wa-irt-terid ne tr3 and wa-irt-terid ne tr4 )
{
}
Message was edited by:
Muthurajan Ramkumar
10-24-2007 10:18 AM
Here is the code:
if wa_it-lt1 ne t1
and wa_it-lt1 ne t2
and wa_it-lt1 ne t2
and wa_irt-terid ne tr1
and wa_irt-terid ne tr2
and wa_irt-terid ne tr3.
" Write your code here.. for processing of IF condition
endif.