Application Development and Automation 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: 
Read only

Query about E NE combination in ranges

Former Member
0 Likes
824

Hi guys,

Is there anything to note when using E NE combination for Ranges? How do this combination works?

Sample code:

r_matkl-sign = 'E'.

r_matkl-option = 'NE'.

r_matkl-low = '12345'.

r_matkl-high = space.

APPEND r_matkl.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
769

This combination is same as:

r_matkl-sign = 'I'.

r_matkl-option = 'EQ'.

r_matkl-low = '12345'.

r_matkl-high = space.

APPEND r_matkl.

Hi guys,

Is there anything to note when using E NE combination for Ranges? How do this combination works?

Sample code:

r_matkl-sign = 'E'.

r_matkl-option = 'NE'.

r_matkl-low = '12345'.

r_matkl-high = space.

APPEND r_matkl.

3 REPLIES 3
Read only

Former Member
0 Likes
770

This combination is same as:

r_matkl-sign = 'I'.

r_matkl-option = 'EQ'.

r_matkl-low = '12345'.

r_matkl-high = space.

APPEND r_matkl.

Read only

0 Likes
769

HI Vijay,,,

it seems that its not...

i dunno if ABAP gets confused with this kind of combination...

shed light please..

Read only

0 Likes
769

I EQ combinatin = Select: Equal to

E NE combination = Dont Select: Not equal to

both are equivalent

it is same as A = Not(NOt (A))