<?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: Ignore dialog boxes from function module. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401673#M1644858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the function call should be made without dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your ABAP you should:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) set the mode "no-dialog" using the function modules DIALOG_SET_NO_DIALOG&lt;/P&gt;&lt;P&gt;2) call the function module 'SD_ORDER_CREDIT_RELEASE:&lt;/P&gt;&lt;P&gt;3) reset mode " no-dialog " DIALOG_SET_WITH_DIALOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look how the SAP standard works in the include program LERP_SLS_CREDBLOCKDOCF01, form routine OKCODE_FREIGABE.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Dec 2011 14:01:17 GMT</pubDate>
    <dc:creator>andrea_olivieri</dc:creator>
    <dc:date>2011-12-20T14:01:17Z</dc:date>
    <item>
      <title>Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401665#M1644850</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'm making a small application that has to run in the background every 10 minutes. It has to release locked sales orders. I'm calling the function module SD_ORDER_CREDIT_RELEASE. This call results in dialog boxes being prompted with warnings. I don't want the system to show these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 14:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401665#M1644850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-19T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401666#M1644851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure but you can try catching exceptions below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_ORDER_CREDIT_RELEASE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    vbeln         = vbeln&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;EXCEPTIONS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;error_message = 4.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pawan Gore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 06:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401666#M1644851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T06:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401667#M1644852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you don't Maintain SY-SUBRC Statements in your program,Then You will not get Any warning or Error messages and in function module uncomment exceptions portion and errors also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;PavanKumar.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 07:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401667#M1644852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T07:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401668#M1644853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already had exceptions part uncommented and I also tried leaving out the SY-SUBRC check after calling the FM. I'm still getting the message though. I think the message might be written by a function module which is called by function module 'SD_ORDER_CREDIT_RELEASE'. The message I am getting after unlocking the order is: 'Schedule line date does not correspond to requested delivery date! If necessary, adept the route'. Anyhow, when processing in the background the dialog boxes don't show so that's ok. But users may also choose to run the tool manually. The system displays this box 3 times for each unlocked sales order so it quickly becomes a bunch of dialog boxes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 07:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401668#M1644853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T07:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401669#M1644854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Zhou,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; For this you don't Maintain SY-SUBRC Statements in your program,Then You will not get Any warning or Error messages and in function module uncomment exceptions portion and errors also.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; warm regards,&lt;/P&gt;&lt;P&gt;&amp;gt; PavanKumar.G&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unhandled exceptions? incoming ST22 !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages can be triggered inside a function without raising an exception. Not handling the exceptions won't magically prevent those messages from being triggered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 08:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401669#M1644854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T08:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401670#M1644855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I thought, but still worth a try. Any idea on what will do the magic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 08:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401670#M1644855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T08:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401671#M1644856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try what Pawan said?&lt;/P&gt;&lt;P&gt;Messages of type S, I and W can be suppressed in this manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Aniruddha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 11:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401671#M1644856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T11:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401672#M1644857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have, it doesn't seem to be a message of that kind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 13:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401672#M1644857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T13:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401673#M1644858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the function call should be made without dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your ABAP you should:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) set the mode "no-dialog" using the function modules DIALOG_SET_NO_DIALOG&lt;/P&gt;&lt;P&gt;2) call the function module 'SD_ORDER_CREDIT_RELEASE:&lt;/P&gt;&lt;P&gt;3) reset mode " no-dialog " DIALOG_SET_WITH_DIALOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look how the SAP standard works in the include program LERP_SLS_CREDBLOCKDOCF01, form routine OKCODE_FREIGABE.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 14:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401673#M1644858</guid>
      <dc:creator>andrea_olivieri</dc:creator>
      <dc:date>2011-12-20T14:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore dialog boxes from function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401674#M1644859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did as you said but the dialog box still appears. But it might not be a problem turns out so I'm going to close the thread as unanswered. Thank you all for your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Zhou Tsui on Dec 20, 2011 3:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 14:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ignore-dialog-boxes-from-function-module/m-p/8401674#M1644859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T14:28:52Z</dc:date>
    </item>
  </channel>
</rss>

