<?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: BAPI_BUS2002_SET_STATUS error returned in message box? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2002-set-status-error-returned-in-message-box/m-p/9979866#M1801772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thank you Raymond.&amp;nbsp; This fixed the problem.&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2014 16:27:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-15T16:27:20Z</dc:date>
    <item>
      <title>BAPI_BUS2002_SET_STATUS error returned in message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2002-set-status-error-returned-in-message-box/m-p/9979864#M1801770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our program is executing BAPI_BUS2002_SET_STATUS to change the network and it's activities from status &lt;STRONG&gt;REL&lt;/STRONG&gt; to status &lt;STRONG&gt;TECO&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;An error is occuring because one of the network activities is in status 'CRTD'.&amp;nbsp; An activitiy can't have it's status changed from CRTD to TECO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue isn't with the error...rather with the way the error is being returned.&amp;nbsp; The BAPI doesn't return the error in the BAPI return table.&amp;nbsp; Instead a message box appears saying "The business transaction cannot be carried out.".&amp;nbsp; There are two options in the message box: 'Continue' or 'Status information'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we process the IDoc in background mode, the program will hang forever since no one will hit the 'continue' button in the message box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add a check in the program to ensure that the network activities have the 'REL' status before trying to change it to 'TECO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, does anyone know why a BAPI would show an error in a message box instead of the return table?&amp;nbsp; I checked the import parameters of the BAPI and there is nothing there to suppress a message box from appearing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 15:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2002-set-status-error-returned-in-message-box/m-p/9979864#M1801770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-15T15:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2002_SET_STATUS error returned in message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2002-set-status-error-returned-in-message-box/m-p/9979865#M1801771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you look for an OSS note like &lt;A href="http://service.sap.com/sap/support/notes/1953758" title="1953758  - BAPI_BUS2002_SET_STATUS : gives pop-up error when setting TECO for a network with no authority"&gt;&lt;SPAN class="title"&gt;953758 - BAPI_BUS2002_SET_STATUS : gives pop-up error when setting TECO for a network with no authority&lt;/SPAN&gt;&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 15:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2002-set-status-error-returned-in-message-box/m-p/9979865#M1801771</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-01-15T15:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2002_SET_STATUS error returned in message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2002-set-status-error-returned-in-message-box/m-p/9979866#M1801772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thank you Raymond.&amp;nbsp; This fixed the problem.&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 16:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2002-set-status-error-returned-in-message-box/m-p/9979866#M1801772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-15T16:27:20Z</dc:date>
    </item>
  </channel>
</rss>

