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: 

selecting rows of internal table

Former Member
0 Kudos

experts,

internal table itab has 10 rows.

internal table jtab has 15 rows of which 10 rowsare identical

with the rows in itab.

without using LOOP .. ENDLOOP on jtab.can we select rows in jtab that are not in itab ie 5.

thanks in advance.

2 REPLIES 2

Former Member
0 Kudos

Hi,

I think it is not possible with out using Loop,

May be u can solve this issue using

Do and Endloop.

Regards

Jana

Former Member
0 Kudos

Hi,

You need to use loop and endloop without which you cannot read the entries.

Else you can write this below code.

Describe table itab lines w_lines.

Do w_lines times.

read table itab index sy-index.

if sy-subrc = 0.

read table jtab with key key1 = itab-key1....

if.

endif.

endif.

enddo.

This is also nothin but a loop.

Regards,

Pramod

Edited by: Pramod Manjunath on Sep 19, 2008 12:45 PM