<?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: reg: internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266319#M780586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An internal table consists of a body and an optional header line. &lt;/P&gt;&lt;P&gt;Header line is a implicit work area for the internal table.  It depends on how the internal table is declared that the itab will have the header line or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;e.g.&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;data: begin of itab occurs 10, &lt;/P&gt;&lt;P&gt;           ab type c, &lt;/P&gt;&lt;P&gt;           cd type i, &lt;/P&gt;&lt;P&gt;        end of itab.  " this table will have the header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_itab like itab. " explicit work area for itab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab1 like itab occurs 10. " table is without header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The header line is a field string with the same structure as a row of the body, but it can only hold a single row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a buffer used to hold each record before it is added or each record as it is retrieved from the internal table.  It is the default work area for the internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;		DATA t_line TYPE line OCCURS 10 with header line&lt;/P&gt;&lt;P&gt;If you look at the example, it becomes clear that an internal table t_line is created of the type LINE . The table can hold 10 records and also has an header line., where LINE could be another internal table or a transparent table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rreward if useful.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 06:13:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T06:13:02Z</dc:date>
    <item>
      <title>reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266313#M780580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the need of header line(Work area)??? and what is "occurs 0" give its significance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: prasanth kasturi on Jan 11, 2008 7:12 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:04:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266313#M780580</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-01-11T06:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266314#M780581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its obsolute don't use all those things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use work area as header information&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266314#M780581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T06:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266315#M780582</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;Header line creates work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OCCURS parameter n specifies how many table lines of storage is required. This storage reservation process does not happen until the first line is inserted in the table. The value n of the OCCURS specification has no effect on type checking, i.e. data objects which have types with different OCCURS specifications are type-compatible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if are specifying 10 then initially 10 lines of storage is reserved. once 10 lines completed then again 10 lines will be reserved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 means no specific reservation of lines. depends on the requirement the storage will be reserved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266315#M780582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T06:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266316#M780583</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 table with header line&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.mis.cmich.edu/sap-abap/abap04/sld012.htm" target="test_blank"&gt;http://sap.mis.cmich.edu/sap-abap/abap04/sld012.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Internal table without header line&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.mis.cmich.edu/sap-abap/abap04/sld013.htm" target="test_blank"&gt;http://sap.mis.cmich.edu/sap-abap/abap04/sld013.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:11:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266316#M780583</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2008-01-11T06:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266317#M780584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know its obselete but can u give me the information i asked. what is the need of work area(header line) and what is occurs 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266317#M780584</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-01-11T06:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266318#M780585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH HEADER LINE...is obsolute  now.....don't use it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Occurs...N...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266318#M780585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T06:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266319#M780586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An internal table consists of a body and an optional header line. &lt;/P&gt;&lt;P&gt;Header line is a implicit work area for the internal table.  It depends on how the internal table is declared that the itab will have the header line or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;e.g.&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;data: begin of itab occurs 10, &lt;/P&gt;&lt;P&gt;           ab type c, &lt;/P&gt;&lt;P&gt;           cd type i, &lt;/P&gt;&lt;P&gt;        end of itab.  " this table will have the header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_itab like itab. " explicit work area for itab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab1 like itab occurs 10. " table is without header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The header line is a field string with the same structure as a row of the body, but it can only hold a single row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a buffer used to hold each record before it is added or each record as it is retrieved from the internal table.  It is the default work area for the internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;		DATA t_line TYPE line OCCURS 10 with header line&lt;/P&gt;&lt;P&gt;If you look at the example, it becomes clear that an internal table t_line is created of the type LINE . The table can hold 10 records and also has an header line., where LINE could be another internal table or a transparent table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rreward if useful.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266319#M780586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T06:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266320#M780587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Header Line : Similar To Workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Occurs n : No.Of Records The Internal Table Can hold&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266320#M780587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T06:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: reg: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266321#M780588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;types of internal table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Header line&lt;/P&gt;&lt;P&gt;     -  &lt;STRONG&gt;System automatically creates a work area for the internal table.&lt;/STRONG&gt;    &lt;/P&gt;&lt;P&gt;     -  Work area has same data type as internal table.&lt;/P&gt;&lt;P&gt;     -  Work area is called the header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the system automatically creates the work area. The work area has the same data type as internal table. This work area is called the HEADER line. It is here that all the changes or any of the action on the contents of the table are done. As a result of this, records can be directly inserted into the table or accessed from the internal table directly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without Header line&lt;/P&gt;&lt;P&gt;     -  Internal tables without header line do not have a work area.&lt;/P&gt;&lt;P&gt;     -  Work area to be explicitly defined to access such internal tables.&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;thanks and regards&lt;/P&gt;&lt;P&gt;suma sailaja pvn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 06:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-internal-table/m-p/3266321#M780588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T06:19:25Z</dc:date>
    </item>
  </channel>
</rss>

