<?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 ****** error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/3233524#M771438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why does the ****** error occur when "AT NEW" keyword is used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jan 2008 13:38:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-12T13:38:41Z</dc:date>
    <item>
      <title>****** error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/3233524#M771438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why does the ****** error occur when "AT NEW" keyword is used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2008 13:38:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/3233524#M771438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-12T13:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: ****** error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/3233525#M771439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sashi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume you have your internal table(ITAB) as&lt;/P&gt;&lt;P&gt;Field1&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;Field3&lt;/P&gt;&lt;P&gt;Field4&lt;/P&gt;&lt;P&gt;Field5&lt;/P&gt;&lt;P&gt;Field6&lt;/P&gt;&lt;P&gt;Field7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you say AT NEW FIELD1 then all the remaining fields will show as '*'. This is because the control statement AT NEW &amp;lt;fieldname&amp;gt; will consider values only upto &amp;lt;fieldname&amp;gt; and ignores the rest of the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats why when ever you want to use control statements then you always move the value from you workarea to another work are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB INTO WA_ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_ITAB2 = WA_ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT NEW FIELD1.&lt;/P&gt;&lt;P&gt;BREAK-POINT. ---&amp;gt; Here you will be able to ONLY see values of fields FIELD1 and FIELD2 of WA_ITAB1.&lt;/P&gt;&lt;P&gt;But you will be able to see all the Field values from WA_ITAB2&lt;/P&gt;&lt;P&gt;ENDAT.&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;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points of useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Rajasekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2008 22:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/3233525#M771439</guid>
      <dc:creator>rajasekhar_matukumalli3</dc:creator>
      <dc:date>2008-01-12T22:23:55Z</dc:date>
    </item>
  </channel>
</rss>

