<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Handle a Pushbutton in ALV TREE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-a-pushbutton-in-alv-tree/m-p/4547125#M1073898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tarak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three steps are required to handle this event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;(1) Define event handler method for BUTTON_CLICK of CL_GUI_ALV_TREE
(2) Register event at ALV tree (method SET_REGISTERED_EVENTS): use CL_GUI_COLUMN_TREE=&amp;gt;EVENTID_BUTTON_CLICK
(3) Set handler for event, e.g.: SET HANDLER lcl_eventhandler=&amp;gt;handle_button_click FOR go_tree&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All details of these steps are well documented in sample report &lt;STRONG&gt;BCALV_TREE_DEMO.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample report &lt;STRONG&gt;ZUS_SDN_ALV_TREE_DEMO&lt;/STRONG&gt; (thread &lt;SPAN __jive_macro_name="thread" id="1050473"&gt;&lt;/SPAN&gt;) shows you a simple trick how to link the node key with the record in the output itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2008 06:18:48 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2008-10-08T06:18:48Z</dc:date>
    <item>
      <title>Handle a Pushbutton in ALV TREE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-a-pushbutton-in-alv-tree/m-p/4547124#M1073897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   In my current program , i have add a pushbutton in each line of the tree, &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;            Can Anyone help me how to handle this pushbutton in alv tree to call a transaction with the appropriate parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt; Tarak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 06:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-a-pushbutton-in-alv-tree/m-p/4547124#M1073897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T06:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Handle a Pushbutton in ALV TREE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-a-pushbutton-in-alv-tree/m-p/4547125#M1073898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tarak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three steps are required to handle this event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;(1) Define event handler method for BUTTON_CLICK of CL_GUI_ALV_TREE
(2) Register event at ALV tree (method SET_REGISTERED_EVENTS): use CL_GUI_COLUMN_TREE=&amp;gt;EVENTID_BUTTON_CLICK
(3) Set handler for event, e.g.: SET HANDLER lcl_eventhandler=&amp;gt;handle_button_click FOR go_tree&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All details of these steps are well documented in sample report &lt;STRONG&gt;BCALV_TREE_DEMO.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample report &lt;STRONG&gt;ZUS_SDN_ALV_TREE_DEMO&lt;/STRONG&gt; (thread &lt;SPAN __jive_macro_name="thread" id="1050473"&gt;&lt;/SPAN&gt;) shows you a simple trick how to link the node key with the record in the output itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 06:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-a-pushbutton-in-alv-tree/m-p/4547125#M1073898</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-10-08T06:18:48Z</dc:date>
    </item>
  </channel>
</rss>

