<?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: Error message in customer exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074328#M1355998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2009 05:04:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-03T05:04:49Z</dc:date>
    <item>
      <title>Error message in customer exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074326#M1355996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ABAPer's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the one problem  while giving the error message in customer exit  ZXM06U43(POCustomer exit). The scenario is i am looping the  tekpo(PO line item) internal tables and doing some validations if any lineitem fail in the validation i need  give the error message .I dd the  but all ways it showing the error in last line item in the  PO.&lt;/P&gt;&lt;P&gt;&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;Harinath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 04:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074326#M1355996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T04:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in customer exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074327#M1355997</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;After displaying the error are you using the EXIT or LEAVE PROGRAM statement? Only then will the program execution stop after displaying the message. Else it will continue processing the code even after the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 04:48:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074327#M1355997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T04:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in customer exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074328#M1355998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 05:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074328#M1355998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T05:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in customer exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074329#M1355999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check where are you looping. put a break point and see where the loop starts triggering. &lt;/P&gt;&lt;P&gt;this has to be PBO exit and the loop must come for each line item. have you kept error message inside the loop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 05:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074329#M1355999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T05:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in customer exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074330#M1356000</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;You have to either leave the screen. Also you can try EXIT in place of LEAVE SCREEN as per suitable to your transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAMPLE CODE: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;MESSAGE E059(ZGO) WITH I_MSEG-MATNR I_MSEG-AUFNR.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;LEAVE SCREEN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anil Katoch on Sep 3, 2009 7:37 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 05:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074330#M1356000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T05:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in customer exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074331#M1356001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vipin,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; Did you try giving messages using macros like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

INCLUDE mm_messages_mac.
    mmpur_message_forced 'E' '000' '398' 'error during PO check' '' '' ''.

&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;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 06:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-customer-exit/m-p/6074331#M1356001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-03T06:25:54Z</dc:date>
    </item>
  </channel>
</rss>

