<?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: difference between in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200475#M470076</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;work area is similar to header.It consists of only one record n the body consists of no: of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of itab means the header gets created n itab[] means the body gets created.&lt;/P&gt;&lt;P&gt;table consists of records..In the select statement when we give &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zstd into  table itab. means  the values will be going directly into the table. n it table is not mentioned then it goes into the field string first n the  intop the body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if usefull reward with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;madhuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2007 03:23:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-03T03:23:55Z</dc:date>
    <item>
      <title>difference between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200473#M470074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the difference between Work Area, Header , Table and body .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 22:42:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200473#M470074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T22:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: difference between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200474#M470075</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;Work area -&amp;gt; An explicit structure to hold the value of the row of the internal table ..Generally the work area are used for internal tables created without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB LIKE TABLE OF MARA.&lt;/P&gt;&lt;P&gt;DATA: WA LIKE MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INTO WA INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Header line -&amp;gt; An implicit structure that holds the value of the row of the internal table..Generally the header line are used for internal tables created with header line...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex..&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;READ TABLE ITAB INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for with header line internal table you can still use an explicit work area..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Body -&amp;gt; it is the entire contents of the internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 22:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200474#M470075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T22:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: difference between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200475#M470076</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;work area is similar to header.It consists of only one record n the body consists of no: of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of itab means the header gets created n itab[] means the body gets created.&lt;/P&gt;&lt;P&gt;table consists of records..In the select statement when we give &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zstd into  table itab. means  the values will be going directly into the table. n it table is not mentioned then it goes into the field string first n the  intop the body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if usefull reward with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;madhuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 03:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200475#M470076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T03:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: difference between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200476#M470077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Body&amp;lt;/b&amp;gt; hold the rows of the internal table.all rows within it have the same structure.The term &amp;lt;b&amp;gt;'Internal ta&amp;lt;/b&amp;gt;ble' itself usually refers to the body of the internal table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Work area&amp;lt;/b&amp;gt; or header is a field string with the same structure as a row of the body,but can hold only a single row.It is a buffer used to hold each record before it is added to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: begin of it_tab occurs 3,&lt;/P&gt;&lt;P&gt;          field1(1),&lt;/P&gt;&lt;P&gt;          field2(2),&lt;/P&gt;&lt;P&gt;         end of it_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Occurs &amp;lt;/b&amp;gt;: creates the body of the internal table.without occurs you have only a field string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Begin of or With header&amp;lt;/b&amp;gt; line creates a work area(header).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if statisfied, reward points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 03:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200476#M470077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T03:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: difference between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200477#M470078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I explain with an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type mara occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here a header line is created with same name itab (as the table name )which can hold at a time one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next u fill itab table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab. endloop.        &lt;/P&gt;&lt;P&gt;"this statement will move one record at a time                                          from itab table  into itab(header line). so u can access an field of that record using  itab-feildname                            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here u explicitly define a structure same as itab as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type mara occurs 0 .&lt;/P&gt;&lt;P&gt;data wa_itab type mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here a WA is created with  name wa_itab (as the table name )which can hold at a time one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next u fill itab table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab &amp;lt;b&amp;gt;INTO WA_ITAB&amp;lt;/b&amp;gt;.endloop.        &lt;/P&gt;&lt;P&gt; "this statement will move one record at a time                                          from itab table  into WA_itab. so u can access an field                                                   of that record using  WA_itab-feildname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sushilnath shukla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 03:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200477#M470078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T03:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: difference between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200478#M470079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Internal Table:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;An internal table is a data object, in which you can keep several identically&lt;/P&gt;&lt;P&gt;structured data records at runtime (table variable). The number of data records is&lt;/P&gt;&lt;P&gt;restricted only by the capacity of specific system installations.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;DATA itab1 TYPE TABLE OF scarr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Work Area:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;For single record processing of an internal table, you usually need a work area for&lt;/P&gt;&lt;P&gt;which the structure variable has to be defined with the same type as the line type of the internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Header:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WITH HEADER LINE addition in the definition of the internal table gives you&lt;/P&gt;&lt;P&gt;the option of creating a table with header line. When this is done a work area (header line) that suits the table is created automatically so that the additional definition of the same is not necessary. This also simplifies the syntax of the table commands, as the system always refers to the automatically generated work area, which therefore no longer has to be specified explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab1 TYPE TABLE OF scarr WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA itab2 LIKE itab1.&lt;/P&gt;&lt;P&gt;itab1 = itab2 . Only operations with header lines &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Body&amp;lt;/b&amp;gt;  is the contents of the internal table &lt;/P&gt;&lt;P&gt;You can address the body of the table with itab[].&lt;/P&gt;&lt;P&gt;itab1[] = itab2[] . Operations with table bodies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 03:56:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200478#M470079</guid>
      <dc:creator>Yogitha</dc:creator>
      <dc:date>2007-05-03T03:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: difference between</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200479#M470080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Buddy,&lt;/P&gt;&lt;P&gt;              Internal table must be having body. it can have header but it is not necessary.&lt;/P&gt;&lt;P&gt;u can assign a table without header line.&lt;/P&gt;&lt;P&gt;work area is nothing but temp storage area .&lt;/P&gt;&lt;P&gt;If table is assigned as with header line.then there is no need to take any wok area.table header is worked as work area.otherwise work area is necessary is deal with internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;table without header&amp;lt;/u&amp;gt; &lt;/P&gt;&lt;P&gt;types : begin of t_struct,&lt;/P&gt;&lt;P&gt;          matnr type matnr,&lt;/P&gt;&lt;P&gt;          end of t_struct.&lt;/P&gt;&lt;P&gt;data : i_tab type standrad table of  t_struct..&lt;/P&gt;&lt;P&gt;data : w_area type  t_struct..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_tab into w_area.&lt;/P&gt;&lt;P&gt;write:/  w_area-matnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;If table is assign as with header line.&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;types : begin of t_struct,&lt;/P&gt;&lt;P&gt;          matnr type matnr,&lt;/P&gt;&lt;P&gt;          end of t_struct.&lt;/P&gt;&lt;P&gt;data : i_tab type standrad table of  t_struct with header line.&lt;/P&gt;&lt;P&gt;loop at i_tab.&lt;/P&gt;&lt;P&gt;write:/  i_tab-matnr.&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;Rewards points if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 04:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between/m-p/2200479#M470080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T04:27:31Z</dc:date>
    </item>
  </channel>
</rss>

