<?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: Question on OOPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086252#M1180956</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;In methods you don't have &lt;STRONG&gt;tables&lt;/STRONG&gt; parameters. Instead use &lt;STRONG&gt;changing&lt;/STRONG&gt; as you where suspecting. As you don't know table type I think it is the best to create a table type in DDIC with this include BAPIADMVL and use that type for typing the parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2009 20:04:40 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2009-01-27T20:04:40Z</dc:date>
    <item>
      <title>Question on OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086251#M1180955</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 am trying to build a class. I am creating methods in it. I have few importing parameters, few exporting parameters &amp;amp; few tables that needs to passed. I am fine with importing &amp;amp; exporting. When it comes to tables, when I don't have a table type known to refer to the table variable... how should I pass the tables... Should be in Changing? Also I am referring to the declaration like this:&lt;/P&gt;&lt;P&gt;LANGUAGES Changing Type BAPIADMVL where BAPIADMVL is a structure. I don't have a corresponding table type in this case.. &lt;/P&gt;&lt;P&gt;Can you suggest how can I do this.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Geetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 19:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086251#M1180955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T19:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Question on OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086252#M1180956</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;In methods you don't have &lt;STRONG&gt;tables&lt;/STRONG&gt; parameters. Instead use &lt;STRONG&gt;changing&lt;/STRONG&gt; as you where suspecting. As you don't know table type I think it is the best to create a table type in DDIC with this include BAPIADMVL and use that type for typing the parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 20:04:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086252#M1180956</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-01-27T20:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Question on OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086253#M1180957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also create a type "locally" (with TYPES statement) in the class that you may refer externally if the class is global (SE24) and the type is public (or protected). As you use the type for typing a method parameter, it should be the same visibility as the method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 20:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086253#M1180957</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-01-27T20:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question on OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086254#M1180958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting it very clear... I am trying to develop a global class through SE24. Is there a way to define a table type &amp;amp; use it in the CHANGING parameter... plz let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Geetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 22:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086254#M1180958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T22:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question on OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086255#M1180959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can declare your table types in the public section if you want to use it as the parameter of any public method. If you need to have it only for private method's parameter, you can define your type in the private section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open your class in change mode in SE24&lt;/P&gt;&lt;P&gt;Go To &amp;gt; Public Section ( I assume your method is public)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  types:
    ty_t_tab type table of BAPIADMVL.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now, you can use this type TY_T_TAB to declare the parameter of the method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 22:32:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086255#M1180959</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-01-27T22:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question on OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086256#M1180960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot!!! It worked...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 22:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-oops/m-p/5086256#M1180960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T22:47:41Z</dc:date>
    </item>
  </channel>
</rss>

