<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431743#M543666</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;Hi&lt;/P&gt;&lt;P&gt;TYPE-POOLS tpool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &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;Notes &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;also check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id26.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id26.html&lt;/A&gt;&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;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2007 06:49:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-27T06:49:36Z</dc:date>
    <item>
      <title>Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431741#M543664</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;what is Type-Pools?&lt;/P&gt;&lt;P&gt;what it contains?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 06:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431741#M543664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T06:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431742#M543665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type pools Includes the types and constants of a type group. If thetype group tpool has already been included, the statement isignored. You can only maintain a type group via the ABAP Dictionary (using Transaction SE11). You introduce a type group withthe TYPE-POOL statement. Since thetypes and constants specified in a type group have global validity, youcannot use the statement within a FORM or FUNCTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;TYPE-POOLS VERI1. &lt;/P&gt;&lt;P&gt;DATA X TYPE VERI1_TYP1. &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;Karthik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Reward points if helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 06:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431742#M543665</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-06-27T06:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431743#M543666</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;Hi&lt;/P&gt;&lt;P&gt;TYPE-POOLS tpool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &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;Notes &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;also check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id26.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id26.html&lt;/A&gt;&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;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 06:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431743#M543666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431744#M543667</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;&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;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;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 06:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431744#M543667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T06:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431745#M543668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type pool is a keyword used to attach a typegroup to a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once a typegroup is linked to a program so that all the type declarations of that type group are avial to the program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg : SLIS....try this by checking in SE11 - give SLIS and enter ..u can see many type declarations under SLIS....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u wil come to know about it when u work in ALV reporting....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;P&gt;BALAJI ( Assign points if this is useful)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 06:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431745#M543668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T06:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431746#M543669</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;Go to SE11 and create type group zztyp(for example).&lt;/P&gt;&lt;P&gt;TYPE-POOL ZZTYP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                         types :       &amp;lt;b&amp;gt;zztyp_&amp;lt;/b&amp;gt;dollars(5)       type p decimals 2.&lt;/P&gt;&lt;P&gt;                         constants : &amp;lt;b&amp;gt;zztyp_&amp;lt;/b&amp;gt;date           like sy-datum value '20061213'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate it.Rememeber the declaration should start with type-pool name _.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE38 and create a program with following code.&lt;/P&gt;&lt;P&gt;type-pools zztyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data v1 type zztyp_dollars.&lt;/P&gt;&lt;P&gt;write zztyp_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope now you understand how trype-pool is used.Usually in calssical alv programs,you had seen slis type-pool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 07:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431746#M543669</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-06-27T07:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431747#M543670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    type type pools on the  editor screen and press f1 function key u will get required information .&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;Suprith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 07:19:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431747#M543670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T07:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431748#M543671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the efforts.&lt;/P&gt;&lt;P&gt;i have awarded all ur efforts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 08:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-pools/m-p/2431748#M543671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T08:10:57Z</dc:date>
    </item>
  </channel>
</rss>

