<?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 keeping Validations in a user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037655#M1350399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         I am trying to keep some validations for attachments in ME51N Tcode. Before saving the document, system will check for the attachment.If it is empty it will prompt a error message saying its mandatory.After seeing the message when user attach the attachment and try to save the screen again it showing a system error.Can we use error message in the user exits.If not what is the alternative for that.Could any suggest me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt; Shyam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 08:38:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-24T08:38:00Z</dc:date>
    <item>
      <title>keeping Validations in a user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037655#M1350399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         I am trying to keep some validations for attachments in ME51N Tcode. Before saving the document, system will check for the attachment.If it is empty it will prompt a error message saying its mandatory.After seeing the message when user attach the attachment and try to save the screen again it showing a system error.Can we use error message in the user exits.If not what is the alternative for that.Could any suggest me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt; Shyam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 08:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037655#M1350399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T08:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: keeping Validations in a user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037656#M1350400</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;U can use error messages in an user exit.. However as per ur issue it seems ur code is called twice ....Please see the okcode for the same..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever u press save button , u r validating....once ur validation is fine u should allow to save it...otherwise throw error message... Make sure that u satisf the conditions in the validation for saving..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 08:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037656#M1350400</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-08-24T08:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: keeping Validations in a user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037657#M1350401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagaraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Actually my code is calling only once. when i save it for the first time it throwing the custom error message.After making the corrections and again if we try to save then it showing the system error.&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;Shyam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 09:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037657#M1350401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: keeping Validations in a user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037658#M1350402</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;If that is the case then put a break point in the code..While saving please debug and see why it is throwing error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 09:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/keeping-validations-in-a-user-exit/m-p/6037658#M1350402</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-08-24T09:15:01Z</dc:date>
    </item>
  </channel>
</rss>

