Skip to Content
0

Create Checkbox with alv_tree in all levels

May 14 at 11:52 AM

45

avatar image

Hi,

i have got a question. I wanted to create checkboxex in all levels (every row) in my alv_tree. The problem is, that the checkboxes are only showed, where it is not possible to expand the tree (see attachement: https://ibb.co/nh9J3y)


Is it possible with alv_tree to create in all levels, so in every row, a checkbox? It would be great, if someone have got an example of it.


Thank you for you help.


Rene

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Rajkumar Narasimman May 14 at 01:52 PM
0

The image attached is not visible.

Checkbox in all the hierarichy levels is nothing but selecting and deselect the sub child elements. In order to do, we do have one option to create a button externally and once pressed, based on custom logic the child elements can be selected or deselected.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thank you for your response. I don't really understand, what do you man. Can you give me an example? Maybe also with Code? It would be great. I hope, you can see the image now.

unbenannt.png

unbenannt.png (13.4 kB)
0
"Can you give me an example? Maybe also with Code?

The solution which is proposed above for placing a button in ALV Tree is discussed previously in the below thread with example.

https://archive.sap.com/discussions/thread/1228540

0

Thank you for your respone, but I don't really understand, what do you mean with selecting the child elements with my problem. I only want to create checkboxes in the column "Check" in all levels (see the picture above).

0