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: 

alv rows & colums

Former Member
0 Kudos

Hey,

How to findout the no of rows and column in alv grid .

and

how to findout the particular row and column data.

4 REPLIES 4

Former Member
0 Kudos

there are operations such as select count * which gives number of rows and by definition of internal table you can find number of columns.

Former Member
0 Kudos

hi,

its simple .....you will surely have final internal table ...............by adding a counter for fetching values...the counters value is equal to no of rows.......and by counting the number of fieldcat u can understand the number of columns........

with regards

janani

Former Member
0 Kudos

Hi priya,

refer this link where u have the answer to ur question.

:

http://help.sap.com/saphelp_nw04/helpdata/EN/19/27ae3a061d522ae10000000a114084/content.htm.

Hope it helps.

Regards,

Rahul

Former Member
0 Kudos

Hi,

Use count to get no of cols & describe to get no of rows of I_Table.

For ALV count field catalog.

Thanks & Regards,

Krishna..