Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

system field

Former Member
0 Likes
606

hi,

which system field contains number of selected lines

hi,

which system field contains number of selected lines

3 REPLIES 3
Read only

Former Member
0 Likes
587

Hi,

SY-DBCNT

Read only

Former Member
0 Likes
587

hi,

use this syst variable

sy-dbcnt

OR you can also use this syntax:

When you extract the data from Database into an internal table, use the DESCRIBE TABLE syntax for fetching the number of lines returned.

Syntax :

DESCRIBE TABLE ITAB lines l_lines.

where l_lines is the no. of lines returned.

reward if helpful

Rohan

Read only

Former Member
0 Likes
587

sy-dbcnt system field displays the number of records for which the desired database operation was actually carried out.