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

ALV Grid Tree Display

Former Member
0 Likes
1,133

Hi,

I am aware to create tree in alv list, but can anybody tell me how to do this alv grid, as for every details i want to display column names also when we expand tree.

Sachin

8 REPLIES 8
Read only

ThomasZloch
Active Contributor
0 Likes
965

ALV Grid does not allow hiearchical presentation, what you need is the ALV Tree control, this also allows column names.

Please search for additional information, there are many examples available.

Thomas

Read only

0 Likes
965

Hi Thomas,

thanks for the reply, i am searching the posts, but it will be helpful if you suggest the sample...

also in my requirement i need to go for 4 levels where i need to show data with different column headings for every level when expand.

Read only

0 Likes
965

The example programs all start with BCALV_TREE...

You can create test data with program SAPBC_DATA_GENERATOR, if not yet available.

Thomas

Read only

Former Member
0 Likes
965

hi sachin you can refer below link for a sample program

<link to blocked site AGAIN removed by moderator>

Message was edited by: Thomas Zloch

Read only

0 Likes
965

Hi Pawan,

thanks...but i want tree in alv grid...not in list, also i need to download this output.

Read only

0 Likes
965

also by using RS_TREE_LIST_DISPLAY we can add colum(text as mentioned in node structure, tex, text1...text9) only 9 columns and my requirement is to have 16 columns....

Can you please tell me how to achieve this?

Read only

0 Likes
965

Hi,

You can refer to this thread if you need to have more than 9 columns.

<link to blocked site removed by moderator>

Also, you can refer to the this reports.

BCALV_TREE*

Regards,

Jake

Message was edited by: Thomas Zloch

Read only

0 Likes
965

Locking this now, as my messages are being re-edited and the hints are being repeated.

Thomas