<?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: Header line in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350951#M519007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.hi,&lt;/P&gt;&lt;P&gt;header line serves as the workarea in case you dont want to use one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;zry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 08:03:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-14T08:03:30Z</dc:date>
    <item>
      <title>Header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350950#M519006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the difference between with header line and without header line?when we use with header line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350950#M519006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T08:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350951#M519007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.hi,&lt;/P&gt;&lt;P&gt;header line serves as the workarea in case you dont want to use one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;zry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:03:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350951#M519007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T08:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350952#M519008</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;&lt;/P&gt;&lt;P&gt;header line makes an internal table act like a work area...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350952#M519008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T08:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350953#M519009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;An internal table can be with or without an header line.&lt;/P&gt;&lt;P&gt;When u declare an internal table with a header line then a work area is created with the same name as that of the internal table.&lt;/P&gt;&lt;P&gt;If you want to declare an internal table without any header line just don't write "WITH HEADER LINE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is always advisable to use explicit work area for performance and saving memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350953#M519009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T08:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350954#M519010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The header line is a built in structure to your internal table. So if you say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: itab like mara occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then when you loop at the table &lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can reference itab-matnr etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't use a header line you have to declare a structure to move the values into when reading from the table like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab type table of mara.&lt;/P&gt;&lt;P&gt;data wtab type mara.&lt;/P&gt;&lt;P&gt;loop at itab into wtab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;and then you reference wtab instead of itab directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see it in action declare both types of table in a test program then debug and look at both your different tables and you'll see the one with a header line has a hat in the first column of the debugger referencing the values of the loop that are currently being pointed at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350954#M519010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T08:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350955#M519011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create an internal table you can also declare a header line with the same name. You can use the header line as a work area when you process the internal table. The ABAP statements that you use with internal tables have short forms that you can use if your internal table has a header line. These statements automatically assume the header line as an implicit work area. The following table shows the statements that you must use for internal tables without a header line, and the equivalent statements that you can use for internal tables with a header line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the header line as a work area means that you can use shorter statements; however, they are not necessarily easier to understand, since you cannot immediately recognize the origin and target of the assignment. Furthermore, the fact that the table and its header line have the same name can cause confusion in operations with entire internal tables. To avoid confusion, you should use internal tables with differently-named work areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb36a1358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb36a1358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350955#M519011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T08:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350956#M519012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The header line is just a copy of the internal table line 1, and when you use an internal table as a work area, you just use the header line, but you can not use a internal table without header line as a workarea. It is not suggested to use a header line, but sometimes it can make things easier to deal with to use header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;P&gt;Vincent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        vincent tan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line/m-p/2350956#M519012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T08:15:31Z</dc:date>
    </item>
  </channel>
</rss>

