<?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 using variables defined in an include or another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359770#M178836</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'm trying to use some declarations in my program which are defined in an include or another program. &lt;/P&gt;&lt;P&gt;1. I need to create a class whose definition is in an include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i need to declare a variable like this&lt;/P&gt;&lt;P&gt;    v_temp TYPE l_temp ,  l_temp is a structure defined in an include .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use the declarations in another program or an include in  my program. however, i dont want to use 'include' statement&lt;/P&gt;&lt;P&gt;your help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kranthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 May 2006 15:36:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-05T15:36:56Z</dc:date>
    <item>
      <title>using variables defined in an include or another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359770#M178836</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'm trying to use some declarations in my program which are defined in an include or another program. &lt;/P&gt;&lt;P&gt;1. I need to create a class whose definition is in an include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i need to declare a variable like this&lt;/P&gt;&lt;P&gt;    v_temp TYPE l_temp ,  l_temp is a structure defined in an include .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use the declarations in another program or an include in  my program. however, i dont want to use 'include' statement&lt;/P&gt;&lt;P&gt;your help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kranthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 15:36:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359770#M178836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T15:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: using variables defined in an include or another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359771#M178837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kranthi,&lt;/P&gt;&lt;P&gt; You can declare your variables in an include and use them in your program by using the statement.&lt;/P&gt;&lt;P&gt;include zinclude.&lt;/P&gt;&lt;P&gt;write:/ v_temp. "v_temp is declared in zinclude.&lt;/P&gt;&lt;P&gt;BU tif you want to use type definitions to be used, then you must create a type pool in se11.&lt;/P&gt;&lt;P&gt;Choose type grouups radio-button.&lt;/P&gt;&lt;P&gt;give a name to your type-pool.&lt;/P&gt;&lt;P&gt;say create.&lt;/P&gt;&lt;P&gt;Use the type to define your variables.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 16:45:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359771#M178837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T16:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: using variables defined in an include or another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359772#M178838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kranti,&lt;/P&gt;&lt;P&gt;If u write the declarationin some other include or program n use it in other program, without using INCLUDE.. how would the complier understand where the declaration has come from?? U need to specify to the compiler the path of declaration and hence the include is included..&lt;/P&gt;&lt;P&gt;If u dont intend to use INCLUDE, declare a data element in ABAP dictionary and use it in ur program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think its possible to do it the way u have suggested..&lt;/P&gt;&lt;P&gt;BTW, why arent u in favour of using the INCLUDE.. is it because it has a lot of declarations..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;Please mark helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 19:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359772#M178838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T19:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: using variables defined in an include or another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359773#M178839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; the include im trying to use refers to another include and so on. hope im clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kranthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 21:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359773#M178839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T21:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: using variables defined in an include or another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359774#M178840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to avoid that, then define a type-pool as Ravi suggested. And if you finally decide to do that, you should award him &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 21:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-variables-defined-in-an-include-or-another-program/m-p/1359774#M178840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T21:48:45Z</dc:date>
    </item>
  </channel>
</rss>

