<?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: Examples on type-pools in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258491#M146880</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;PRE&gt;&lt;CODE&gt;
REPORT  ZTESTAA.
TYPE-POOLS:TRUXS.
DATA: BEGIN OF ITAB OCCURS 0,
     VBELN
LIKE VBAP-VBELN,
      POSNR LIKE VBAP-POSNR,
      END OF ITAB.
DATA:
ITAB1 TYPE TRUXS_T_TEXT_DATA.
SELECT VBELN         POSNR         UP TO
10 ROWS         FROM VBAP         INTO TABLE ITAB.
CALL FUNCTION
  'SAP_CONVERT_TO_CSV_FORMAT'
  EXPORTING
    I_FIELD_SEPERATOR    = ';'
  TABLES
    I_TAB_SAP_DATA       = ITAB
  CHANGING
    I_TAB_CONVERTED_DATA = ITAB1
  EXCEPTIONS
    CONVERSION_FAILED    = 1
    OTHERS               = 2.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO         WITH SY-MSGV1
SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    FILENAME = 'C:TEMPtest.txt'
  TABLES
    DATA_TAB = ITAB1
  EXCEPTIONS
    OTHERS   = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;list of available type pools you can get it from SE11,&lt;/P&gt;&lt;P&gt;use F4 help of TYPE-GROUP in SE11, you can find all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Apr 2006 08:11:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-03T08:11:11Z</dc:date>
    <item>
      <title>Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258487#M146876</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;I come across type-pool : TRUXS. What is this type-pool use for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any type-pool? How do i list out all the type-pools available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;William.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258487#M146876</guid>
      <dc:creator>Wil_Wilstroth</dc:creator>
      <dc:date>2006-04-03T08:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258488#M146877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the Type pools from SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to SE11.&lt;/P&gt;&lt;P&gt;2. Choose the Menu Option &amp;lt;i&amp;gt;Utilities--&amp;gt;Other Dictionary Objects&amp;lt;/i&amp;gt;.&lt;/P&gt;&lt;P&gt;3. The first option on the pop-up screen will be Type Group. Type Group and Type-pool are the same thing. you can use the Find option here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:08:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258488#M146877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T08:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258489#M146878</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 pools are global constants.&lt;/P&gt;&lt;P&gt;it can be created using se11 transaction or by using forward navigation from se38.&lt;/P&gt;&lt;P&gt;once defined u can use it in any program by using the statements.for eg..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools vrm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note:the dataobjects in the type pool shoud begin with the type pool name.so in our above case it will begin with vrm_xxxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258489#M146878</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-04-03T08:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258490#M146879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;goto se11 , and check the radio button &amp;lt;b&amp;gt;Type group&amp;lt;/b&amp;gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check the where used list of that type pool u want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258490#M146879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T08:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258491#M146880</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;PRE&gt;&lt;CODE&gt;
REPORT  ZTESTAA.
TYPE-POOLS:TRUXS.
DATA: BEGIN OF ITAB OCCURS 0,
     VBELN
LIKE VBAP-VBELN,
      POSNR LIKE VBAP-POSNR,
      END OF ITAB.
DATA:
ITAB1 TYPE TRUXS_T_TEXT_DATA.
SELECT VBELN         POSNR         UP TO
10 ROWS         FROM VBAP         INTO TABLE ITAB.
CALL FUNCTION
  'SAP_CONVERT_TO_CSV_FORMAT'
  EXPORTING
    I_FIELD_SEPERATOR    = ';'
  TABLES
    I_TAB_SAP_DATA       = ITAB
  CHANGING
    I_TAB_CONVERTED_DATA = ITAB1
  EXCEPTIONS
    CONVERSION_FAILED    = 1
    OTHERS               = 2.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO         WITH SY-MSGV1
SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    FILENAME = 'C:TEMPtest.txt'
  TABLES
    DATA_TAB = ITAB1
  EXCEPTIONS
    OTHERS   = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;list of available type pools you can get it from SE11,&lt;/P&gt;&lt;P&gt;use F4 help of TYPE-GROUP in SE11, you can find all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258491#M146880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T08:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258492#M146881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also have a look at &amp;lt;a href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.htm"&amp;gt;this link&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258492#M146881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T08:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258493#M146882</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;The type-pool are a pool of type, i.e. it's a group where all types of certain area are declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, when it uses the ALV fm it needs to use the type defined in type-pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find them in dictionary (SE11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a program it declares it wants to use a certain type-pool by statament TYPE-POOLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The types of type-pool TRUXS are used to defined the paramters of the interface of some fm as (for example) SAP_CONVERT_TO*:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In these fm the internal tables (store the converted data) are like TRUXS_T_TEXT_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258493#M146882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T08:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258494#M146883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all the type-groups and type-pools can be found in table&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DDTYPET&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258494#M146883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T08:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258495#M146884</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;Check this table for type groups &amp;lt;b&amp;gt; DDTYPET&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2006 08:13:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258495#M146884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-03T08:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on type-pools</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258496#M146885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for providing me an answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay, Max, Sekhar and all who have provided me solutions... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;William...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marks were assign and i had wish i could assign more marks to everyone but there was limitation to those option buttons...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 00:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/examples-on-type-pools/m-p/1258496#M146885</guid>
      <dc:creator>Wil_Wilstroth</dc:creator>
      <dc:date>2006-04-06T00:43:15Z</dc:date>
    </item>
  </channel>
</rss>

