<?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: Type pools VS Top Include. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901509#M1481406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might come as a surprise to some, but this is all information that can be easily derived from the online SAP documentation. Here we go... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &lt;EM&gt;type group&lt;/EM&gt; (which can be defined via the [TYPE-POOL|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOL.htm] statement) is more or less a historical artifact, which allowed you since release 3.0 to define any type globally in the data dictionary (and at that time the data dictionary was limited and didn't allow for example types for internal tables). For further reading I recommend the online help on [data types in the ABAP dictionary|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, a &lt;EM&gt;type group&lt;/EM&gt; is not like any include, because it only allows certain statements (see [TYPE-POOL|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOL.htm] in the online ABAP help) and is designed as a global object for re-use. E.g. in TOP includes you would also define your global data (e.g. if you have a module pool for a dialog program), whereas in type groups you cannot do that. And obviously a TOP include is not necessarily a global object that should be shared across programs (though of course you can do that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;EM&gt;Clemens&lt;/EM&gt; already pointed out, &lt;EM&gt;type groups&lt;/EM&gt; are nowadays considered obsolete, because you have different alternatives  (see comments in [data types in the ABAP dictionary|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.htm]). Note also that with 7.0 EhP2 the ABAP compiler automatically loads &lt;EM&gt;type groups&lt;/EM&gt; on demand (which also shows you their global nature) and thus making the statement [TYPE-POOLS|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOLS.htm] obsolete (see the comments there).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 May 2010 00:52:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-24T00:52:45Z</dc:date>
    <item>
      <title>Type pools VS Top Include.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901507#M1481404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any difference between a top include and Type pools. &lt;/P&gt;&lt;P&gt;As both are used for data declaration purpose, i would like to know any differences between these two. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly clarify me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 May 2010 13:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901507#M1481404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-23T13:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Type pools VS Top Include.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901508#M1481405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i a way, they are similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can include a type-pool in the type groups section of a (global) class, you can't do this with an include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think TYPE-POOLS have been invented to make some programming easier, but they are quite obsolete today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an academic question or can you add some practical background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 May 2010 15:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901508#M1481405</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-05-23T15:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Type pools VS Top Include.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901509#M1481406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might come as a surprise to some, but this is all information that can be easily derived from the online SAP documentation. Here we go... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &lt;EM&gt;type group&lt;/EM&gt; (which can be defined via the [TYPE-POOL|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOL.htm] statement) is more or less a historical artifact, which allowed you since release 3.0 to define any type globally in the data dictionary (and at that time the data dictionary was limited and didn't allow for example types for internal tables). For further reading I recommend the online help on [data types in the ABAP dictionary|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, a &lt;EM&gt;type group&lt;/EM&gt; is not like any include, because it only allows certain statements (see [TYPE-POOL|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOL.htm] in the online ABAP help) and is designed as a global object for re-use. E.g. in TOP includes you would also define your global data (e.g. if you have a module pool for a dialog program), whereas in type groups you cannot do that. And obviously a TOP include is not necessarily a global object that should be shared across programs (though of course you can do that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;EM&gt;Clemens&lt;/EM&gt; already pointed out, &lt;EM&gt;type groups&lt;/EM&gt; are nowadays considered obsolete, because you have different alternatives  (see comments in [data types in the ABAP dictionary|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.htm]). Note also that with 7.0 EhP2 the ABAP compiler automatically loads &lt;EM&gt;type groups&lt;/EM&gt; on demand (which also shows you their global nature) and thus making the statement [TYPE-POOLS|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOLS.htm] obsolete (see the comments there).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 00:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901509#M1481406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T00:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Type pools VS Top Include.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901510#M1481407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens &amp;amp; Harald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your explanation....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 11:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools-vs-top-include/m-p/6901510#M1481407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T11:42:55Z</dc:date>
    </item>
  </channel>
</rss>

