<?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: Modal dialog box error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210888#M1522590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello hakaramakara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have used the correct badi (PROCESS_AT_SAVE) or something like that the error message statement should be the right solution as it keeps the user on the transaction and only puts the error message on the left under corner of the screen.&lt;/P&gt;&lt;P&gt;For this you can use statament MESSAGE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example : &lt;/P&gt;&lt;P&gt;DATA: mid  TYPE sy-msgid VALUE 'SABAPDOCU', &lt;/P&gt;&lt;P&gt;      mtype TYPE sy-msgty VALUE 'I', &lt;/P&gt;&lt;P&gt;      num  TYPE sy-msgno VALUE '014'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID mid TYPE mtype NUMBER num. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR even better&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e014(SABAPDOCU)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remind points if helpfull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Aug 2010 14:04:29 GMT</pubDate>
    <dc:creator>laurent_touillaud</dc:creator>
    <dc:date>2010-08-17T14:04:29Z</dc:date>
    <item>
      <title>Modal dialog box error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210885#M1522587</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;i have created a modal dialog box to warn the user about the stock and the quantities she entered for the delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a badi, i call a fm and in this fm i have created the modal dialog screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that this screen is just for warning and when clicked ok or exit, it should return to the delivery screen, should not save the delivery. Just leave the modal dialog screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 13:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210885#M1522587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T13:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modal dialog box error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210886#M1522588</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;the standard sap functionality is such a way that if Warning or Success Message is reaised the below statements are executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you raise the error message the Process is stopped until it is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so there is a way you can handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after a warning message create a flag and mark as X .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before save if Flag is X try to exit with out saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prbhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 13:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210886#M1522588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T13:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Modal dialog box error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210887#M1522589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Das,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by warning i mean just info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No warning message, just displaying the correct some data and then should return to the main screen of the transaction, vl01n,&lt;/P&gt;&lt;P&gt;as if nothing happened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible, to display a modal dialog screen and then disappering it without chanhing the flow logic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display and then be at the same screen. the core is that:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 13:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210887#M1522589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T13:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Modal dialog box error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210888#M1522590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello hakaramakara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have used the correct badi (PROCESS_AT_SAVE) or something like that the error message statement should be the right solution as it keeps the user on the transaction and only puts the error message on the left under corner of the screen.&lt;/P&gt;&lt;P&gt;For this you can use statament MESSAGE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example : &lt;/P&gt;&lt;P&gt;DATA: mid  TYPE sy-msgid VALUE 'SABAPDOCU', &lt;/P&gt;&lt;P&gt;      mtype TYPE sy-msgty VALUE 'I', &lt;/P&gt;&lt;P&gt;      num  TYPE sy-msgno VALUE '014'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID mid TYPE mtype NUMBER num. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR even better&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e014(SABAPDOCU)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remind points if helpfull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 14:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modal-dialog-box-error/m-p/7210888#M1522590</guid>
      <dc:creator>laurent_touillaud</dc:creator>
      <dc:date>2010-08-17T14:04:29Z</dc:date>
    </item>
  </channel>
</rss>

