<?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: Include data declerations in a method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755026#M640972</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;this post is longstanding but I'd like to know the answer to the original question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2010 13:26:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-28T13:26:42Z</dc:date>
    <item>
      <title>Include data declerations in a method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755021#M640967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is, is there any possibility to make an include for a method.&lt;/P&gt;&lt;P&gt;This means is it possible to define some types or datas in a include and involve this in one ore more methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to define this as global attributes of the class, because the values can be changed! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE_1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: wa_spfli TYPE spfli,&lt;/P&gt;&lt;P&gt;         wa_spflight TYPE spflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD_01:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE include_01.&lt;/P&gt;&lt;P&gt;(This method should involve the include)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_spfli-...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD_02:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(without the include)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be not possible to access the work area's!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a possibility?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen i can define the attribiutes only for interfaces. So a "work around" would be to sepparete the methods in different interfaces, isn't it?&lt;/P&gt;&lt;P&gt;But it is not nice to administrate a lot of typse there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the meaning/functionality of "Type group" in "Properites" of a class/interface?&lt;/P&gt;&lt;P&gt;Can I involve a include there anyway?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have somebody of you a other good idear?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refards&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 13:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755021#M640967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T13:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Include data declerations in a method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755022#M640968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Type group on the properties tab is a way to include a type groups into the class.  So if you want to use types from the type group SLIS in different methods, or even in the attribute definitions, you can add the type groups there.  You could also use this to satisfy your requirement for the TYPES statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 13:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755022#M640968</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-09-06T13:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Include data declerations in a method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755023#M640969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define all kinds of types in the "Types definition" section of your class. However, these types can only be used for &amp;lt;b&amp;gt;private &amp;lt;/b&amp;gt;attributes methods.&lt;/P&gt;&lt;P&gt;As soon as you required them for &amp;lt;b&amp;gt;public &amp;lt;/b&amp;gt;attributes or methods they must be globally known as described by Rich.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 13:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755023#M640969</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-09-06T13:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Include data declerations in a method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755024#M640970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich, hello Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, but this is not the solution which I search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a very easy solution by myself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- create a include with all data decleration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- INCLUDE Include_name inside the method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, with each call of the method the work areas will be new initialized and cleaned (if values are inside)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that this is not possible in classes/methods, therefore the question! Sorry&lt;/P&gt;&lt;P&gt;But I have try it and it seems that it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 15:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755024#M640970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T15:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Include data declerations in a method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755025#M640971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer by myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2007 15:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755025#M640971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-22T15:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Include data declerations in a method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755026#M640972</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;this post is longstanding but I'd like to know the answer to the original question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 13:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-data-declerations-in-a-method/m-p/2755026#M640972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T13:26:42Z</dc:date>
    </item>
  </channel>
</rss>

