<?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 message in User exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-user-exit/m-p/2048510#M422037</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;This is my requirement . In the exit  EXIT_SAPLV56U_002  we are calling a user routine and this user routine is defined in the include some zxxxxx .  Now I am trying to modify this user routine in such a way that I am doing some validations against a ztable and have  to give an error message saying the transportation planning point is obsolete . The user has to see the error message and the shipment should not be created . Can anyone please guide me how to achieve that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2007 13:06:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-22T13:06:07Z</dc:date>
    <item>
      <title>Error message in User exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-user-exit/m-p/2048510#M422037</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;This is my requirement . In the exit  EXIT_SAPLV56U_002  we are calling a user routine and this user routine is defined in the include some zxxxxx .  Now I am trying to modify this user routine in such a way that I am doing some validations against a ztable and have  to give an error message saying the transportation planning point is obsolete . The user has to see the error message and the shipment should not be created . Can anyone please guide me how to achieve that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 13:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-user-exit/m-p/2048510#M422037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T13:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in User exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-user-exit/m-p/2048511#M422038</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;I'm not sure this is what you are talking about, but maybe it will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not using this user exit, but in the CCS side, we would do our validation in the Z include and "pop" a message to the user using, for example, POPUP_TO_DISPLAY_TEXT_LO.  We would also set the appropriate error condition in the Z include so that it is returned to the original user exit call.  It appears that in your scenario you can relay an error back by setting e_errors_occurred to true.  It will require testing and/or debugging to confirm that the shipment will cancel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 15:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-user-exit/m-p/2048511#M422038</guid>
      <dc:creator>kathryn_mcgallicher</dc:creator>
      <dc:date>2007-04-09T15:33:25Z</dc:date>
    </item>
  </channel>
</rss>

