<?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>Question Re: Calling Event in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696013#M1452830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a local variable lr_wd_event type ref to that of the import parameter WDEVENT and pass it to the action handler. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravan Varagani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 07:41:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T07:41:55Z</dc:date>
    <item>
      <title>Calling Event</title>
      <link>https://community.sap.com/t5/technology-q-a/calling-event/qaq-p/3696010</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;I have a simple question.&lt;/P&gt;&lt;P&gt;I'm having a event which is bounded with a inputfield.&lt;/P&gt;&lt;P&gt;I want to call this event in the wddoinit.&lt;/P&gt;&lt;P&gt;When i used code wizard, it prompts me to give WDEVENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i call a event in the wddoinit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx,&lt;/P&gt;&lt;P&gt;Suba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 22:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calling-event/qaq-p/3696010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T22:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Event</title>
      <link>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696011#M1452828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You don't invoke the event in the wddoinit method, because you can't get  the event object in the wddoint method. Try to other way in the inbound method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;tao&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: wang tao on Apr 16, 2008 6:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 04:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696011#M1452828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T04:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Event</title>
      <link>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696012#M1452829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are talking about specifying an action for an event of a UI element. And it is this action (or event handler) that you want to call from WDDOINIT using code wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example for InputField we have one predefined event onEnter. For this event you can specify an action say GO which will act as the event handler (ONACTIONGO). Event handlers can be viewed in the METHODS tab.&lt;/P&gt;&lt;P&gt;Event       Action       Event Handler&lt;/P&gt;&lt;P&gt;onEnter    GO           ONACTIONGO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use following code to call this event handler &lt;STRONG&gt;explicitly&lt;/STRONG&gt; from WDDOINIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : zcustom_event TYPE REF TO cl_wd_custom_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT zcustom_event&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      name = 'ON_ACTION'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wd_this-&amp;gt;onactiongo(&lt;/P&gt;&lt;P&gt;    wdevent =  zcustom_event&lt;/P&gt;&lt;P&gt;  ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitrali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 04:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696012#M1452829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T04:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Event</title>
      <link>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696013#M1452830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a local variable lr_wd_event type ref to that of the import parameter WDEVENT and pass it to the action handler. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravan Varagani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 07:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696013#M1452830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T07:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Event</title>
      <link>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696014#M1452831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi suba ram....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  all you want to do is ... calling the coding part of that event, righ. then what you can do is... create a method that has the coding. so you can call this method from wddoitint method as well as from the event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---regards,&lt;/P&gt;&lt;P&gt;   alex b justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 07:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calling-event/qaa-p/3696014#M1452831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T07:53:54Z</dc:date>
    </item>
  </channel>
</rss>

