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.

Advertisements