<?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 Event Handler not called in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-handler-not-called/m-p/11685485#M1945997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Problem that my Event Handler is not triggered. I know, there are many discussions about that issue in scn but I think, I they couldn't help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a view-class cl_view with an event event_ucomm_fired and a method on_user_command where I raise the event event_ucomm_fired.&lt;/P&gt;&lt;P&gt;In my ctrl-class I create an event handler handle_ucomm (is defined as an event handler for event event_ucomm_fired and klass cl_view).&lt;/P&gt;&lt;P&gt;In the constructor of my ctrl-class I create an instance mo_view of cl_view and register the event handler via set handler me-&amp;gt;handle_ucomm for mo_view.&lt;/P&gt;&lt;P&gt;But, when the event is raised in on_user_command, the event handler handle_ucomm will not be called?&amp;nbsp; I have no idea what’s wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and BR,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2016 14:33:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-04-11T14:33:54Z</dc:date>
    <item>
      <title>Event Handler not called</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-handler-not-called/m-p/11685485#M1945997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Problem that my Event Handler is not triggered. I know, there are many discussions about that issue in scn but I think, I they couldn't help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a view-class cl_view with an event event_ucomm_fired and a method on_user_command where I raise the event event_ucomm_fired.&lt;/P&gt;&lt;P&gt;In my ctrl-class I create an event handler handle_ucomm (is defined as an event handler for event event_ucomm_fired and klass cl_view).&lt;/P&gt;&lt;P&gt;In the constructor of my ctrl-class I create an instance mo_view of cl_view and register the event handler via set handler me-&amp;gt;handle_ucomm for mo_view.&lt;/P&gt;&lt;P&gt;But, when the event is raised in on_user_command, the event handler handle_ucomm will not be called?&amp;nbsp; I have no idea what’s wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and BR,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 14:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-handler-not-called/m-p/11685485#M1945997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-11T14:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Event Handler not called</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-handler-not-called/m-p/11685486#M1945998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you create another instance of your view-class. So check first if the constructor of your ctrl-class is the once place you create an instance of your view-class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 16:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-handler-not-called/m-p/11685486#M1945998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-11T16:15:21Z</dc:date>
    </item>
  </channel>
</rss>

