<?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 tabels in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283786#M497434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Line type is a structure of an Internal Table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2007 12:26:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-30T12:26:50Z</dc:date>
    <item>
      <title>internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283779#M497427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the structure of an internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283779#M497427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283780#M497428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh ,&lt;/P&gt;&lt;P&gt;  Internal table do not have a standard structure , it depends upon how you declare it.&lt;/P&gt;&lt;P&gt;There are two ways of declaring an IT&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;2) Types : Begin of ty_matnr ,&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_matnr.&lt;/P&gt;&lt;P&gt;Data : it_1 type table of ty_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2nd option is the prefered one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your question.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283780#M497428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283781#M497429</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 create internal table &lt;/P&gt;&lt;P&gt;1) with refernce to DB table directly with header line.&lt;/P&gt;&lt;P&gt;2) Defining on structure with occur statement.&lt;/P&gt;&lt;P&gt;3) Defining from existing TYPES as 'type stanadard table of &amp;lt;type name&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;P&gt;Reward if helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 05:48:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283781#M497429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T05:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283782#M497430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please  go through the   internal table declaration  type's as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;b&amp;gt;Table declaration (old method)
DATA: BEGIN OF tab_ekpo OCCURS 0,             "itab with header line
  ebeln TYPE ekpo-ebeln,
  ebelp TYPE ekpo-ebelp,
 END OF tab_ekpo.

*Table declaration (new method)     "USE THIS WAY!!!
TYPES: BEGIN OF t_ekpo,
  ebeln TYPE ekpo-ebeln,
  ebelp TYPE ekpo-ebelp,
 END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,      "itab
      wa_ekpo TYPE t_ekpo.                    "work area (header line)

* Build internal table and work area from existing internal table
DATA: it_datatab LIKE tab_ekpo OCCURS 0,      "old method
      wa_datatab LIKE LINE OF tab_ekpo.

* Build internal table and work area from existing internal table,
* adding additional fields
TYPES: BEGIN OF t_repdata.
        INCLUDE STRUCTURE tab_ekpo.  "could include EKKO table itself!!
TYPES: bukrs  TYPE ekpo-werks,
       bstyp  TYPE ekpo-bukrs.
TYPES: END OF t_repdata.
DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0,   "itab
      wa_repdata TYPE t_repdata.                 "work area (header line)

&amp;lt;/b&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 06:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283782#M497430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T06:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283783#M497431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;internal tables and their usage&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-are-different-types-of-internal-tables-and-their-usage.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-are-different-types-of-internal-tables-and-their-usage.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 08:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283783#M497431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T08:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283784#M497432</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;Please go through the following link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&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, 24 May 2007 04:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283784#M497432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T04:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283785#M497433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Line type is a structure of an Internal Table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 12:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283785#M497433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T12:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283786#M497434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Line type is a structure of an Internal Table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 12:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283786#M497434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283787#M497435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use following different possibilities,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF mytext,&lt;/P&gt;&lt;P&gt;         number TYPE i,&lt;/P&gt;&lt;P&gt;         name(10) TYPE c,&lt;/P&gt;&lt;P&gt;       END OF mytext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES mytab TYPE STANDARD TABLE OF mytext WITH DEFAULT KEY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF IT_BKPF OCCURS 0,&lt;/P&gt;&lt;P&gt;           BELNR LIKE BKPF-BELNR,&lt;/P&gt;&lt;P&gt;           GJAHR LIKE BKPF-GJAHR,&lt;/P&gt;&lt;P&gt;           BUKRS LIKE BKPF-BUKRS,&lt;/P&gt;&lt;P&gt;       END OF IT_BKPF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF IT_MATNR OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE MAKT.&lt;/P&gt;&lt;P&gt;DATA : END OF IT_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 13:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283787#M497435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T13:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283788#M497436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh&lt;/P&gt;&lt;P&gt;    Internal table is the temporary table wherein you fetch all the datas from database and store it in the internal table for any modifications.&lt;/P&gt;&lt;P&gt;its structure can be of two types &lt;/P&gt;&lt;P&gt;1)with header line---&amp;gt;default work area will be created&lt;/P&gt;&lt;P&gt;2)without header line----&amp;gt;user wil create the work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;With header line&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;         matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;         end of itab.&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Without header line&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;data : begin of itab,&lt;/P&gt;&lt;P&gt;         matnr type matnr,&lt;/P&gt;&lt;P&gt;         end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF USEFUL SURESH...!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 07:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283788#M497436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T07:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283789#M497437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi suresh,&lt;/P&gt;&lt;P&gt;internal tables are nothing but a temporary table which is used to store data temporarily...&lt;/P&gt;&lt;P&gt;the structure of internal can be defined in 2 ways,&lt;/P&gt;&lt;P&gt;1) internal table with header line &lt;/P&gt;&lt;P&gt;2) internal table without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) internal table with header line: &lt;/P&gt;&lt;P&gt;            in this the internal table will be having a work area.&lt;/P&gt;&lt;P&gt;definition :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab like DATABASE TABLE NAME OCCURS 0 with header line.&lt;/P&gt;&lt;P&gt;                                       OR&lt;/P&gt;&lt;P&gt;DATA : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;             field like DBtable-field,&lt;/P&gt;&lt;P&gt;            End of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) internal table without header line:&lt;/P&gt;&lt;P&gt;             in this the internal table will not be having any work area. You will have to define work area for that internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;definition :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab like DATABASE TABLE NAME without header line.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;workarea:&lt;/P&gt;&lt;P&gt;DATA : WA like DATABASE TABLE NAME .&lt;/P&gt;&lt;P&gt;                                                OR&lt;/P&gt;&lt;P&gt;DATA : begin of it,&lt;/P&gt;&lt;P&gt;             field like DBtable-field,&lt;/P&gt;&lt;P&gt;            End of itab.&lt;/P&gt;&lt;P&gt;data : itab like standard table of IT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are many ways by which u can define an internal table.&lt;/P&gt;&lt;P&gt;Also by using TYPES u can define internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : begin of it,&lt;/P&gt;&lt;P&gt;              field TYPE DBtable-field,&lt;/P&gt;&lt;P&gt;             End of itab.&lt;/P&gt;&lt;P&gt;TYPES : ITAB type standard table of IT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help u out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points in case usefull...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 05:41:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283789#M497437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T05:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: internal tabels</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283790#M497438</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 responding to my query&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;suri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 11:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tabels/m-p/2283790#M497438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T11:13:15Z</dc:date>
    </item>
  </channel>
</rss>

