<?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: itab header line problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246081#M484865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much uwe and riche&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 May 2007 19:35:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-20T19:35:46Z</dc:date>
    <item>
      <title>itab header line problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246078#M484862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello abap gurus,&lt;/P&gt;&lt;P&gt;i was trying to create an internal table of type of my ztable. and when i was trying to execute my program , it was giving error, as " table type does not have header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB type ZTABLE with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is wrong in this, can some one help me with this.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 19:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246078#M484862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T19:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: itab header line problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246079#M484863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB type &amp;lt;b&amp;gt;TABLE OF&amp;lt;/b&amp;gt; ZTABLE with header line.&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;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 19:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246079#M484863</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-20T19:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: itab header line problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246080#M484864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saritha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct statement would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
  itab   TYPE ztable OCCURS 0 WITH HEADER LINE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, using header lines is a sign of ppor ABAP programming. Do no use them anymore, they mess up any program. &lt;/P&gt;&lt;P&gt;Instead, use table types and work area as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
  gt_itab     TYPE STANDARD TABLE OF ztable,  " table type
  gs_line     TYPE ZTABLE.                                 " work area

  LOOP AT gt_itab INTO gs_line.
  ...
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 19:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246080#M484864</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-05-20T19:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: itab header line problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246081#M484865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much uwe and riche&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 19:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246081#M484865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T19:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: itab header line problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246082#M484866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Better coding Standard :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Internal table with header line :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;         fld1 type c,&lt;/P&gt;&lt;P&gt;         fld2 type c,&lt;/P&gt;&lt;P&gt;        end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Internal table without header line :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declare Structure &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;types : begin of ty_itab,&lt;/P&gt;&lt;P&gt;           fld1 type c,&lt;/P&gt;&lt;P&gt;           fld2 type i,&lt;/P&gt;&lt;P&gt;           end of ty_itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table without header line&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data i_itab type standard table of ty_itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data wa_itab like line of i_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use always Internal table without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Hope you got my point and please let me know if you have any question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 19:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-header-line-problem/m-p/2246082#M484866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T19:36:36Z</dc:date>
    </item>
  </channel>
</rss>

