<?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: Restrict Save after error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459265#M1742402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this as I have used this before for a similar requirement and it has worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE &amp;lt;YOUR MESSAGE&amp;gt; TYPE I DISPLAY LIKE E.&lt;/P&gt;&lt;P&gt;SET SCREEN 0.&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 May 2013 04:01:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-09T04:01:51Z</dc:date>
    <item>
      <title>Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459260#M1742397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am displaying an error message in VA41 and VA42 using a Pricing routine.&lt;/P&gt;&lt;P&gt; After error display i want the user to correct the entries and process the Contract for Save.&lt;/P&gt;&lt;P&gt;I am displaying the error&amp;nbsp; and fields become non editable and&amp;nbsp; When i press ENTER twice i am able make the fields editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My concern is&amp;nbsp; when i Press 'SAVE' i am able to restrict the contract for SAVE ,but the fields become grayed (non-editable).&lt;/P&gt;&lt;P&gt;And when i press 'ENTER'&amp;nbsp; more than twice after the 'SAVE'&amp;nbsp; the contract gets saved automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt;if xkwert &lt;SPAN class="L0S52"&gt;GT &lt;/SPAN&gt;gd_var----(this is my condition) &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'The Difference is Greater than 50' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'W' &lt;/SPAN&gt;DISPLAY &lt;SPAN class="L0S52"&gt;LIKE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'E'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-------For restricting the save.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ucomm&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SICH' "function code for Save&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set &lt;SPAN class="L0S52"&gt;SCREEN &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;dynnr&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; exit&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-family: courier new,courier;"&gt;endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-family: courier new,courier;"&gt;endif.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have gone thru all the relevant posts but could not solve my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459260#M1742397</guid>
      <dc:creator>narendar_naidu</dc:creator>
      <dc:date>2013-05-08T14:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459261#M1742398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'courier new', courier; font-size: 12px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;'The Difference is Greater than 50' &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;'S' &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'courier new', courier; font-size: 12px; background-color: #ffffff;"&gt;DISPLAY &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;LIKE &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;'E'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;leave &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;screen sy-dnnr&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;I think it can solve your problrm.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Ruhul&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:42:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459261#M1742398</guid>
      <dc:creator>mdruhul_amin</dc:creator>
      <dc:date>2013-05-08T14:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459262#M1742399</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;&lt;SPAN class="L0S52" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;'The Difference is Greater than 50' &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;'I' &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'courier new', courier; font-size: 12px; background-color: #ffffff;"&gt;DISPLAY &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;LIKE &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;'E'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;This should work.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; font-family: 'courier new', courier; background-color: #ffffff; color: #333333;"&gt;Arindam&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 22:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459262#M1742399</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-08T22:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459263#M1742400</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;Only when you use a message of type "E", no further processing will take place. So please try giving your message statement as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message '&amp;lt;Your Message&amp;gt;' TYPE 'E' Display Like 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 03:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459263#M1742400</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2013-05-09T03:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459264#M1742401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Please respond to actual user who asked the question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 03:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459264#M1742401</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-09T03:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459265#M1742402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this as I have used this before for a similar requirement and it has worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE &amp;lt;YOUR MESSAGE&amp;gt; TYPE I DISPLAY LIKE E.&lt;/P&gt;&lt;P&gt;SET SCREEN 0.&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 04:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459265#M1742402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-09T04:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459266#M1742403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE 'The Difference is Greater than 50' TYPE 'W' DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEAVE TO SCREEN sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 04:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459266#M1742403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-09T04:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459267#M1742404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can use the suggestions given above...&lt;BR /&gt;also it might be happening because the sy-ucomm value would be changing when you press enter twice or so as it is only a warning message the If condition would be executed and it would be failing... so it is being saved.... you can put a break point just before the if statement and check the values of sy-ucomm ... hope it helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 04:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459267#M1742404</guid>
      <dc:creator>former_member193464</dc:creator>
      <dc:date>2013-05-09T04:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459268#M1742405</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;First of all can you please provide the details of which exit,badi etc you have used to display the error message? W&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 05:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459268#M1742405</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2013-05-09T05:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459269#M1742406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi All ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your replies...i have tried all the suggestions but im ending in an SAVING the contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the process how im getting the screens &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. when i try to open a existing contract, the contract is displayed with values in conditions tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. i am changing values in a condition and press 'ENTER'&amp;nbsp; the error message is displayed.second time when i press 'ENTER'&amp;nbsp; the fields become editable to change.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Till here it is fine,now when i press 'SAVE' after changing the values, the error message(warning message) is displayed as error and screen is in non-editable.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4. Now if i press 'ENTER' more than thrice the contract gets saved.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5. In the Debug the Sy-ucomm value is 'SICH' for save even if i press enter any number of times.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my requirement is to Stop the contract from saving and make the fields editable.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i have used SET SCREEN and LEAVE SCREEN .&lt;/P&gt;&lt;P&gt;this is my code in the VOFM routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt;if xkwert &lt;SPAN class="L0S52"&gt;GT &lt;/SPAN&gt;gd_var----(this is my condition) &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'The Difference is Greater than 50' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'W' &lt;/SPAN&gt;DISPLAY &lt;SPAN class="L0S52"&gt;LIKE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'E'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-------For restricting the save.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ucomm&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SICH' "function code for Save&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set &lt;SPAN class="L0S52"&gt;SCREEN &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;dynnr&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; exit&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 06:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459269#M1742406</guid>
      <dc:creator>narendar_naidu</dc:creator>
      <dc:date>2013-05-09T06:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459270#M1742407</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;Not sure if it works but try to clear sy-ucomm in that case and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Swarna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 07:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459270#M1742407</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2013-05-09T07:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459271#M1742408</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;Try doing a ROLLBACK WORK after the message to stop the save and check if the COMMIT happens before the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 07:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459271#M1742408</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-09T07:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459272#M1742409</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;Why dont you use MV45AFZZ pricing sub routines for validating your requirment and throw your error messages at the right place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put a break point in document_prepare or pricing one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 07:26:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459272#M1742409</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2013-05-09T07:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459273#M1742410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the MV45AFZZ does not trigger in this case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried the ROLLBACK&amp;nbsp; both before the message and after the message but still contract gets saved. and clearing the sy-ucomm also did not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 09:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459273#M1742410</guid>
      <dc:creator>narendar_naidu</dc:creator>
      <dc:date>2013-05-09T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Save after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459274#M1742411</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;Try doing Chain and Endchain and in that call the field validation. Do this in the PAI of the screen, the PAI modules ( &lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;Include MV45AIZZ ). This should address the first issue of field greying out on error and thus allow the user to correct entries. Check the link below for details info on the exits available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm" title="http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm"&gt;http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code should look like this. In the module have your normal error message of TYPE 'E' no DISPLAY LIKE required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD &amp;lt;field-name&amp;gt; MODULE &amp;lt;validation_mod&amp;gt;.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 10:09:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-save-after-error-message/m-p/9459274#M1742411</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-09T10:09:29Z</dc:date>
    </item>
  </channel>
</rss>

