Multiple choice technology programming languages

Which system field returns the number of records returned after a select?

  1. SY-INDEX

  2. SY-DBCNT

  3. SY-RECNO

  4. SY-TABIX

  5. SY-LNCNT

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In ABAP, sy-dbcnt is the system field that stores the number of database table rows affected or returned by the last SQL statement. sy-index is the loop iteration counter, sy-tabix is the index of the current line in an internal table, and sy-lncnt relates to printing line counts.