<?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: Work  Area using  Advantages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841982#M357738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay, &lt;/P&gt;&lt;P&gt;Why had you copied my reply as ur post ?&lt;/P&gt;&lt;P&gt;I think thats what i had posted yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't copy???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sonika Ahuja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2007 08:05:03 GMT</pubDate>
    <dc:creator>former_member632991</dc:creator>
    <dc:date>2007-01-10T08:05:03Z</dc:date>
    <item>
      <title>Work  Area using  Advantages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841977#M357733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,  &lt;/P&gt;&lt;P&gt;Can  you  plz help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Q1)   Generally, when you work on data you put in internal table or work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                         ex1:    loop at IT1 or WA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                   if .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                    endif....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                   move To IT2.&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;                       ex2:   Loop at IT1 INTO wa.&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;                                    append wa INTO IT2.&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;whats the adv in using second approach and how is better than first performance wise. i feel that more the internal tables or wa more memory usuage and delay in processing(especially interfaces).  &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;&lt;/P&gt;&lt;P&gt;Q2) In general while programming interfaces what is effective or good programming .  what are all the do's and dont's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841977#M357733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T10:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Work  Area using  Advantages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841978#M357734</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;Advatages of work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) No memory waste.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) program more readable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841978#M357734</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-01-09T10:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Work  Area using  Advantages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841979#M357735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U have to use internal table for processing on the data taht u have fetched from the Database. it is the temporary storage for data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While we use work area since the memory that is allocated for WA is in the same memory allocation that is being allocated to the program.As the memory wil be allocated as it is allocated to another variable of the programn.&lt;/P&gt;&lt;P&gt;On the otherhand if we use internal table with header line , then there is no need to explicitly move the data from IT toWA but the memory that is allocated to header line is outside the memory that is allocated for the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the main reason for the good performance with WA.&lt;/P&gt;&lt;P&gt;Best practice is to use the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Sonika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 11:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841979#M357735</guid>
      <dc:creator>former_member632991</dc:creator>
      <dc:date>2007-01-09T11:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Work  Area using  Advantages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841980#M357736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using work area has almost the same overhead and memory requirement as a header line.&lt;/P&gt;&lt;P&gt;Using a work area is clearer to understand.  For example, if you call a subroutine with the statement &lt;/P&gt;&lt;P&gt;  PERFORM DO_SOMETHING using IT1 &lt;/P&gt;&lt;P&gt;are you passing the table or the header line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For performance improvement reading / looping on an internal table, use a field-symbol:&lt;/P&gt;&lt;P&gt;field-symbols &amp;lt;fs&amp;gt;  like line of IT1.&lt;/P&gt;&lt;P&gt;loop at IT1 assigning &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  &amp;lt;fs&amp;gt;-field1 = '123'.&lt;/P&gt;&lt;P&gt;  append &amp;lt;fs&amp;gt; to IT2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memory is less, and you don't need a MODIFY statement to update the internal table after changing a field.&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;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 04:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841980#M357736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T04:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Work  Area using  Advantages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841981#M357737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U have to use internal table for processing on the data taht u have fetched from the Database. it is the temporary storage for data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While we use work area since the memory that is allocated for WA is in the same memory allocation that is being allocated to the program.As the memory wil be allocated as it is allocated to another variable of the programn.&lt;/P&gt;&lt;P&gt;On the otherhand if we use internal table with header line , then there is no need to explicitly move the data from IT toWA but the memory that is allocated to header line is outside the memory that is allocated for the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the main reason for the good performance with WA.&lt;/P&gt;&lt;P&gt;Best practice is to use the work area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 07:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841981#M357737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T07:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Work  Area using  Advantages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841982#M357738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay, &lt;/P&gt;&lt;P&gt;Why had you copied my reply as ur post ?&lt;/P&gt;&lt;P&gt;I think thats what i had posted yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't copy???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sonika Ahuja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 08:05:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-using-advantages/m-p/1841982#M357738</guid>
      <dc:creator>former_member632991</dc:creator>
      <dc:date>2007-01-10T08:05:03Z</dc:date>
    </item>
  </channel>
</rss>

