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 tree with default output

former_member594288
Participant
0 Kudos
374

Hi Everyone,

I want to create a alv tree with some of the nodes expand and some of the nodes collapse (unexpand) by default based on the condition. Is it possible to display the output like that.

Ravi.

1 ACCEPTED SOLUTION

Jelena_Perfiljeva
Active Contributor
164

Google -> "ALV tree expand nodes" finds many SCN questions and blogs.

Assuming you're using CL_SALV_TREE then through its GET_NODES method you can get to CL_SALV_NODES, then to CL_SALV_NODE for a specific node and it has all kinds of methods including EXPAND.

So I'd assume this is feasible.

2 REPLIES 2

Jelena_Perfiljeva
Active Contributor
165

Google -> "ALV tree expand nodes" finds many SCN questions and blogs.

Assuming you're using CL_SALV_TREE then through its GET_NODES method you can get to CL_SALV_NODES, then to CL_SALV_NODE for a specific node and it has all kinds of methods including EXPAND.

So I'd assume this is feasible.

0 Kudos
164

Thanks, i will try and let you know..