<?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: Regarding header line in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538910#M245674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have an internal table without header line then you have explicitly define a work area for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like,&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab. &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you try to use ,&lt;/P&gt;&lt;P&gt;loop at itab. &amp;lt;&amp;lt; system gives an error... that specify work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Aug 2006 11:31:20 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2006-08-07T11:31:20Z</dc:date>
    <item>
      <title>Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538908#M245672</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;         Can any one explain me about the difference between internal table with header line and without header line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What difference this header makes in a internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;vinay .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538908#M245672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538909#M245673</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 is the work area of the internal table. a internal with header line have a work area by default, and when you loop on the internal table with header line you don't need to mention work area data goes to header line.&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;*data goes to header line for each loop pass.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table without header line have no work area so you have to mention a work area when you are using them. &lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data goes to work area &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;HRA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538909#M245673</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-08-07T11:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538910#M245674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have an internal table without header line then you have explicitly define a work area for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like,&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab. &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you try to use ,&lt;/P&gt;&lt;P&gt;loop at itab. &amp;lt;&amp;lt; system gives an error... that specify work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538910#M245674</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-08-07T11:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538911#M245675</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 can be used in LOOP at.&lt;/P&gt;&lt;P&gt;We can append the header to add new row and MODIFy the existing row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without header line cannot be used in loop at. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538911#M245675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538912#M245676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;an internal table with header line would use a header or work area with the same name as the internal table for some processing to be done.&lt;/P&gt;&lt;P&gt;for example , you have an internal table in which you have 10 records.&lt;/P&gt;&lt;P&gt;YOu have to modify a value in 7th record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index 7.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The above satement would get the 7th record into the header work area.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*From now onwards, you can use itab as just another structure which has one record in it with all the fields in the internal table(In this case the 7th record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you uuse an internal table without header line, then you have to use a structure/explicit work Area to do the processing on particu;ar records.&lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read itab into xtab index 7.&lt;/P&gt;&lt;P&gt;*Now xtab will have the 7th record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short,&lt;/P&gt;&lt;P&gt;an internal table with header = an internal table without header line + a work area which has the same structure as the internal table.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538912#M245676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538913#M245677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you declare a internal table using "Begin of" by default u will have a header to ur internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you write a sample program by using above replies, debug the program and you can compare both internal table with header and without header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538913#M245677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538914#M245678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to process internal table data(records) you need some thing to store that record. for that purpose HEADER LINE appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you read any entry from the internal table(either by using LOOP AT ITAB or READ TABLE ITAB) , the record will be fetched from the internal table body to the header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you define an internal table with header line, the above record will be placed there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you create an internal table WITHOUT header,you should explicitly mention where to place the fetching record &lt;/P&gt;&lt;P&gt;from the body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regaards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538914#M245678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538915#M245679</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;      If you have declared an internal table with header line , then any read statement or Loop statement made on the table writes the value into its header .&lt;/P&gt;&lt;P&gt;For Eg. IF you declare a table i_itab with header line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can make a read/loop  statement like &lt;/P&gt;&lt;P&gt;read table i_itab with key ....&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Loop at i_tab where ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not required to specify 'INTO work area'&lt;/P&gt;&lt;P&gt;The value will be there in its header , which you can get by accessing i_itab-*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effectively a declaration of internal table with header line creates a table along with a work area of the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sreejesh P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: Award points if found helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:37:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538915#M245679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538916#M245680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An Internal table without header line have no work area. Thus we need to provide an explicit work area when we are using them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO X_ITAB.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Now the data goes to the explicit work area x_itab&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header line is the implicit work area of the internal table. An internal with header line have a work area by default, and when you loop on the internal table with header line you don't need to provide the work area data goes to header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;*the data goes to header line(default workarea which has the same name itab) for each loop pass.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its always a better practise to use explicit workareas.&lt;/P&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>Mon, 07 Aug 2006 11:40:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538916#M245680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538917#M245681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HEADER LINE is an implicit work area declaration, by which you can address the header line by the same name as your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal Table without header line are to addressed with a work area and you`ll have to address the work area by its name and not by the internal table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is of any help, reward points if so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538917#M245681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding header line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538918#M245682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table with header line means it internally creates a workarea for header line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table with out header line for this you have to create work area explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikranth Khimavath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-header-line/m-p/1538918#M245682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T11:41:41Z</dc:date>
    </item>
  </channel>
</rss>

