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

Last row Intertablle

Former Member
0 Likes
520

Hallo

How can I check in following code the last row of internal Table.

if last row of itab

then do something

endif.

regards

rana

Hallo

How can I check in following code the last row of internal Table.

if last row of itab

then do something

endif.

regards

rana

3 REPLIES 3
Read only

Former Member
0 Likes
490

loop at itab.

at last.

do something.

endat.

endloop.

Read only

Former Member
0 Likes
490

You can use DESCRIBE TABLE LINES ... to find the number of rows in the table and then rtead the table with that index.

Press F1 on DESCRIBE and READ.

Rob

Read only

0 Likes
490

Why moderators go grey