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

faq1

Former Member
0 Likes
364

hello SAP Gurus,

I have one doubt.How we can read each time 4,8 and 12 records of a table ?

can u give me the answer ?

Thank you very much.

regards,

vijaya.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
345

hi do like this..

read table itab with index 4 .

read table itab with index 8 .

read table itab with index 12 .

regards,

venkat

2 REPLIES 2
Read only

Former Member
0 Likes
346

hi do like this..

read table itab with index 4 .

read table itab with index 8 .

read table itab with index 12 .

regards,

venkat

Read only

former_member156446
Active Contributor
0 Likes
345
loop at itab.
if sy-tabix = 4 or sy-tabix = 8 or sy-tabix = 12.
;;;;
endif.
endloop.


loop at itab.
if sy-tabix = 4 

endif.

if sy-tabix = 8.
endif.

if sy-tabix = 12.
;;;;
endif.
endloop.