<?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: simple help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201609#M763065</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;Refer this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab1 into wa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa2-f1 = wa1-f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa2 to itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2007 13:10:06 GMT</pubDate>
    <dc:creator>former_member386202</dc:creator>
    <dc:date>2007-12-26T13:10:06Z</dc:date>
    <item>
      <title>simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201608#M763064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;How can I update work area to internal table &lt;/P&gt;&lt;P&gt;I need the syntax for update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201608#M763064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T13:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201609#M763065</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;Refer this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab1 into wa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa2-f1 = wa1-f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa2 to itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201609#M763065</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-26T13:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201610#M763066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  shilpa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just use append statement to update internal tble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int-f1 = wa-f1.&lt;/P&gt;&lt;P&gt;int-f2 = wa-f2.&lt;/P&gt;&lt;P&gt;append int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201610#M763066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T13:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201611#M763067</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;You can use below code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-f1 = wa-f1&lt;/P&gt;&lt;P&gt;itab-f2 = wa-f2.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201611#M763067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T13:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201612#M763068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need syntax for update&lt;/P&gt;&lt;P&gt;here my requirement is to update work area to internal table body.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201612#M763068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T13:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201613#M763069</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 your work area and internal table structures are same then you can write,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND 'workarea' to '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;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201613#M763069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T13:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201614#M763070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this may be of some help to u:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORKAREA is a structure that can hold only one record at a time. It is a collection of fields. We use workarea as we cannot directly read from a table. In order to interact with a table we need workarea. When a Select Statement is executed on a table then the first record is read and put into the header of the table and from there put into the header or the workarea(of the same structure as that of the table)of the internal table and then transferred top the body of the internal table or directly displayed from the workarea.&lt;/P&gt;&lt;P&gt;Each row in a table is a record and each column is a field.&lt;/P&gt;&lt;P&gt;&lt;/P&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;Header line is a implicit work area for the internal table. 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. " explicit work area for itab&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;Internal tables are used for storing records which are obtained as a result when we use select statement on database. internal tables are run time entities and doesn't occupy any memory. they are dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal tables are of types.&lt;/P&gt;&lt;P&gt;1. internal tables with header line. [header and body]&lt;/P&gt;&lt;P&gt;2. internal tables with out header line. [only body]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workarea is the concept which is mainly useful when working with internal tables with out header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at any point of time we can access only one record through header of a internal table. every thing should be done [inserting,modifying, reading ] through header only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: data: itab like standard table of mara with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for internal tables with out header line we will create a work area [explicit header] as type of table for storing data into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: data: itab like mara,&lt;/P&gt;&lt;P&gt;wa like mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Hema Sundara.&lt;/P&gt;&lt;P&gt;reward if u find it needful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201614#M763070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T13:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201615#M763071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use append statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if work area is defined explictly,&lt;/P&gt;&lt;P&gt;  append wa to itab.&lt;/P&gt;&lt;P&gt;  clear wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if work area is along with itab,&lt;/P&gt;&lt;P&gt;   append itab.&lt;/P&gt;&lt;P&gt;   clear itab&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;umakanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201615#M763071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T13:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: simple help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201616#M763072</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 u want to update use modify statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 14:26:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-help/m-p/3201616#M763072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T14:26:30Z</dc:date>
    </item>
  </channel>
</rss>

