Getting number of rows in table in an itab in SAP

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.

raja
Updated on 18-Feb-2020 05:40:41

Advertisements