<?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: Accessing Sender parameter attribute in event hander method implementation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-sender-parameter-attribute-in-event-hander-method-implementation/m-p/1684002#M301262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, MT_OUTTAB is a protected Attribute.  I would settle for just the name of the Sender.  This code checks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call method sender-&amp;gt;get_name RECEIVING name = l_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but l_name is empty.  I was hoping for 'GRID1'; when I created the object I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT alvgrid&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_parent = container_top&lt;/P&gt;&lt;P&gt;        i_name = 'GRID1'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 20:41:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-17T20:41:39Z</dc:date>
    <item>
      <title>Accessing Sender parameter attribute in event hander method implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-sender-parameter-attribute-in-event-hander-method-implementation/m-p/1684001#M301261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello knowledgeable friends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like a single event handler to manage two alv grid objects.  There is a parameter SENDER that is available in the method implementations to say which object triggered the event.  I would like to get at the attribute MT_OUTTAB but this syntax does not work: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;local_variable = sender-&amp;gt;mt_outtab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 22:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-sender-parameter-attribute-in-event-hander-method-implementation/m-p/1684001#M301261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T22:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Sender parameter attribute in event hander method implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-sender-parameter-attribute-in-event-hander-method-implementation/m-p/1684002#M301262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, MT_OUTTAB is a protected Attribute.  I would settle for just the name of the Sender.  This code checks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call method sender-&amp;gt;get_name RECEIVING name = l_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but l_name is empty.  I was hoping for 'GRID1'; when I created the object I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT alvgrid&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_parent = container_top&lt;/P&gt;&lt;P&gt;        i_name = 'GRID1'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 20:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-sender-parameter-attribute-in-event-hander-method-implementation/m-p/1684002#M301262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T20:41:39Z</dc:date>
    </item>
  </channel>
</rss>

