Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CODE:URGT

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

former_member200338
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

former_member223537
Active Contributor
0 Kudos

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.