<?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: Deletion indicator not working after user exit error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-indicator-not-working-after-user-exit-error/m-p/3956289#M945450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you insert 37 lines you get your error message. But if you delete 1 row, you get error message again, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that's because you are not refreshing internal table ot_div. Shouldn't you refresh it before LOOP AT gt_eban INTO gs_eban?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2008 21:59:41 GMT</pubDate>
    <dc:creator>valter_oliveira</dc:creator>
    <dc:date>2008-06-06T21:59:41Z</dc:date>
    <item>
      <title>Deletion indicator not working after user exit error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-indicator-not-working-after-user-exit-error/m-p/3956288#M945449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I had one requirement in Purchase Requisition. If the number of items increase by 36 , there should be an error saying that maximum items reached but once that item is deleted that error should disappear.&lt;/P&gt;&lt;P&gt;I have written the coding in an Exit: EXIT_SAPLMEREQ_010.&lt;/P&gt;&lt;P&gt;And the coding is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF gs_eban-bsart = gcz902.&lt;/P&gt;&lt;P&gt;LOOP AT gt_eban INTO gs_eban&lt;/P&gt;&lt;P&gt;where loekz is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT gt_ebkn INTO gwa_ebkn WHERE banfn = gs_eban-banfn&lt;/P&gt;&lt;P&gt;and bnfpo IN r_bnfpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;recherche division- ordre interne &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ot_div into gwa_div WHERE ot = gwa_ebkn-aufnr AND div = gwa_ebkn-bnfpo.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;gwa_div-ot = gwa_ebkn-aufnr.&lt;/P&gt;&lt;P&gt;gwa_div-div = gwa_ebkn-bnfpo.&lt;/P&gt;&lt;P&gt;APPEND gwa_div TO ot_div.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;DESCRIBE TABLE ot_div LINES n.&lt;/P&gt;&lt;P&gt;IF n &amp;gt;= 37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm. &lt;/P&gt;&lt;P&gt;WHEN 'MESAVE'. &lt;/P&gt;&lt;P&gt;MESSAGE e111(zpfr) with n.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now the exit is working fine......but when i go to delete that extra item it is not getting deleted , so while saving the information message comes that no data changed. &lt;/P&gt;&lt;P&gt;So ho wto delete that extra item.&lt;/P&gt;&lt;P&gt;Do anyone have reply....&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-indicator-not-working-after-user-exit-error/m-p/3956288#M945449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T11:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion indicator not working after user exit error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-indicator-not-working-after-user-exit-error/m-p/3956289#M945450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you insert 37 lines you get your error message. But if you delete 1 row, you get error message again, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that's because you are not refreshing internal table ot_div. Shouldn't you refresh it before LOOP AT gt_eban INTO gs_eban?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 21:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-indicator-not-working-after-user-exit-error/m-p/3956289#M945450</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-06-06T21:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion indicator not working after user exit error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-indicator-not-working-after-user-exit-error/m-p/3956290#M945451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 09:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-indicator-not-working-after-user-exit-error/m-p/3956290#M945451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T09:36:49Z</dc:date>
    </item>
  </channel>
</rss>

