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

Count Row

Former Member
0 Likes
421

Hi,

Table Control Row Counting . value Enter Row .

Plz, Advise me.

By,

Megahari.S

3 REPLIES 3
Read only

Former Member
0 Likes
391

hi,

i think you can use sy-tfill for that.

regards,

Lokesh

Read only

Former Member
0 Likes
391

Hi ,

To know the number of lines visible in the table control ,

u can use sy-srows system variable, first go to the screen painter and check for the fixed rows..that

are the rows on the either side of the table control ...that will not change ...with the system variable

sy-srows u can get the total rows in the screen(irrespective of the resolution) ..

suppose the fixed rows are 10 and sy-srows value is 15...then

sy-srows - 10 will the table control rows visible in the current screen..

Hope this is what u were looking for...and it helps

Regards

Syed

Read only

Former Member
0 Likes
391

use sy-loopc to get no of rows in table control

or use

n type i

DESCRIBE TABLE ITAB LINES N.

regards

anil