<?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: TYPES declaration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460009#M831310</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;thanks to all for the answers..&lt;/P&gt;&lt;P&gt;my question is still open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to declare a TYPE structure which shud contain an internal table...of different type&lt;/P&gt;&lt;P&gt;so, I have a TYPE as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin of type_sernrtab.&lt;/P&gt;&lt;P&gt;include type risernr.&lt;/P&gt;&lt;P&gt;TYPES: celltab type lvc_t_styl,&lt;/P&gt;&lt;P&gt;End of type_sernrtab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, based on above, I am declaring a table type as:&lt;/P&gt;&lt;P&gt;tt_sernrtab type standard table of type_sernrtab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i want to declare an internal table with above type and this internal table shud be declared in another TYPE:&lt;/P&gt;&lt;P&gt;so, i shall say, tser as internal table of type tt_sernrtab. but iam getting error as "tt_sernrtab is generic type and hence cannotb e used"...how to resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin of type_matnrtab.&lt;/P&gt;&lt;P&gt;include type qmatnr.&lt;/P&gt;&lt;P&gt;TYPES: celltab type lvc_t_styl,&lt;/P&gt;&lt;P&gt;tser type tt_sernrtab,&lt;/P&gt;&lt;P&gt;zbgmp type tt_zbgmp,&lt;/P&gt;&lt;P&gt;tu_line(02) type c,&lt;/P&gt;&lt;P&gt;End of type_matnrtab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Shakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 07:09:02 GMT</pubDate>
    <dc:creator>abdulazeez12</dc:creator>
    <dc:date>2008-03-06T07:09:02Z</dc:date>
    <item>
      <title>TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460004#M831305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Iam getting error in declaring the TYPES this way:&lt;/P&gt;&lt;P&gt;How to declare an internal table within a structure using TYPES??&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Begin of type_sernrtab.&lt;/P&gt;&lt;P&gt;          include        type        risernr.&lt;/P&gt;&lt;P&gt;TYPES:    celltab        type        lvc_t_styl,&lt;/P&gt;&lt;P&gt;        End of type_sernrtab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        tt_sernrtab      type standard table of type_sernrtab,&lt;/P&gt;&lt;P&gt;        tt_zbgmp         type standard table of zbgmp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Begin of type_matnrtab.&lt;/P&gt;&lt;P&gt;          include        type        qmatnr.&lt;/P&gt;&lt;P&gt;TYPES:    celltab        type        lvc_t_styl,&lt;/P&gt;&lt;P&gt;          tser           type        tt_sernrtab,&lt;/P&gt;&lt;P&gt;          zbgmp          type        tt_zbgmp,&lt;/P&gt;&lt;P&gt;          tu_line(02)    type        c,&lt;/P&gt;&lt;P&gt;        End of type_matnrtab,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 06:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460004#M831305</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2008-03-06T06:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460005#M831306</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;just change tt_sernrtab to type_sernrtab in the fourth line from the last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin of type_sernrtab.&lt;/P&gt;&lt;P&gt;include type risernr.&lt;/P&gt;&lt;P&gt;TYPES: celltab type lvc_t_styl,&lt;/P&gt;&lt;P&gt;End of type_sernrtab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tt_sernrtab type standard table of type_sernrtab,&lt;/P&gt;&lt;P&gt;tt_zbgmp type standard table of zbgmp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin of type_matnrtab.&lt;/P&gt;&lt;P&gt;include type qmatnr.&lt;/P&gt;&lt;P&gt;TYPES: celltab type lvc_t_styl,&lt;/P&gt;&lt;P&gt;**tser type type_sernrtab,&lt;/P&gt;&lt;P&gt;zbgmp type tt_zbgmp,&lt;/P&gt;&lt;P&gt;tu_line(02) type c,&lt;/P&gt;&lt;P&gt;End of type_matnrtab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vadi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 06:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460005#M831306</guid>
      <dc:creator>i048168</dc:creator>
      <dc:date>2008-03-06T06:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460006#M831307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shakir,&lt;/P&gt;&lt;P&gt;    It is not showing any error in my system when u use types stmt. Can u tell me what is that exact error or debugg the program.&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;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 06:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460006#M831307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T06:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460007#M831308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES BEGIN OF TY_MSEG.
        INCLUDE STRUCTURE MSEG.
TYPES   MTART TYPE MARA-MTART.
TYPES  MATKL TYPE MARA-MATKL.
TYPES END OF TY_MSEG.
DATA : IT_MSEG TYPE TABLE OF TY_MSEG.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 06:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460007#M831308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T06:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460008#M831309</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;types : begin of i_plant,&lt;/P&gt;&lt;P&gt;plant type plant,&lt;/P&gt;&lt;P&gt;country type county,&lt;/P&gt;&lt;P&gt;region type region,&lt;/P&gt;&lt;P&gt;end of i_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of i_plant,&lt;/P&gt;&lt;P&gt;wa type i_plant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 06:51:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460008#M831309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T06:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460009#M831310</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;thanks to all for the answers..&lt;/P&gt;&lt;P&gt;my question is still open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to declare a TYPE structure which shud contain an internal table...of different type&lt;/P&gt;&lt;P&gt;so, I have a TYPE as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin of type_sernrtab.&lt;/P&gt;&lt;P&gt;include type risernr.&lt;/P&gt;&lt;P&gt;TYPES: celltab type lvc_t_styl,&lt;/P&gt;&lt;P&gt;End of type_sernrtab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, based on above, I am declaring a table type as:&lt;/P&gt;&lt;P&gt;tt_sernrtab type standard table of type_sernrtab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i want to declare an internal table with above type and this internal table shud be declared in another TYPE:&lt;/P&gt;&lt;P&gt;so, i shall say, tser as internal table of type tt_sernrtab. but iam getting error as "tt_sernrtab is generic type and hence cannotb e used"...how to resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin of type_matnrtab.&lt;/P&gt;&lt;P&gt;include type qmatnr.&lt;/P&gt;&lt;P&gt;TYPES: celltab type lvc_t_styl,&lt;/P&gt;&lt;P&gt;tser type tt_sernrtab,&lt;/P&gt;&lt;P&gt;zbgmp type tt_zbgmp,&lt;/P&gt;&lt;P&gt;tu_line(02) type c,&lt;/P&gt;&lt;P&gt;End of type_matnrtab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Shakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 07:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration/m-p/3460009#M831310</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2008-03-06T07:09:02Z</dc:date>
    </item>
  </channel>
</rss>

