<?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: include a structure in a TYPES declaration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964208#M1157260</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;TYPES: begin of  ty_itab.
       INCLUDE TYPE BISEG.           
TYPES: ABC type ABC,
       End of  ty_itab.
 
 
DATA:&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 24 Mar 2023 07:22:52 GMT</pubDate>
    <dc:creator>siddharth_purohit</dc:creator>
    <dc:date>2023-03-24T07:22:52Z</dc:date>
    <item>
      <title>include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964200#M1157252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a structure BISEG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to declare an internal tabel with that structure BISEG + some additional fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did like below please advise if this correct&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES begin of types ty_itab
                     include type BISEG
                     xxxx type xxx
                     xxxx type xxx
            End of types ty_itab


DATA:
   itat TYPE standard tabel of ty_itab
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note i don't want to use header line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 04:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964200#M1157252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T04:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964201#M1157253</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 ty_record.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE pa0008.&lt;/P&gt;&lt;P&gt;  TYPES: v_pernr TYPE pa0008-pernr,&lt;/P&gt;&lt;P&gt;         v_begda(10),&lt;/P&gt;&lt;P&gt;         v_endda(10).&lt;/P&gt;&lt;P&gt; TYPES: END OF ty_record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Use like this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arjun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 04:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964201#M1157253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T04:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964202#M1157254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello newbie82 c,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : begin of itab. "without header line
          INCLUDE STRUCTURE BISEG. "creates the same structure as of BISEG
DATA : xxxx type xxx, "other fields
       xxxx type xxx,
       end of itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create an internal table without header line.&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;'OCCURS 0'&lt;/STRONG&gt; after &lt;STRONG&gt;'begin of itab'&lt;/STRONG&gt; if you want to create an internal table with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Tarun Gambhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 04:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964202#M1157254</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2008-12-18T04:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964203#M1157255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi check this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: begin of  ty_itab.
                     INCLUDE STRUCTURE BISEG.
         TYPES: xxxx type xxx,
                     xxxx type xxx,
                     End of  ty_itab.
 
 
DATA:
   itab TYPE standard table of ty_itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 04:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964203#M1157255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T04:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964204#M1157256</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 code is correct, it will create the table without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I will suggest a small modification &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: begin of  ty_itab,&lt;/P&gt;&lt;P&gt;               include type BISEG,&lt;/P&gt;&lt;P&gt;               XXX TYPE xxx,&lt;/P&gt;&lt;P&gt;            End of  ty_itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; DATA:&lt;/P&gt;&lt;P&gt;   itat TYPE standard table of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With best regards,&lt;/P&gt;&lt;P&gt;Navneet Chaubey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Navneet Chaubey on Dec 18, 2008 5:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 04:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964204#M1157256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T04:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964205#M1157257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a temp structure with ur additional fields...&lt;/P&gt;&lt;P&gt;types : begin of t_temp,&lt;/P&gt;&lt;P&gt;            xxxx type xxx,&lt;/P&gt;&lt;P&gt;            xxxx type xxx,&lt;/P&gt;&lt;P&gt;          end of t_temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : begin of types ty_itab.&lt;/P&gt;&lt;P&gt;                     include type BISEG.&lt;/P&gt;&lt;P&gt;                     include type t_temp.&lt;/P&gt;&lt;P&gt;TYPES : End of types ty_itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA :  itat TYPE standard tabel of ty_itab,&lt;/P&gt;&lt;P&gt;            wa like line of itat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mr.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 04:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964205#M1157257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T04:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964206#M1157258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;your question is resolved &lt;/P&gt;&lt;P&gt;please close the thread&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;Thnks &lt;/P&gt;&lt;P&gt;Sahil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 04:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964206#M1157258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T04:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964207#M1157259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I reopen this q, I searched but couldn't find a confirmative answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of creating a type as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES begin of types ty_itab
                     include type BISEG
                     xxxx type xxx
                     xxxx type xxx
            End of types ty_itab&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I need to create the type with include structure after the additonal fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES begin of types ty_itab
                     &amp;lt;fld1&amp;gt; type &amp;lt;ty1&amp;gt;
                     &amp;lt;fld2&amp;gt; type &amp;lt;ty2&amp;gt;
                     include type &amp;lt;struc&amp;gt;
            End of types ty_itab&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone give the right syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;&lt;P&gt;Fred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 00:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964207#M1157259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T00:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964208#M1157260</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;TYPES: begin of  ty_itab.
       INCLUDE TYPE BISEG.           
TYPES: ABC type ABC,
       End of  ty_itab.
 
 
DATA:&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Mar 2023 07:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964208#M1157260</guid>
      <dc:creator>siddharth_purohit</dc:creator>
      <dc:date>2023-03-24T07:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: include a structure in a TYPES declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964209#M1157261</link>
      <description>&lt;P&gt;As  &lt;SPAN class="mention-scrubbed"&gt;siddharthpurohit51087&lt;/SPAN&gt; indicates, the "Best Answer" here is obsolete. INCLUDE TYPE is now preferred.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 07:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-a-structure-in-a-types-declaration/m-p/4964209#M1157261</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2023-03-24T07:37:21Z</dc:date>
    </item>
  </channel>
</rss>

