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 tree development.

vladimirs_semikins
SAP Champion
SAP Champion
0 Likes
534

Hi,

I have problem with ALV tree.

I was created alv tree with nodes in roots, after that I want to move few of nodes in other nodes which is in the root.

For example

Before:

root

|_1

|_2

|_3

After:

root

|_1_2

|

|_3

So, what I do and what I want to do, but I dont know how.

I'm already created cl_gui_alv_tree object and add nodes 1,2,3

after that i want to move 2,3 and its done well with method move_node, but it nesscary to change node 1 layout to isfolder = 'x' and expander='x'. how can i this? which method I must call?

Thank in advice!

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
479

Hi,

you should use drag&drop.

Regards,

Clemens

3 REPLIES 3
Read only

Clemenss
Active Contributor
0 Likes
480

Hi,

you should use drag&drop.

Regards,

Clemens

Read only

0 Likes
479

Can you show example?

Read only

Clemenss
Active Contributor
0 Likes
479

Hi,

I'm sorry that I am not paid for your programming.

Please check report BCALV_GRID_DND_TREE and adapt it to your needs.

Regards,

Clemens