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

hello

Former Member
0 Likes
951

Hello Friends,

To know the number of lines on an internal table i am using,

loop at itab.

lines = lines + 1.

endloop.

is there any other way where i can do it without the loop statement.

Shejal Shetty.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
907

describe table itab lines v_line.

7 REPLIES 7
Read only

Former Member
0 Likes
907

Hello,

U can go for Sy-tabix.

Regards

Read only

Former Member
0 Likes
908

describe table itab lines v_line.

Read only

Former Member
0 Likes
907

Hello,

DATA:lv_cnt type i.

DESCRIBE TABLE ITAB LINES lv_cnt.

Regs,

Venkat

Read only

Former Member
0 Likes
907

HI,

Do this way ..

include this statement

<b>Describe table it_mara lines v_line.</b>

call this statement after endloop statement ...

Regards,

Santosh

Read only

Former Member
0 Likes
907

DATA : lv_record_count type i.

DESCRIBE TABLE int_tab LINES lv_record_count.

hith

Sunil Achyut

Read only

anversha_s
Active Contributor
0 Likes
907

hi shejal,

do this.

data : num type i.

describe table int_table lines num.

write num.

rgds

anver

mark all helpful answers.

Read only

0 Likes
907

Thanks Everyone.

Shejal Shetty.