<?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: How to supress pop-up while executing bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687685#M1946123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To sum up these posts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either this popup is a standard message popup (statement MESSAGE of TYPE 'I', 'W',or 'E'), then you may call the function module by intercepting the special classic exception "ERROR_MESSAGE", which will get rid of popups for message type 'I' or 'W' (and messages 'E' will be intercepted).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, for other types of screens, as Thomas Jung used to say, "BAPIs are supposed to be safe to call without dynpro." and "I would encourage you to open an OSS problem with SAP when you find something like this"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround, if the symtom happens while you're executing the BAPI in dialog, but it works in background, then the BAPI has been written to allow 2 behaviors, one with SAP GUI, one without SAP GUI, then you may run the BAPI in background. In case the BAPI is called from a non-ABAP program, then an RFC connection may be started with dialog mode off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 May 2016 14:49:37 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2016-05-15T14:49:37Z</dc:date>
    <item>
      <title>How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687683#M1946121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While executing bapi for updating delivery some standard pop-up is blocking the screen and the code written below the Bapi is not getting executed because unless an user interaction is done the control is not going to the next code.&lt;/P&gt;&lt;P&gt;Please let me know how to supress these standard pop-ups and how to handle these messages by using this Bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 08:10:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687683#M1946121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-15T08:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687684#M1946122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Nihar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check the SCN blog post. &lt;A href="https://scn.sap.com/people/ajay.kumar/blog/2005/02/25/suppressing-unwanted-sap-gui-screens-from-bapirfc-when-calling-them-from-external-system-in-background" title="https://scn.sap.com/people/ajay.kumar/blog/2005/02/25/suppressing-unwanted-sap-gui-screens-from-bapirfc-when-calling-them-from-external-system-in-background"&gt;Suppressing unwanted SAP GUI screens from BAPI/... | SCN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check the another way of suppressing the messages detailed in the post. &lt;A href="https://scn.sap.com/thread/3416621" title="https://scn.sap.com/thread/3416621"&gt;Suppress Messages in BAPI | SCN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another trick &lt;A href="http://paperstreetenterprises.com/abap-suppressing-bapi-messages/" title="http://paperstreetenterprises.com/abap-suppressing-bapi-messages/"&gt;ABAP - Suppressing BAPI Messages - Paper Street Enterprises&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 09:47:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687684#M1946122</guid>
      <dc:creator>sanjaybit</dc:creator>
      <dc:date>2016-05-15T09:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687685#M1946123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To sum up these posts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either this popup is a standard message popup (statement MESSAGE of TYPE 'I', 'W',or 'E'), then you may call the function module by intercepting the special classic exception "ERROR_MESSAGE", which will get rid of popups for message type 'I' or 'W' (and messages 'E' will be intercepted).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, for other types of screens, as Thomas Jung used to say, "BAPIs are supposed to be safe to call without dynpro." and "I would encourage you to open an OSS problem with SAP when you find something like this"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround, if the symtom happens while you're executing the BAPI in dialog, but it works in background, then the BAPI has been written to allow 2 behaviors, one with SAP GUI, one without SAP GUI, then you may run the BAPI in background. In case the BAPI is called from a non-ABAP program, then an RFC connection may be started with dialog mode off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 14:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687685#M1946123</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-05-15T14:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687686#M1946124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;If I will create a copy of the standard Bapi and implement the error_message exception will it work?&lt;/P&gt;&lt;P&gt;The problem here is that copying the Bapi will not copy the enhancements used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 16:52:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687686#M1946124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-15T16:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687687#M1946125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked in the system and found that active x control is already set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 16:54:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687687#M1946125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-15T16:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687688#M1946126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nihar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use exception ERROR_MESSAGE in your bapi call as follow and check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_BAPI_VIEW&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = BAPI_VIEW&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SALES_DOCUMENTS = SALES_DOCUMENTS&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....................................................................&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR_MESSAGE&amp;nbsp;&amp;nbsp; = 1.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 06:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687688#M1946126</guid>
      <dc:creator>pranay570708</dc:creator>
      <dc:date>2016-05-16T06:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687689#M1946127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact, I've read the threads mentioned by Sanjay Kumar, and saw that their contents was not so explicit/not all correct, it's why I posted what I considered was correct. You can see I'm not talking about a copy of the standard BAPI. If the popup is a standard message (MESSAGE TYPE 'I'), do &lt;STRONG&gt;handle the error_message exception of the standard BAPI&lt;/STRONG&gt;, as Pranay Patel suggests. For more information, please read the ABAP documentation of this special exception.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 06:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687689#M1946127</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-05-16T06:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687690#M1946128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Pranay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to create a copy of the standard bapi and then add the exception in the custom code ?&lt;/P&gt;&lt;P&gt;Or if I write the syntax "exceptions" as per you said after the bapi call will it work ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 07:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687690#M1946128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-16T07:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687691#M1946129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need to create a copy, just try writing the exceptions after bapi call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 07:32:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687691#M1946129</guid>
      <dc:creator>pranay570708</dc:creator>
      <dc:date>2016-05-16T07:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687692#M1946130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't it faster to try first, before asking?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 07:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687692#M1946130</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-05-16T07:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to supress pop-up while executing bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687693#M1946131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;sighs heavily&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 15:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-supress-pop-up-while-executing-bapi/m-p/11687693#M1946131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-16T15:32:11Z</dc:date>
    </item>
  </channel>
</rss>

