‎2007 Apr 24 2:52 PM
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
‎2007 Apr 24 3:03 PM
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
‎2007 Apr 24 3:03 PM
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
‎2007 Apr 24 3:19 PM
Hello Uwe,
i couldn't find the function (method) Select all.
regards,
Michael
‎2007 Apr 24 3:27 PM
Hi,
Please check this demo program BCALV_EDIT_05 perhaps it may help.
Regards,
Ferry Lianto
‎2007 Apr 24 3:40 PM
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
‎2007 Apr 26 5:34 AM
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.