Checking number of rows in an internal table in SAP


You can use the LINES function to get the number of rows in an internal table.

Use the following syntax to call the function:

  • DESCRIBE TABLE <Internal Table Name> LINES <Variable Name>
  • Once the function is executed the variable will hold the number of rows in the internal table.

Updated on: 15-Jun-2020

8K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements