Getting number of rows in table in an itab in SAP



There is a function “LINES” that can be used to get the number of lines in a table. Here is the code that can be used −

DESCRIBE TABLE <itab-Name> LINES VR1

The variable VR1 will contain the number of rows.

Swarali Sree
Swarali Sree

I love thought experiments.


Advertisements