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: 

Question on internal table logic..

Former Member
0 Kudos

Gurus,

I have a internal table as follows:

it_tab:

ID---ACTION---CHANGE

A1-----X--


B2----


U

C1-----X--


U

C2-----X--


Without looping at the table, how can I find get the result that the internal table has 3 ids with ACTION ='X'

and 1 ID with ACTION = X and Change = U.

Regards,

Rajesh.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Why not LOOP??

Rob

4 REPLIES 4

Former Member
0 Kudos

Why not LOOP??

Rob

Former Member
0 Kudos

I agree with Rob, why not loop?

First thing without loop that comes to mind is

Using the Read statement 4 times with index 1,2,3 & 4.

Regards,

DNP

0 Kudos

I guess, without loop its not possible. So thanks for the comments...

0 Kudos

Yes, it's possible, but the question remains - why don't you want to LOOP?

Rob