<?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 select statement for table with workarea and using INTO workarea in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603982#M1568618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared a table with workarea. Whenever i do a 'select single' statement, that workarea gets filled. But, i want to avoid this for one scenario. so, when i use 'select single * from &amp;lt;table&amp;gt; into &amp;lt;wa&amp;gt;', will it fill the external work area and will it not disturb the internal workarea of that table ? as, i require to compare the old and new value of same table in a module pool programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Dec 2010 04:50:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-31T04:50:31Z</dc:date>
    <item>
      <title>select statement for table with workarea and using INTO workarea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603982#M1568618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared a table with workarea. Whenever i do a 'select single' statement, that workarea gets filled. But, i want to avoid this for one scenario. so, when i use 'select single * from &amp;lt;table&amp;gt; into &amp;lt;wa&amp;gt;', will it fill the external work area and will it not disturb the internal workarea of that table ? as, i require to compare the old and new value of same table in a module pool programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 04:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603982#M1568618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-31T04:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: select statement for table with workarea and using INTO workarea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603983#M1568619</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;     The entries will not be disturbed until you clear them or move some other values into the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 04:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603983#M1568619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-31T04:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: select statement for table with workarea and using INTO workarea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603984#M1568620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume u have an internal table and a separate work area.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: it_outtab type table of mara with header line,
 wa_outtab type mara. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assume the workarea of it_outtab already has some data you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the below code, the table's workarea will be filled with new values.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single * from mara  into it_outtab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the below code, the table's workarea will contain the old values and new values will be placed in wa_outtab..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single * from mara  into wa_outtab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 06:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603984#M1568620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-31T06:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: select statement for table with workarea and using INTO workarea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603985#M1568621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By table with workarea, do you mean a table with a header line? Because tables with headerlines are obsolete, ambiguous and should no longer be used (Exception - some older parts of SAP require them).  So you should define your work area seperately, and have an internal table without a header line. Then you won't have confusion over whether the reference is to a table or the workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your table &lt;STRONG&gt;doesn't&lt;/STRONG&gt; have a header line then your question makes no sense to me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 08:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-for-table-with-workarea-and-using-into-workarea/m-p/7603985#M1568621</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-12-31T08:02:50Z</dc:date>
    </item>
  </channel>
</rss>

