<?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: passing table values in method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704187#M1578293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CLASS-DATA declares a static attribute. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Feb 2011 04:29:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-11T04:29:36Z</dc:date>
    <item>
      <title>passing table values in method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704186#M1578292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Z class with 2 Instance Method. I want to create a global table and assign value in one method and retrieve the value in the 2nd method. I declared a data type of type standard table in the public section and I able to assign values in one method but the value is not available in the 2nd method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since both are Instance method I am unable to add any new parameter to the methods. Any suggestion on how to make the table value available in both the methods?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 03:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704186#M1578292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-11T03:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: passing table values in method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704187#M1578293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CLASS-DATA declares a static attribute. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 04:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704187#M1578293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-11T04:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: passing table values in method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704188#M1578294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you set the "attributes of an class attribute" - make it a Static Attribute and Private - as you want to access that attribute only from methods, it doesn't have to be public&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 16:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704188#M1578294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T16:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: passing table values in method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704189#M1578295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2011 06:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704189#M1578295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-12T06:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: passing table values in method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704190#M1578296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are missing something here. You have two options &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 Either you make this internal table as an attribute . So this attribute can be accessed by all the methods in the class . You fill up the attribute in first method and access the same in the second method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 You fill up this internal table in the first method . This first method should have a returning parameter of that table type .This retruning table should be passes as the importing parameter of the second method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_table = me-&amp;gt;first_method(  ).&lt;/P&gt;&lt;P&gt;me-&amp;gt;second_method( it_table = lt_table ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second case you have all the data available locally inside the methods&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;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 20:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-table-values-in-method/m-p/7704190#M1578296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-14T20:37:04Z</dc:date>
    </item>
  </channel>
</rss>

