Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

READING INTERNAL TABLE RECORDS

HI

I WANT TO READ JUST THE LAST RECORD OF AN INTERNAL TABLE.

HOW CAN I DO IT? I WANT TO STORE THAT LAST RECORD IN A VARIABLE.

HOW TO DO THAT...

Tags:
Former Member
replied

data count type i.

loop at itab.

count = sy-tabix.

endloop.

*count holds last row index of internal table...

read table itab index count.

plz reward points if dis helps

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question