<?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: internal tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859530#M363021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx...for yr nice answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2007 11:31:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-25T11:31:57Z</dc:date>
    <item>
      <title>internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859523#M363014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to create inernal table ? plz help. and send 1 syntax for internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 11:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859523#M363014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-25T11:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859524#M363015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data : begin of itab occurs 0,
         matnr like mara-matnr,
        end of itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 11:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859524#M363015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-25T11:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859525#M363016</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;You can also declare like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    TYPES : BEGIN OF ty_charg,
              charg TYPE charg,
            END OF ty_charg.
*Table
    DATA : it_charg TYPE STANDARD TABLE OF ty_charg.
*Structure
    DATA : x_charg TYPE ty_charg.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 11:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859525#M363016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-25T11:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859526#M363017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types: begin of it,&lt;/P&gt;&lt;P&gt;f1 type i ,&lt;/P&gt;&lt;P&gt;f2 type i, &lt;/P&gt;&lt;P&gt;end of it.&lt;/P&gt;&lt;P&gt;itab-f1 = 20.&lt;/P&gt;&lt;P&gt;itab-f2 = 30.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;data: itab type standard table of it with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it.&lt;/P&gt;&lt;P&gt;write:/it-f1, it-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can also create sorted or hashed table based on ur requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 11:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859526#M363017</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2007-01-25T11:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859527#M363018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohan , &lt;/P&gt;&lt;P&gt;  There are two ways of creating an internal table &lt;/P&gt;&lt;P&gt;1. data : Begin of it_1 occurs 0 , &lt;/P&gt;&lt;P&gt;               matnr type matnr ,&lt;/P&gt;&lt;P&gt;               werks type werks_d,&lt;/P&gt;&lt;P&gt;             End of it_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This is the prefered way , first you define and type and then declare an internal table of that type&lt;/P&gt;&lt;P&gt;TYPES : Begin of ty_1 ,&lt;/P&gt;&lt;P&gt;                  matnr type matnr , &lt;/P&gt;&lt;P&gt;                  werks type werks_d,&lt;/P&gt;&lt;P&gt;              End of ty_1.&lt;/P&gt;&lt;P&gt;DATA : it_1 type table of ty_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is also one more way to creat internal tables when the structure is already define in the data dictionary e.g. if we want to create a table having structure similar to table MARA&lt;/P&gt;&lt;P&gt;DATA : it_1 type table of mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Assign points if reply is helpful&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 11:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859527#M363018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-25T11:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859528#M363019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Table declaration (new method)     "USE THIS WAY!!!&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_ekpo,&lt;/P&gt;&lt;P&gt;  ebeln TYPE ekpo-ebeln,&lt;/P&gt;&lt;P&gt;  ebelp TYPE ekpo-ebelp,&lt;/P&gt;&lt;P&gt; END OF t_ekpo.&lt;/P&gt;&lt;P&gt;DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,      "itab&lt;/P&gt;&lt;P&gt;      wa_ekpo TYPE t_ekpo.                    "work area (header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build internal table and work area from existing internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: it_datatab LIKE tab_ekpo OCCURS 0,      "old method&lt;/P&gt;&lt;P&gt;      wa_datatab LIKE LINE OF tab_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build internal table and work area from existing internal table,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;adding additional fields&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF t_repdata.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE tab_ekpo.  "could include EKKO table itself!!&lt;/P&gt;&lt;P&gt;TYPES: bukrs  TYPE ekpo-werks,&lt;/P&gt;&lt;P&gt;       bstyp  TYPE ekpo-bukrs.&lt;/P&gt;&lt;P&gt;TYPES: END OF t_repdata.&lt;/P&gt;&lt;P&gt;DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0,   "itab&lt;/P&gt;&lt;P&gt;      wa_repdata TYPE t_repdata.                 "work area (header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An internal table is a run time instance.  It get created when program starts execution. &lt;/P&gt;&lt;P&gt;*It get destroyed when program terminates. it has two different parts.  HeaderLine(optional) &amp;amp; Body(Compulsory). &lt;/P&gt;&lt;P&gt;*Any value that comes to or goes from interanal table , that travels through headerline.\ &lt;/P&gt;&lt;P&gt;header line is obselete now so we do not use with header line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 11:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859528#M363019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-25T11:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859529#M363020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab009.htm" target="test_blank"&gt;http://www.sap-img.com/ab009.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers.&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 11:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859529#M363020</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2007-01-25T11:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859530#M363021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx...for yr nice answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 11:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1859530#M363021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-25T11:31:57Z</dc:date>
    </item>
  </channel>
</rss>

