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

Problem with Ranges

Former Member
0 Likes
541

Hi All,

I have range internal table r_proj as below.

I |CP |D*

I |NE |D+++++++++1++++

Now I want all project Ids starting with D but I do not want those whose cost center starts with 1.

When I am putting this condition LOOP AT int_tab WHERE posid IN r_proj. I am still getting the project ID

D0102C00003171521 which should not come inside the loop.

Is am doing anyhing wrong?

Regards,

Vinit

1 ACCEPTED SOLUTION
Read only

gerd_rother
Active Participant
0 Likes
509

Hi,

Write the second line as:

E |EQ |D+++++++++1++++

All "Includes" are connected with 'or', so if the record matches one Include range it is passes the test.

Regards, Gerd Rother

4 REPLIES 4
Read only

gerd_rother
Active Participant
0 Likes
510

Hi,

Write the second line as:

E |EQ |D+++++++++1++++

All "Includes" are connected with 'or', so if the record matches one Include range it is passes the test.

Regards, Gerd Rother

Read only

0 Likes
509

Almost there, I think

E | CP |D+++++++++1++++

could work.

Thomas

Read only

0 Likes
509

Uh, sure. I just reversed the NE which was obviously wrong.

Gerd

Read only

0 Likes
509

Thnaks guys....problem is solved..!!