<?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: Exception condition CNTL_ERROR raised in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-condition-cntl-error-raised/m-p/7925805#M1599212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is necessary find a BAPI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2011 17:50:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-19T17:50:58Z</dc:date>
    <item>
      <title>Exception condition CNTL_ERROR raised</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-condition-cntl-error-raised/m-p/7925803#M1599210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to create a Business Partner of t_code "BPV1", and  I used to create the t_code "sm35" to do a recording of the t_code "BPV1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I tested my recodring a then hasn't problems.&lt;/P&gt;&lt;P&gt;2.I create a function module with this recording and then I tested, it hasn't problems.&lt;/P&gt;&lt;P&gt;3. This function I invoque on ABAP Proxy, then I tested the ABAP Proxy. it hasn't no problems.&lt;/P&gt;&lt;P&gt;4. But when PI consume and get service of my ABAP Proxy  dump this error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Exception condition CNTL_ERROR raised"&lt;/P&gt;&lt;P&gt;The cancelation class was : RABAX_STATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the problem is my recording but I tested all and it hasn't problems. The problem display only qhen PI try to consume my service of ABAP Proxy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 14:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-condition-cntl-error-raised/m-p/7925803#M1599210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-06T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exception condition CNTL_ERROR raised</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-condition-cntl-error-raised/m-p/7925804#M1599211</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;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.I create a function module with this recording and then I tested, it hasn't problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume you tested the FM in SE37, try this call this FM in a test report program and call the FM in "BACKGROUND TASK" or call the FM in normal way and schedule the report to run in the background and see the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. This function I invoque on ABAP Proxy, then I tested the ABAP Proxy. it hasn't no problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Again I presume you tested the FM in SPROXY, create a report program and create an instance of the proxy class and invoke the schedule the report to run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why the call from PI is failing because the BDC recording you have done has some control elements that need GUI support, now when you try using SE37/SPROXY the GUI is available and hence your testing went smooth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. But when PI consume and get service of my ABAP Proxy dump this error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When the call is made from PI, there is no GUI available and hence the program terminates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution: I am sure there are BAPI's available with which you can create partners, try and look for a BAPI which can do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 14:22:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-condition-cntl-error-raised/m-p/7925804#M1599211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-06T14:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exception condition CNTL_ERROR raised</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-condition-cntl-error-raised/m-p/7925805#M1599212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is necessary find a BAPI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 17:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-condition-cntl-error-raised/m-p/7925805#M1599212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-19T17:50:58Z</dc:date>
    </item>
  </channel>
</rss>

