Application Development 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: 

hello

Former Member
0 Kudos

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

former_member181962
Active Contributor
0 Kudos

describe table itab lines v_line.

7 REPLIES 7

Former Member
0 Kudos

Hello,

U can go for Sy-tabix.

Regards

former_member181962
Active Contributor
0 Kudos

describe table itab lines v_line.

Former Member
0 Kudos

Hello,

DATA:lv_cnt type i.

DESCRIBE TABLE ITAB LINES lv_cnt.

Regs,

Venkat

Former Member
0 Kudos

HI,

Do this way ..

include this statement

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

call this statement after endloop statement ...

Regards,

Santosh

sunilachyut
Contributor
0 Kudos

DATA : lv_record_count type i.

DESCRIBE TABLE int_tab LINES lv_record_count.

hith

Sunil Achyut

anversha_s
Active Contributor
0 Kudos

hi shejal,

do this.

data : num type i.

describe table int_table lines num.

write num.

rgds

anver

mark all helpful answers.

0 Kudos

Thanks Everyone.

Shejal Shetty.