<?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: ALV: Problem with toolbar event in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-toolbar-event/m-p/7043167#M1500994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was a typo!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jul 2010 14:54:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-07T14:54:10Z</dc:date>
    <item>
      <title>ALV: Problem with toolbar event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-toolbar-event/m-p/7043166#M1500993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALV-experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dynpro with a header area where I display an ALV table. Below this I have a subscreen with a tabstrip control and two tabs.&lt;/P&gt;&lt;P&gt;In the ALV toolbar I defined an own button. This button gets deactivated after pressing this button. I achieved this by the option "disabled" in the structure stb_button within the event handler for the toolbar event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works all fine so far. If I start the dynpro and click on the button in the ALV-toolbar the buttons gets deactivated afterwards. But I have I jump between the tabs before I press the ALV-toolbar button, the button does not get deactivated. &lt;/P&gt;&lt;P&gt;The debugger does not go into the event handler of the toolbar event. I also did system debugging of the method SET_TOOLBAR of the CL_GUI_ALV_GRID-class. Here I pass in both cases the command &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; raise event toolbar e_object = m_cl_toolbar e_interactive = i_interactive. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;but in the second case (when I change the tabs before I press the button) the event handler is not executed and I don't know why. I also tried to register the event handler for all instances of the ALV still with the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ALV method set_toolbar_interactive( ) did also not solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't find any SAP note about an issue for this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea or a solution for this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;Problem solved, it was typo!&lt;/P&gt;&lt;P&gt;Thanks in advance and regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Martin Fischer on Jul 7, 2010 4:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 12:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-toolbar-event/m-p/7043166#M1500993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-07T12:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: Problem with toolbar event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-toolbar-event/m-p/7043167#M1500994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was a typo!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 14:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem-with-toolbar-event/m-p/7043167#M1500994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-07T14:54:10Z</dc:date>
    </item>
  </channel>
</rss>

