Skip to Content
0
Former Member
Nov 07, 2005 at 10:51 PM

LOOP AT: How to perform some actions when reach the last record.

3195 Views

I am writing a program where I read an internal table with the command

LOOP AT ITAB.

-

-

-

ENDLOOP.

I want to perform some actions when I reach the last record of the internal table.

Which command I should use?

-AT LAST?,

-AT END OF ITAB?

-ANY OTHER COMMAND?

The help provided by SAP is not very useful.

Thanks,

Orlando.