<?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: RE:ABAP objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398767#M816049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would also work. You should decide if you want to declare your internal table as class-data or object data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 10:40:50 GMT</pubDate>
    <dc:creator>Hannes_Kerber</dc:creator>
    <dc:date>2008-02-15T10:40:50Z</dc:date>
    <item>
      <title>RE:ABAP objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398764#M816046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with this.I ahve written a code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS LCL_AIRPLANE DEFINITION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    types:BEGIN OF TY_PLANETYPES,&lt;/P&gt;&lt;P&gt;            PLANETYPE TYPE SAPLANE-PLANETYPE,&lt;/P&gt;&lt;P&gt;          END OF TY_PLANETYPES.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:    wa_LIST_OF_PLANETYPES TYPE    TY_PLANETYPES,&lt;/P&gt;&lt;P&gt;          LIST_OF_PLANETYPES TYPE STANDARD TABLE OF TY_PLANETYPES.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;ENDCLASS. "lcl_airplane DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS LCL_AIRPLANE IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;METHOD class_constructor.&lt;/P&gt;&lt;P&gt; SELECT * FROM saplane INTO TABLE list_of_planetypes.&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now i am getting an error like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Within a static method ,you can only access class attributes without further specifications'...What can be the problem.Please correct the code.How to declare an internal table in OOPS ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 10:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398764#M816046</guid>
      <dc:creator>alex_georgek</dc:creator>
      <dc:date>2008-02-15T10:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: RE:ABAP objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398765#M816047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using "constructor" instead of "class_constructor" for the name of your constructor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should work. If not, try selecting into table me-&amp;gt;LIST_OF_PLANETYPES instead of just LIST_OF_PLANETYPES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 10:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398765#M816047</guid>
      <dc:creator>Hannes_Kerber</dc:creator>
      <dc:date>2008-02-15T10:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: RE:ABAP objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398766#M816048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since your coding is within a CLASS-CONSTRUCTOR you should define your internal table not with statement DATA but with CLASS-DATA.&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 10:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398766#M816048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T10:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: RE:ABAP objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398767#M816049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would also work. You should decide if you want to declare your internal table as class-data or object data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 10:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-abap-objects/m-p/3398767#M816049</guid>
      <dc:creator>Hannes_Kerber</dc:creator>
      <dc:date>2008-02-15T10:40:50Z</dc:date>
    </item>
  </channel>
</rss>

