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

Tree Control (button select all)

Former Member
0 Likes
932

Hello,

i need a method for mark all checkboxes in the ALV Tree Control, does somebody know so a method? How can I add a push button in the push button bar?

regards,

Michael

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
741

Hello Michael

Have a look at my answer in thread

<a href="https://forums.sdn.sap.com/post!reply.jspa?threadID=383605">Toolbar buttons in ALV column tree</a>

Do not be mislead by the thread title. You should find the answer to your question.

Regards

Uwe

5 REPLIES 5
Read only

uwe_schieferstein
Active Contributor
0 Likes
742

Hello Michael

Have a look at my answer in thread

<a href="https://forums.sdn.sap.com/post!reply.jspa?threadID=383605">Toolbar buttons in ALV column tree</a>

Do not be mislead by the thread title. You should find the answer to your question.

Regards

Uwe

Read only

0 Likes
741

Hello Uwe,

i couldn't find the function (method) Select all.

regards,

Michael

Read only

ferry_lianto
Active Contributor
0 Likes
741

Hi,

Please check this demo program BCALV_EDIT_05 perhaps it may help.

Regards,

Ferry Lianto

Read only

uwe_schieferstein
Active Contributor
0 Likes
741

Hello Michael

The thread I have mentioned contains the coding for adding a button (e.g. MARK_ALL / UNMARK_ALL) in the ALV tree toolbar.

In the following thread

<a href="https://forums.sdn.sap.com/post!reply.jspa?threadID=375626">Catch Checkbox in Heirachycal ALV</a>

you will find sample coding which uses event HOTSPOT_CLICK in order to mark/unmark all checkboxes of a (sub-)tree.

Regards

Uwe

Read only

Former Member
0 Likes
741

Hi ,

I guess this will help you.

Define an object of type ref to class cl_gui_toolbar.

Call method add_button and pass the parameters accordingly in the method add_button.

This method can help you out for creating a select all button on the screen.

Reward if useful.

Regards,

Sravanthi.