<?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 Control Framework - Local class Event Receivers link GUI stat Function Key? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-framework-local-class-event-receivers-link-gui-stat-function-key/m-p/7043789#M1501080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a local class for event receivers for e.g. ON_TOOLBAR, but now I'd like to link a TOOLBAR button to a GUI status function key. I created an entry in PF-STATUS with a similar name 'POST'. Now when I get into the PAI sy-ucomm I want to call the event/method manually:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA OBJ_ALV_EVENT_RECEIVER TYPE REF TO CL_ALV_EVENT_RECEIVER.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SET HANDLER OBJ_ALV_EVENT_RECEIVER-&amp;gt;ON_TOOLBAR FOR GRID.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The following line does not compile: (syntax???)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL OBJ_ALV_EVENT_RECEIVER-&amp;gt;ON_AFTER_USER_COMMAND( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background: The definition and implementations of the local class and events are perfect.&lt;/P&gt;&lt;P&gt;I'm just not sure of the syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jul 2010 08:01:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-28T08:01:57Z</dc:date>
    <item>
      <title>Control Framework - Local class Event Receivers link GUI stat Function Key?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-framework-local-class-event-receivers-link-gui-stat-function-key/m-p/7043789#M1501080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a local class for event receivers for e.g. ON_TOOLBAR, but now I'd like to link a TOOLBAR button to a GUI status function key. I created an entry in PF-STATUS with a similar name 'POST'. Now when I get into the PAI sy-ucomm I want to call the event/method manually:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA OBJ_ALV_EVENT_RECEIVER TYPE REF TO CL_ALV_EVENT_RECEIVER.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SET HANDLER OBJ_ALV_EVENT_RECEIVER-&amp;gt;ON_TOOLBAR FOR GRID.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The following line does not compile: (syntax???)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL OBJ_ALV_EVENT_RECEIVER-&amp;gt;ON_AFTER_USER_COMMAND( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background: The definition and implementations of the local class and events are perfect.&lt;/P&gt;&lt;P&gt;I'm just not sure of the syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 08:01:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-framework-local-class-event-receivers-link-gui-stat-function-key/m-p/7043789#M1501080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T08:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Control Framework - Local class Event Receivers link GUI stat Function Key?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-framework-local-class-event-receivers-link-gui-stat-function-key/m-p/7043790#M1501081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still not sure about the syntax for calling the local class event, but I found a workaround. I moved all the event code into a subroutine and I just call it from the lcl-&amp;gt;event and gui-status function key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 09:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-framework-local-class-event-receivers-link-gui-stat-function-key/m-p/7043790#M1501081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T09:27:37Z</dc:date>
    </item>
  </channel>
</rss>

