<?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: Class Attribute as Any Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445804#M1740781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think generic table declarations are not possible in classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 May 2013 05:55:00 GMT</pubDate>
    <dc:creator>arindam_m</dc:creator>
    <dc:date>2013-05-12T05:55:00Z</dc:date>
    <item>
      <title>Class Attribute as Any Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445802#M1740779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fellows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a short OO question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to create a class attribute that would be a table untyped,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the value assigned to it dynamically during program execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to type the attribute as TABLE I am getting error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Type or field "TABLE" is generic. No table line has been specified. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use this attribute as kind of bridge between my class (that is accepting import attribute of type TABLE) and it's event handler method declared as one of class methods -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- After handling doubleclick or rows selected - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to pass records chosen back to the main class and outside it later on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is why I would like to use the class attibute of type TABLE (any).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate your comments on that &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/happy.gif"&gt;&lt;/SPAN&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;bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 13:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445802#M1740779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-11T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Class Attribute as Any Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445803#M1740780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't have a generic table type attribute. You can have a data reference. In your calling programming you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method-&amp;gt;do_stuff_involving_table( mytab ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where &lt;STRONG&gt;do_stuff_involving_table&lt;/STRONG&gt; has one input parameter of &lt;STRONG&gt;i_tab type ANY TABLE&lt;/STRONG&gt;. Within the method, you can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET REFERENCE OF i_tab INTO me-&amp;gt;r_the_current_table. Where r_the_current_table is of type &lt;STRONG&gt;REF TO DATA&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in the event method, the input parameter is &lt;STRONG&gt;i_ref TYPE REF TO DATA&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;tab&amp;gt; TYPE ANY TABLE.&lt;/P&gt;&lt;P&gt;ASSIGN i_ref-&amp;gt;* to &amp;lt;tab&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 May 2013 05:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445803#M1740780</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2013-05-12T05:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Class Attribute as Any Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445804#M1740781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think generic table declarations are not possible in classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 May 2013 05:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445804#M1740781</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-12T05:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Class Attribute as Any Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445805#M1740782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was exactly what I needed! These data references give sooo many opportunities &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1495/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot Matthew!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445805#M1740782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-28T07:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Class Attribute as Any Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445806#M1740783</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;matthew.billingham&lt;/SPAN&gt; Your excellent
 answer helped me too.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Hagit&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 09:28:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445806#M1740783</guid>
      <dc:creator>hagit</dc:creator>
      <dc:date>2021-02-09T09:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Class Attribute as Any Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445807#M1740784</link>
      <description>&lt;P&gt;It is possible as described above and it works fine.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 09:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-as-any-table/m-p/9445807#M1740784</guid>
      <dc:creator>migiiiii</dc:creator>
      <dc:date>2023-09-25T09:11:59Z</dc:date>
    </item>
  </channel>
</rss>

