<?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 display error message on modal dialog screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-on-modal-dialog-screen/m-p/6047516#M1351865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our requirment is that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to display a  modal dialog screen for user input some other detail data when click 'Post' in MIRO, and update these data to a an add-on table. There will be a 'CHECK' button on the dialog box for checking the data which user input.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found the customer function EXIT_SAPLMRMP_010 can do the job. we create our dialog screen, and call it in EXIT_SAPLMRMP_010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We write some code like " MESSAGE 'xx is a required field' type 'E' '' in PAI modoule of dialog screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when the program reach the code  'Message  XX',   no any error message pop-up, the modal dialog screen automatically closed and back to MIRO screen. the error message can be found when click button 'MESSAGE' on MIRO screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that the sytem prevent the error messages raised, and collect them into the "message box" of MIRO screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the we want to display the error message directly in the dialog window or pop-up the message without dialog window close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; is there any one how to do that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2009 05:20:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-19T05:20:07Z</dc:date>
    <item>
      <title>display error message on modal dialog screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-on-modal-dialog-screen/m-p/6047516#M1351865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our requirment is that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to display a  modal dialog screen for user input some other detail data when click 'Post' in MIRO, and update these data to a an add-on table. There will be a 'CHECK' button on the dialog box for checking the data which user input.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found the customer function EXIT_SAPLMRMP_010 can do the job. we create our dialog screen, and call it in EXIT_SAPLMRMP_010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We write some code like " MESSAGE 'xx is a required field' type 'E' '' in PAI modoule of dialog screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when the program reach the code  'Message  XX',   no any error message pop-up, the modal dialog screen automatically closed and back to MIRO screen. the error message can be found when click button 'MESSAGE' on MIRO screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that the sytem prevent the error messages raised, and collect them into the "message box" of MIRO screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the we want to display the error message directly in the dialog window or pop-up the message without dialog window close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; is there any one how to do that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 05:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-on-modal-dialog-screen/m-p/6047516#M1351865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T05:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: display error message on modal dialog screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-on-modal-dialog-screen/m-p/6047517#M1351866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinny ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages of type E dont give a pop-up screen it just describes error on the status bar .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in order to solve your problem you need to follow view approach i.e create a window screen ,append it to the view .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good discussion on the this approah is done on the below link .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1106827"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives you some light on the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Aditi Wason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Aug 2009 22:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-on-modal-dialog-screen/m-p/6047517#M1351866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-22T22:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: display error message on modal dialog screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-on-modal-dialog-screen/m-p/6047518#M1351867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you defined a PF-STATUS for your dialog screen.&lt;/P&gt;&lt;P&gt;define a PF-STATUS and a message class.&lt;/P&gt;&lt;P&gt;as per the condition display the error message..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg MESSAGE E001(ZMSG).&lt;/P&gt;&lt;P&gt;this should give a error message on your dialog screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjith N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 06:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-error-message-on-modal-dialog-screen/m-p/6047518#M1351867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-23T06:47:52Z</dc:date>
    </item>
  </channel>
</rss>

