<?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: AT NEW problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093768#M101552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try AT END OF ordernum, because, I think that is what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2005 16:33:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-28T16:33:37Z</dc:date>
    <item>
      <title>AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093762#M101546</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 want to use at new for 7th field of the table.&lt;/P&gt;&lt;P&gt;i have sorted the table. i have the three records with &lt;/P&gt;&lt;P&gt;opno 10,20,30....&lt;/P&gt;&lt;P&gt;i want to save the data after opno = 30.&lt;/P&gt;&lt;P&gt;see the following code.&lt;/P&gt;&lt;P&gt;but the first loop itself the control is trigging AT END OF event.&lt;/P&gt;&lt;P&gt;where i am doing wrong.&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;sort itab by opno.&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt; at first.&lt;/P&gt;&lt;P&gt; first_flag = 'x'&lt;/P&gt;&lt;P&gt; .....&lt;/P&gt;&lt;P&gt; .....&lt;/P&gt;&lt;P&gt; endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT END OF opno.&lt;/P&gt;&lt;P&gt; last_flag = 'x'.&lt;/P&gt;&lt;P&gt;END AT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if last flag = 'x'.&lt;/P&gt;&lt;P&gt; ....&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;where i am doing wrong.&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093762#M101546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T16:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093763#M101547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Change as follows in BOLD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;at first.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT END OF opno.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if opno &amp;gt; 30....&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DO WHAT EVER U WANT...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;END AT.&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;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093763#M101547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T16:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093764#M101548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;my opno will be changed on order number.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;orderno    subordno   fieldx    fieldy     opno&lt;/P&gt;&lt;P&gt;900123     10054       xxx      yyyy       10&lt;/P&gt;&lt;P&gt;900123     10053       xxx      yyyy       20&lt;/P&gt;&lt;P&gt;900123     10057       xxx      yyyy       30&lt;/P&gt;&lt;P&gt;900124     10052       xxx      yyyy       10&lt;/P&gt;&lt;P&gt;900124     10059       xxx      yyyy       20&lt;/P&gt;&lt;P&gt;900126     10053       xxx      yyyy       10&lt;/P&gt;&lt;P&gt;900127     10051       xxx      yyyy       10&lt;/P&gt;&lt;P&gt;900343     10335       xxx      yyyy       10&lt;/P&gt;&lt;P&gt;900345     10334       xxx      yyyy       20&lt;/P&gt;&lt;P&gt;900345     10033       xxx      yyyy       30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093764#M101548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T16:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093765#M101549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you put the 7th field as the first field 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;Please consider closing your other posts if your question has been answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093765#M101549</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-28T16:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093766#M101550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry &lt;/P&gt;&lt;P&gt;it shoud be like this&lt;/P&gt;&lt;P&gt;900123 10054 xxx yyyy 10&lt;/P&gt;&lt;P&gt;900123 10053 xxx yyyy 20&lt;/P&gt;&lt;P&gt;900123 10057 xxx yyyy 30&lt;/P&gt;&lt;P&gt;900124 10052 xxx yyyy 10&lt;/P&gt;&lt;P&gt;900124 10059 xxx yyyy 20&lt;/P&gt;&lt;P&gt;900126 10053 xxx yyyy 10&lt;/P&gt;&lt;P&gt;900127 10051 xxx yyyy 10&lt;/P&gt;&lt;P&gt;900345 10335 xxx yyyy 10&lt;/P&gt;&lt;P&gt;900345 10334 xxx yyyy 20&lt;/P&gt;&lt;P&gt;900345 10033 xxx yyyy 30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093766#M101550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T16:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093767#M101551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So do you want to do something at the last record per order?  Or only when the operation is 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093767#M101551</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-28T16:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093768#M101552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try AT END OF ordernum, because, I think that is what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:33:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093768#M101552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T16:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093769#M101553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was thinking the same.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093769#M101553</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-28T16:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093770#M101554</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;I guess your problem is that, if any field before the 7th have changed, it will get in the "at new" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexandre Nogueira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093770#M101554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T16:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: AT NEW problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093771#M101555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Rich, I gave him the same idea in my first posting!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;at first.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT END OF opno.&lt;/P&gt;&lt;P&gt;if opno &amp;gt; 30....&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DO WHAT EVER U WANT...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;END AT.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 16:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-new-problem/m-p/1093771#M101555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T16:37:11Z</dc:date>
    </item>
  </channel>
</rss>

