<?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: Creating Type-pools in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956204#M697356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See the SLIS structure&lt;/P&gt;&lt;P&gt;You can define yours with different structures, datatypes in it&lt;/P&gt;&lt;P&gt;TYPE-POOLS tpool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaring global data types and constants from a type group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TYPE-POOLS statement declares the data types and constants of type group tpool You can specify it in the global data declarations of an ABAP program or in the declaration section of a class or interface. The data types and constants of the type group are visible as of this statement in the current context. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the declared type group tpool integrates a further type group with the TYPE-POOLS statement, its data types and constants are also declared. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,,Data types declared using type groups cover ABAP Dictionary data types of the same name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Declaration of the predefined type group abap. By referring to the table type abap_func_parmbind_tab from the type group abap, the system declares an internal table parameter_tab for the dynamic parameter transfer to function modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS abap. &lt;/P&gt;&lt;P&gt;DATA parameter_tab TYPE abap_func_parmbind_tab. &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;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2007 06:29:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-12T06:29:44Z</dc:date>
    <item>
      <title>Creating Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956203#M697355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i create my own type-pools?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956203#M697355</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-10-12T06:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956204#M697356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See the SLIS structure&lt;/P&gt;&lt;P&gt;You can define yours with different structures, datatypes in it&lt;/P&gt;&lt;P&gt;TYPE-POOLS tpool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaring global data types and constants from a type group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TYPE-POOLS statement declares the data types and constants of type group tpool You can specify it in the global data declarations of an ABAP program or in the declaration section of a class or interface. The data types and constants of the type group are visible as of this statement in the current context. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the declared type group tpool integrates a further type group with the TYPE-POOLS statement, its data types and constants are also declared. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,,Data types declared using type groups cover ABAP Dictionary data types of the same name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Declaration of the predefined type group abap. By referring to the table type abap_func_parmbind_tab from the type group abap, the system declares an internal table parameter_tab for the dynamic parameter transfer to function modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS abap. &lt;/P&gt;&lt;P&gt;DATA parameter_tab TYPE abap_func_parmbind_tab. &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;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:29:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956204#M697356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956205#M697357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for the transactionm its no possible via SE38 or SE80&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:31:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956205#M697357</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-10-12T06:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956206#M697358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Go to se11, select the radio button type type group, give a custom name and create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you can define required types, and can be used in your programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956206#M697358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956207#M697359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to SE11 and create the type group .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956207#M697359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956208#M697360</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;Type Groups&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before Release 4.5A, it was not possible to define standalone types in the ABAP Dictionary to which you could refer using a TYPE addition in an ABAP program. It was only possible to refer to flat structures. Structures in programs corresponded to the structures of database tables or structures in the ABAP Dictionary. In ABAP programs, you could only refer to database tables and structures in the ABAP Dictionary using LIKE. It was, however, possible to refer to individual components of the Dictionary type. Complex local data types such as internal tables or deep structures had no equivalent in the ABAP Dictionary. The solution to this from Release 3.0 onwards was to use type groups. Type groups were based on the include technique, and allowed you to store any type definitions globally in the Dictionary by defining them using TYPES statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The definition of a type group is a fragment of ABAP code which you enter in the ABAP Editor. The first statement for the type group &amp;lt;pool&amp;gt; is always:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOL &amp;lt;pool&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this came the definitions of data types using the TYPES statement, as described in Local Data Types in Programs. It was also possible to define global constants using the CONSTANTS statement. All the names of these data types and constants must begin with the name of the type group and an underscore:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an ABAP program, you must declare a type group as follows before you can use it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS &amp;lt;pool&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement allows you to use all the data types and constants defined in the type group &amp;lt;pool&amp;gt; in your program. You can use several type groups in the same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let the type group HKTST be created as follows in the ABAP Dictionary:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPE-POOL hktst.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF hktst_typ1,&lt;/P&gt;&lt;P&gt;                col1(10) TYPE c,&lt;/P&gt;&lt;P&gt;                col2 TYPE i,&lt;/P&gt;&lt;P&gt;       END OF hktst_typ1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPES hktst_typ2 TYPE p DECIMALS 2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CONSTANTS hktst_eleven TYPE i VALUE 11.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;This type group defines two data types HKTST_TYP1 and HKTST_TYP2, as well as a constant HKTST_ELEVEN with the value 11.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any ABAP program can use this definition with the TYPE-POOLS statement:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPE-POOLS hktst.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: dat1 TYPE hktst_typ1,&lt;/P&gt;&lt;P&gt;      dat2 TYPE hktst_typ2 VALUE '1.23'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WRITE: dat2, / hktst_eleven.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The output is:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1,23&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data types defined in the type group are used to declare data objects with the DATA statement and the value of the constant is, as the output shows, known in the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:41:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-type-pools/m-p/2956208#M697360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:41:53Z</dc:date>
    </item>
  </channel>
</rss>

