<?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 implicit parameter SENDER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-parameter-sender/m-p/2048636#M422091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i need the explanation and sample how to apply the parameter 'sender' in abap object. why it is called implicit parameter?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Mar 2007 06:02:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-11T06:02:25Z</dc:date>
    <item>
      <title>implicit parameter SENDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-parameter-sender/m-p/2048636#M422091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i need the explanation and sample how to apply the parameter 'sender' in abap object. why it is called implicit parameter?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2007 06:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-parameter-sender/m-p/2048636#M422091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-11T06:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: implicit parameter SENDER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-parameter-sender/m-p/2048637#M422092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi el,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sender is an implicit import parameter of an event handler method. It is not declared in the interface but gives the event handler a reference to the object where the event was raised.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CLASS flight_attendant DEFINITION.
  PUBLIC SECTION.
    METHODS: constructor
               IMPORTING i_id TYPE string,
             help_the_pilot FOR EVENT
               call_button_pressed OF pilot IMPORTING sender,
             help_a_passenger FOR EVENT
               call_button_pressed OF passenger
                  IMPORTING e_seatnumber sender.
  PRIVATE SECTION.
    DATA id TYPE string.
  ENDCLASS.

* Class Implementations

CLASS pilot IMPLEMENTATION.
  METHOD call_flight_attendant.
    RAISE EVENT call_button_pressed.
  ENDMETHOD.
ENDCLASS.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the method call_flight_attendant is raised by an instance of class pilot, event call_button_pressed is raised. The event handler method  help_the_pilot imports the field sender which carries a reference to the calling pilot instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2007 12:22:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-parameter-sender/m-p/2048637#M422092</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-03-11T12:22:49Z</dc:date>
    </item>
  </channel>
</rss>

