<?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 &amp; work area (difference) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651155#M289338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : it_tab type standard table of ty_itab. is internal table declaration.&lt;/P&gt;&lt;P&gt;data : wa_itab type ty_itab. is work area declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : being of itab occurs 0,&lt;/P&gt;&lt;P&gt;            ..............&lt;/P&gt;&lt;P&gt;         end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here both internal table and work are in same declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2006 06:02:45 GMT</pubDate>
    <dc:creator>gopi_narendra</dc:creator>
    <dc:date>2006-11-16T06:02:45Z</dc:date>
    <item>
      <title>Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651151#M289334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;what is the diff. betw  header line &amp;amp; work area?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 05:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651151#M289334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T05:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651152#M289335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we are talking about internal table then header line and work area are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 05:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651152#M289335</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-11-16T05:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651153#M289336</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 is part of the internal table where as workarea is data object with same structure as of your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no difference in the structure the only difference is how you address it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have internal table with header line then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_TAB is the workarea (Header line) and IT_TAB[] is the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have internal table with out headerline then you create the work area as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: work_area like line of it_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR on IT_TAB clears the headerline if the table is with header line other wise entire table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use REFRESH if you want to clear the internal table which is with headerline.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Seshatalpasai Madala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 05:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651153#M289336</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2006-11-16T05:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651154#M289337</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;There's no difference in working principal, only the defination portion is the difference. The Header area coes implicitly with the table defation when you define like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of t_itab occurs 0,
        ............
        end of t_itab. 

data: wa_itab type type_strc......&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for itabs defined with reference to type structures the headers are not avialable for them the wok areas are must. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that Helps&lt;/P&gt;&lt;P&gt;Anirban M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 05:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651154#M289337</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-11-16T05:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651155#M289338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : it_tab type standard table of ty_itab. is internal table declaration.&lt;/P&gt;&lt;P&gt;data : wa_itab type ty_itab. is work area declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : being of itab occurs 0,&lt;/P&gt;&lt;P&gt;            ..............&lt;/P&gt;&lt;P&gt;         end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here both internal table and work are in same declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 06:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651155#M289338</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-11-16T06:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651156#M289339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeev,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Header and workarea performs the same functionality of temporarily storing internal table data . All headers are work area but all workareas are not header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header is the workarea created along with the internal table declaration, where as workarea are created separately i.e separate declaration exit for work area. &lt;/P&gt;&lt;P&gt;Header is the part of the internal table where as work area is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header is created using  WITH HEADER LINE with internal table declartion where as work area &lt;/P&gt;&lt;P&gt;may be create using like or type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your doubt..let me know if not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 06:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651156#M289339</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2006-11-16T06:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651157#M289340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While adding or retrieving records to / from internal table we have to keep the record temporarily. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The area where this record is kept is called as work area for the internal table.  The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Header line is a implicit work area for the internal table.&amp;lt;/b&amp;gt;  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;e.g. &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. " &amp;lt;b&amp;gt;explicit work area for itab&amp;lt;/b&amp;gt; &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;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 06:18:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651157#M289340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T06:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651158#M289341</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;The only difference is how you address them, though the structure are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shehryar Dahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 06:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651158#M289341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T06:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Header &amp; work area (difference)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651159#M289342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for ur reply. now i am clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 07:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-work-area-difference/m-p/1651159#M289342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T07:03:37Z</dc:date>
    </item>
  </channel>
</rss>

