- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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.
- Related Articles
- Checking number of rows in an internal table in SAP
- Using ABAP, changing a value in itab by getting data from database table
- Getting table name in SAP system
- Internal Table itab declaration in SAP and difference between both the declarations
- Adding rows in an internal table with header line in SAP ABAP
- Inserting rows to an internal table through debug in SAP ABAP
- Field not getting save from table to transparent table in SAP
- Sending an itab to SAP Spool using ABAP method
- Limit number of rows in Webi report in SAP BusinessObjects
- Count number of rows in each table in MySQL?
- Finding a particular value in internal table itab in ABAP
- Getting month name instead of numeric month number in report in SAP
- Getting error- is not an internal table “OCCURS n” specification is missing in SAP method
- Importing limited number of rows from CSV in SAP HANA
- Getting details when a table is modified in SAP HANA DB

Advertisements