<?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: Returning List of Class Objects from a class method. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408409#M196988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the answer that its not possible, hence closing the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2008 08:31:17 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2008-01-30T08:31:17Z</dc:date>
    <item>
      <title>Returning List of Class Objects from a class method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408406#M196985</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 have a class method, in that method I will create instances of the same class and I want return those instances as an export parameter. Is there any other way apart from creating a table type of the class and using it as the type of the export parameter. With out creating any global type how can I return list of objects from this class method and how can I read that list in my calling program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408406#M196985</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2006-06-14T10:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Returning List of Class Objects from a class method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408407#M196986</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;You can try returning the instances individually like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export&lt;/P&gt;&lt;P&gt;instance1&lt;/P&gt;&lt;P&gt;instance2&lt;/P&gt;&lt;P&gt;instance3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the better and correct way would be using table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sameena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408407#M196986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Returning List of Class Objects from a class method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408408#M196987</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 dont know how many instances  I will have to create inside the method so I have to return a table. I know one way of  doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say my class is CL_CLASS&lt;/P&gt;&lt;P&gt;I can create a table type for CL_CLASS as CL_CLASS_T&lt;/P&gt;&lt;P&gt;and declare one export parameter for the method with type as CL_CLASS_T. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can return table of objects like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know is there any way of doing this with out creating a table type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408408#M196987</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2006-06-14T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Returning List of Class Objects from a class method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408409#M196988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the answer that its not possible, hence closing the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 08:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-list-of-class-objects-from-a-class-method/m-p/1408409#M196988</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2008-01-30T08:31:17Z</dc:date>
    </item>
  </channel>
</rss>

