Problem with RFC exception in BPM

Hi,'
I have created control step for RFC exception. Assigned the alert catagory and given alert message.
i have below steps:
Transformation-control-send RFC-cancel process.
while trying to test i changed ip address of rfc channel and tested but i am not receiving any alert but messages are getting stucked in BPM with error -
permanent error in message proccessing
could you please suggest how to trigger rfc execption

Suggestions..
refer  BPMPatternReqRespTimeout for triggering exception.
Basically you might change the sequence of steps as follow
Create Block with deadline branch where you use control step to trigger exception and have another branch exception handler  and in that branch you have transformation and senderror.  This will help.

Similar Messages

  • Problem with RFC Communication in BPM

    Hi,
       I'm again facing problem with transfer of
    File->RFC->File scenario.The error in sxmb_moni is given below .
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
      <SAP:P1>Error opening an RFC connection.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error
    opening an RFC connection.</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Can anyone help me in fixing out this problem.
    Regards,
    Prashanth K.R,

    Hi Prashant,
    Just click onto your namespace and verify the details given in the "Connection data for import from SAP system". Check whether its matching the system from where you have called the RFC.
    hope this will help u.
    regards
    divya
    Message was edited by: Divya Nambiar

  • Problem with RFC-Call within BPM

    Hello Experts,
    I am developing a scenario in which I call an rfc-function-module for saving information from an incoming xml which will be transmitted as Idoc to another SAP System.
    The Idoc transmission is doing properly. But the RFC-Call I try to do always ends with a red flag. Error-Message: message has error status on outbd. side at the Process-Engine.
    Can someone help solving that problem?
    Thanks in advance.
    Regards, Alexander

    Hi Rajhans,
    1) The user mentioned in the RFC communication channel is having the authorization.
    Yes, he have the authorizations.
    2) Go to Communication channel monitoring and check what error you are getting for the communication channel is showing.
    There is an error about the FileSenderChannel. Error: java.lang.NullPointerException.
    3) Check whether the RFC created at abap stack is remote enabled or not.
    The function module is remote enabled.

  • Problem with passing exception with declarative security

    I am having a problem with passing exceptions with message security bunding enables. I have a JAXWS EJB 3.0 web service, The service defines methods which throw exceptions. The exceptions are passed correclty when there is no message security enabled. once the security is enabled and an exception is thrown, I get the stack trace below. Furthermore, the service with security enabled works fine as long as methods do not throw an exception. I am thinking that the JAXWS generated wrapped exception is not correctly handled by the message security provider in the server. Just a thought. Any help would be greatly appreciated.
    Stack trace:
    [#|2007-03-23T00:49:06.333-0600|WARNING|sun-appserver-pe9.0|javax.enterprise.sys
    tem.stream.err|_ThreadID=11;_ThreadName=httpWorkerThread-8080-0;_RequestID=64417
    ac0-ded8-474d-9066-5a97c8559b67;|
    ERROR: 'NAMESPACE_ERR: An attempt is made to create or change an object in a wa
    y which is incorrect with regard to namespaces.'|#]
    [#|2007-03-23T00:49:06.334-0600|SEVERE|sun-appserver-pe9.0|javax.xml.messaging.s
    aaj.soap|_ThreadID=11;_ThreadName=httpWorkerThread-8080-0;_RequestID=64417ac0-de
    d8-474d-9066-5a97c8559b67;|SAAJ0511: Unable to create envelope from given source
    |#]
    [#|2007-03-23T00:49:06.334-0600|INFO|sun-appserver-pe9.0|javax.enterprise.system
    .core.security|_ThreadID=11;_ThreadName=httpWorkerThread-8080-0;|SEC2003: Contai
    ner-auth: wss: Error securing response
    com.sun.enterprise.security.jauth.AuthException: Unable to create envelope from
    given source:
    at com.sun.xml.wss.provider.ServerSecurityAuthModule.secureResponse(Serv
    erSecurityAuthModule.java:129)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.security.jauth.AuthContext.invokePriv(AuthContext.
    java:128)
    at com.sun.enterprise.security.jauth.AuthContext$1.run(AuthContext.java:
    78)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.jauth.AuthContext.invoke(AuthContext.java
    :75)
    at com.sun.enterprise.security.jauth.ConfigFile$ConfigServer.secureRespo
    nse(ConfigFile.java:662)
    at com.sun.enterprise.security.wss.WebServiceSecurity.secureResponse(Web
    ServiceSecurity.java:220)
    at com.sun.enterprise.security.wss.WebServiceSecurity.secureResponse(Web
    ServiceSecurity.java:197)
    at com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$Servl
    etDelegate.processResponse(JAXWSSystemHandlerDelegateFactory.java:540)
    at com.sun.enterprise.webservice.monitoring.JAXWSEndpointImpl.processRes
    ponse(JAXWSEndpointImpl.java:121)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOA
    PMessageDispatcher.java:148)
    at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
    at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3Me
    ssageDispatcher.java:160)
    at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3Messag
    eDispatcher.java:89)
    at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpo
    int(EjbWebServiceServlet.java:178)
    at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServ
    iceServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.jav
    a:100)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:536)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipe
    line.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:23
    1)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(
    ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBloc
    ked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Proces
    sorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTas
    k(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.jav
    a:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:2
    52)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThrea
    d.java:75)
    |#]
    [#|2007-03-23T00:49:06.335-0600|WARNING|sun-appserver-pe9.0|javax.enterprise.sys
    tem.core|_ThreadID=11;_ThreadName=httpWorkerThread-8080-0;_RequestID=64417ac0-de
    d8-474d-9066-5a97c8559b67;|Exception while tracing response : Unable to create e
    nvelope from given source: |#]
    [#|2007-03-23T00:49:06.336-0600|WARNING|sun-appserver-pe9.0|javax.enterprise.sys
    tem.stream.err|_ThreadID=11;_ThreadName=httpWorkerThread-8080-0;_RequestID=64417
    ac0-ded8-474d-9066-5a97c8559b67;|
    com.sun.enterprise.security.jauth.AuthException: Unable to create envelope from
    given source:
    at com.sun.xml.wss.provider.ServerSecurityAuthModule.secureResponse(Serv
    erSecurityAuthModule.java:129)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.security.jauth.AuthContext.invokePriv(AuthContext.
    java:128)
    at com.sun.enterprise.security.jauth.AuthContext$1.run(AuthContext.java:
    78)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.jauth.AuthContext.invoke(AuthContext.java
    :75)
    at com.sun.enterprise.security.jauth.ConfigFile$ConfigServer.secureRespo
    nse(ConfigFile.java:662)
    at com.sun.enterprise.security.wss.WebServiceSecurity.secureResponse(Web
    ServiceSecurity.java:220)
    at com.sun.enterprise.security.wss.WebServiceSecurity.secureResponse(Web
    ServiceSecurity.java:197)
    at com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$Servl
    etDelegate.processResponse(JAXWSSystemHandlerDelegateFactory.java:540)
    at com.sun.enterprise.webservice.monitoring.JAXWSEndpointImpl.processRes
    ponse(JAXWSEndpointImpl.java:121)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOA
    PMessageDispatcher.java:148)
    at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
    at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3Me
    ssageDispatcher.java:160)
    at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3Messag
    eDispatcher.java:89)
    at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpo
    int(EjbWebServiceServlet.java:178)
    at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServ
    iceServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.jav
    a:100)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:536)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipe
    line.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:23
    1)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(
    ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBloc
    ked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Proces
    sorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTas
    k(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.jav
    a:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:2
    52)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThrea
    d.java:75)
    |#]
    [#|2007-03-23T00:49:06.336-0600|SEVERE|sun-appserver-pe9.0|javax.enterprise.reso
    urce.webservices.jaxws.server.soapmd|_ThreadID=11;_ThreadName=httpWorkerThread-8
    080-0;_RequestID=64417ac0-ded8-474d-9066-5a97c8559b67;|Unable to create envelope
    from given source:
    com.sun.enterprise.security.jauth.AuthException: Unable to create envelope from
    given source:
    at com.sun.xml.wss.provider.ServerSecurityAuthModule.secureResponse(Serv
    erSecurityAuthModule.java:129)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.security.jauth.AuthContext.invokePriv(AuthContext.
    java:128)
    at com.sun.enterprise.security.jauth.AuthContext$1.run(AuthContext.java:
    78)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.jauth.AuthContext.invoke(AuthContext.java
    :75)
    at com.sun.enterprise.security.jauth.ConfigFile$ConfigServer.secureRespo
    nse(ConfigFile.java:662)
    at com.sun.enterprise.security.wss.WebServiceSecurity.secureResponse(Web
    ServiceSecurity.java:220)
    at com.sun.enterprise.security.wss.WebServiceSecurity.secureResponse(Web
    ServiceSecurity.java:197)
    at com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$Servl
    etDelegate.processResponse(JAXWSSystemHandlerDelegateFactory.java:540)
    at com.sun.enterprise.webservice.monitoring.JAXWSEndpointImpl.processRes
    ponse(JAXWSEndpointImpl.java:121)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOA
    PMessageDispatcher.java:148)
    at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
    at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3Me
    ssageDispatcher.java:160)
    at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3Messag
    eDispatcher.java:89)
    at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpo
    int(EjbWebServiceServlet.java:178)
    at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServ
    iceServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.jav
    a:100)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:536)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipe
    line.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:23
    1)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(
    ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBloc
    ked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Proces
    sorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTas
    k(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.jav
    a:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:2
    52)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThrea
    d.java:75)
    |#]
    [#|2007-03-23T00:49:06.338-0600|WARNING|sun-appserver-pe9.0|javax.enterprise.sys
    tem.stream.err|_ThreadID=11;_ThreadName=httpWorkerThread-8080-0;_RequestID=64417
    ac0-ded8-474d-9066-5a97c8559b67;|
    com.sun.enterprise.security.jauth.AuthException: Unable to create envelope from
    given source:
    at com.sun.xml.wss.provider.ServerSecurityAuthModule.secureResponse(Serv
    erSecurityAuthModule.java:129)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.security.jauth.AuthContext.invokePriv(AuthContext.
    java:128)
    at com.sun.enterprise.security.jauth.AuthContext$1.run(AuthContext.java:
    78)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.jauth.AuthContext.invoke(AuthContext.java
    :75)
    at com.sun.enterprise.security.jauth.ConfigFile$ConfigServer.secureRespo
    nse(ConfigFile.java:662)
    at com.sun.enterprise.security.wss.WebServiceSecurity.secureResponse(Web
    ServiceSecurity.java:220)
    at com.sun.enterprise.security.wss.WebServiceSecurity.secureResponse(Web
    ServiceSecurity.java:197)
    at com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$Servl
    etDelegate.processResponse(JAXWSSystemHandlerDelegateFactory.java:540)
    at com.sun.enterprise.webservice.monitoring.JAXWSEndpointImpl.processRes
    ponse(JAXWSEndpointImpl.java:121)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOA
    PMessageDispatcher.java:148)
    at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
    at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3Me
    ssageDispatcher.java:160)
    at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3Messag
    eDispatcher.java:89)
    at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpo
    int(EjbWebServiceServlet.java:178)
    at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServ
    iceServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.jav
    a:100)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:536)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipe
    line.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
    ava:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:23
    1)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(
    ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBloc
    ked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Proces
    sorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTas
    k(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.jav
    a:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:2
    52)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThrea
    d.java:75)
    |#]

    Hi,
    Thanks for the reply. I read the weblog and posted a reply to it already.
    History:
    I actually have a web service where I have message level security enabled and it works great. I had some issues early on with descriptor but those are worked out. As I was testing, I created a test case that throws an exception. That is when I get the NAMESPACE_ERROR, jauth exceptions , etc.
    Attempt to find issue:
    Glassfish: V1 (glassfish-installer-9.0-b48.jar), jdk1.5.0_11
    Code: EJB tech tip EJB30 web service
    Security: message security, specified almost verbatim to how it is done in the link you mention.
    Sample works fine until I modify the web service to throw an exception. Once I do that, I get the NAMESPACE_ERROR stack trace I posted in original message. The sample in the tech tip uses the embedded app-client.
    Thanks for helping with this.

  • How to Extract Error Text from RFC.Exception within BPM?

    Hi,
    I have a scenario MPA -> XI <-> RFC.  A synchronous RFC call will be performed inside a BPM on a SAP system.  An exception message is expected if RFC raises exception.  However, there don't seem to be any mechanism that allows logic/step in BPM to extract the error text from the RFC exception message in order to send it out to user as an error alert.
    Appreciate if anyone can shed some lights.  Thx in advance.
    Regards
    Chong Wah

    Hi,
    you can always wrap your RFC with another one
    in which you'll catch the exception
    and pass in a normal field back to the XI
    and then do the standard as per my weblog:
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Problem with RFC connection - tp program not registered

    Hello everyone
    recently there  has appeared a problem with the RFC connection on our system - we received the following set of messages:
    Trace file opened at 20101221 130738 Central European Standard Time, SAP-RE
    ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Tp program is not registered.
    ABAP Programm: RSRFCPIN (Transaction: SM59)
    User: xxx(Client: 100)
    Destination: SIDRFC_IFSAPHRCZPKCP (handle: 2, , )
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
    CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Program transakcji nie jest zarejestrowany
    DEST =SIDRFC_IFSAPHRCZPKCP
    HOST =%%RFCSERVER%%
    PROG =IFCZPKCP
    GWHOST =ssapprod
    GWSERV =sapgw21
    I tried to register program with a command:
    rfcexec -aIFCZPKCP -gssapprod -xsapgw21
    but with no success - the program didn't appear on the list of logged clients on the system in gateway monitor. Frankly speaking we do not know now what else we can do - please help!
    We have ECC 6.0 (SAP_BASIS 700 SP18) on Windows Server 2003 R2 x64.
    Thanks in advance for any help.
    Regards
    Peter

    Hi Salim
    thanks for your reply.
    ./rfcexec -a(PROG_ID) -gssapprod -xsapgw21 &
    The syntax you're providing refers to UNIX systems, but I did similar thing on our Windows system - I tried all of the following methods (unfortunatelly without success):
    rfcexec -a(PROG_ID) -gssapprod -xsapgw21
    full_path_to_rfcexec.exe -a(PROG_ID) -gssapprod -xsapgw21
    rfcexec -a(PROG_ID) -gssapprod.domain -xsapgw21
    full_path_to_rfcexec.exe -a(PROG_ID) -gssapprod.domain -xsapgw21
    Can you advise me what to do now?
    Thanks
    Piotr

  • Problem with RFC for Risk Terminator - GRC 5.2 SP12

    We are having a problem with the RFC connection for Risk Terminator in one of our SAP environments.  It is working in our 'DV3' environment, but not in our 'RT3' environment.  Everything is set up just the same in both environments and all SAP Adaptors show green.
    This was working in RT3 when we first upgraded to GRC 5.2 last November, but it now gives me an error when I do an update with PFCG and it calls RT.  The error message and our Basis support group both say the RFC needs to be 'registered', but our SAP Support contact during our upgrade said it does not, and I can't find any documentation that says this is required also.  Plus it was working before even though it was unregistered.
    What is causing this problem and how do I resolve it?
    Also, if these RFCs do not have to be registered, is there some documentation that states this that I can show to our Basis group?
    Thanks.

    What about the question of the RFC needing to be registered?  This is the solution our Basis group thinks is required, so it will be hard to get them to do anything else until this issue has been addressed.
    Thanks.

  • PROBLEM WITH RFC DESTINATION

    Hi GURU,
    I have a problem with the record of RFC destination.
    When i created RFC destination TCP/IP when i made the tests, it`s ok.
    But when i used this rfc destination in a  function of ABAP. I have an error. The error is:
    RfcExecProgram'#Win32 error 2: The system cannot find the file speci
    Can you help me??
    What should I do to run properly?
    Thank for all.
    regards,
    RAFA

    Hi,
    Even I am also new to SAP , but I have little knowledge about RFC, try to create your RFC of type 3 (ABAP type ), then if you use this RFC , I hope no problem will come if the authorization details and IP /Host name of the destination system are perfect.
    also Please suggest me why ( when ) we use TCP /IP type of RFCs

  • J2SE 1.3 client - Weblogic 8.14 Problem with unmarshal exception

    Hi
    I have problem with using RMI IIOP with J2SE 1.3.1_01 - Weblogic 8.1 SP4. Client is runing good, methods are working perfectly, but when EJB throws my exception, it is not serialized and thrown on client but MarshalException is thrown.
    I did everything as it is in weblogic documentation and I really do not know what to do.
    Also I read in weblogic documentation this note:
    Limitations Using RMI-IIOP on the Client
    Use WebLogic Server with JDK 1.3.1_01 or higher. Earlier versions are not RMI-IIOP compliant. Note the following about these earlier JDKs:
    Do not correctly unmarshal unchecked exceptions.But I am using 1.3.1_01 ...
    When I run it with 1.4 it is of course running without problem.
    Martin
    My Exception :
    java.io.IOException:
         at com.sun.corba.se.internal.io.IIOPInputStream.throwExceptionType(Native Method)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:272)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:245)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:207)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1059)
         at com.upsscs.europe.cdmv.spl.ejb.service._SBTelnetKitting_Stub.getPickList(Unknown Source)
         at Pokus.main(Pokus.java:59)
    java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
         org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : minor code: 0 completed: No
    org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : minor code: 0 completed: No
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1065)
         at com.upsscs.europe.cdmv.spl.ejb.service._SBTelnetKitting_Stub.getPickList(Unknown Source)
         at Pokus.main(Pokus.java:59)
    Exception in thread "main"

    Hi,
    I am sending the supported configuration link
    please go through it.
    http://e-docs.bea.com/platform/suppconfigs/configs81/81_over/overview.html#1146550
    Regards
    Prasanna Yalam

  • Problems with NO_DATA_FOUND Exception

    Hi, I have experienced some problems with the NO_DATA_FOUND Exception. I have defined a cursor c. Then I have started a loop and a NO_DATA_FOUND Exception has rised. I handle this exception with un update clause but when the exception rises the loop does not continue anymore. What can I do in order to continue looping after the Exception rises???... I handle the NO-DATA_FOUND Exception in the Exception part of my code...
    Thanks in advance.-
    Alberto.-

    Thanks a lot Robert... I solved my problem by handling the exception within the loop as you told me. I attach the code if somebody has or had the same problem...
    Best regards.-
    Albert.-
    procedure GenerarSolicitudCompra (id_proveedor IN c_rfqresponse.c_bpartner_id%TYPE) is
    es_winner char(1);
    id_rfq number(10);
    cursor rfqs is select sqd.c_rfq_id from sqd_cotizaciones sqd;
    begin
    for r in rfqs loop
    id_rfq := r.c_rfq_id;
    begin
    select cr.isselectedwinner into es_winner from c_rfqresponse cr
    where cr.c_rfq_id = r.c_rfq_id
    and cr.c_bpartner_id = id_proveedor;
    exception
    when NO_DATA_FOUND then
    update sqd_cotizaciones sqd set sqd.win_rfqresponse = 'N'
    where sqd.c_rfq_id = id_rfq and sqd.c_bpartner_id = id_proveedor;
    commit;
    end;
    if es_winner = 'Y' then
    -- actualizar sqd_cotizaciones.win_rfqresponse con 'Y'
    update sqd_cotizaciones cot
    set cot.win_rfqresponse = 'Y'
    where cot.c_rfq_id = r.c_rfq_id
    and cot.c_bpartner_id = id_proveedor;
    commit;
    else
    -- actualizar sqd_cotizaciones.win_rfqresponse con 'N'
    update sqd_cotizaciones cot
    set cot.win_rfqresponse = 'N'
    where cot.c_rfq_id = r.c_rfq_id
    and cot.c_bpartner_id = id_proveedor;
    commit;
    end if;
    end loop;
    end GenerarSolicitudCompra;

  • Problems with filter exception using Network IP range

    We are using a spam filtering service for out incoming email. As such, all
    our email is directed to our SMTP server from their IP address range. We
    employ a dual firewal set up. We have a Netscreen firewall connected to the
    Internet and the Border Manager 3.8 server sits between the Netscreen and
    our internal network. On the BM server I have set up a generic proxy with a
    proxy port of 1025 to proxy the incoming email to our internal mail server.
    The Netscreen is set up to forward all SMTP (port 25) traffic to the
    BorderManager server on port 1025. Using FiltCfg I also set up a packet
    filter exception to allow traffice from the service providers network
    (Network = 104.56.144.0, Mask = 255.255.248.0) to port 1025. With this
    setup most email is received just fine. However I was getting reports of
    bounced and delayed email. Working with our service provider it was
    detemined that randomly some connections were failing. I used PktScan to
    collect packet trace infomation from our BM server. On a regular basis
    there are groups of SYN packets from the service providers email servers
    which are not receiving a response from the BM server. In some cases the BM
    server does eventuall respond with a SYN/ACK. There are also times when the
    BM server responds immediately after the first SYN. All the incoming
    connections from the service provider are currently comming in from two IP
    addresses, 104.56.144.247 and 104.56.145.247. The BM server is showing the
    same problem for both IP addresses, sometimes it responds immediatley to the
    SYN, sometimes it takes a few SYN packets before it responds, and sometimes
    the BM server never responds to the connection attempt. On a whim I added
    filter exceptions which specifed the two host IP addresses specifically
    (other than that the rules are identical to the one using the Network
    specification). After doing this the BM server is now responing immediately
    to all the incoming SMTP connection attempts from the service provider. Why
    would I be seeing this problem with the filter exception defined with a
    Network specification but not with Host specifications? Is there anything I
    can do to fix this?
    Thank you for any help provided,
    Brad Johnson

    Yes. I created 8 separate 255.255.255.0 exceptions. In viewing the packet
    trace data for the last couple of days it appears this resoloved the
    problem.
    Thanks
    Brad Johnson
    "Craig Johnson" <[email protected]> wrote in message
    news:[email protected]..
    > In article <XCo8l.13813$[email protected]>, Brad Johnson
    > wrote:
    >> Both servers are running NW 6.5 sp 6. After this problem started I
    >> applied
    >> BM38sp5_IR1, TCP681K, and wsock6o. This had no affect on the issue.
    >>
    >> If I create individual exceptions for the IP addresses I am currently
    >> receiving mail from, rather than using the range of potential addresses,
    >> the
    >> problem goes away.
    >>
    > Well, it sounds definitive enough, but I think if it were a generic issue
    > to
    > the patch level I would have heard about it from my clients who use
    > Postini
    > mail filtering service. All of the Postini-related servers have a network
    > address as a source in the filter exceptions for smtp.
    >
    > Instead of using a 255.255.248.0 mask, does it work if you set up 8
    > different
    > 255.255.255.0 exceptions?
    >
    >
    > Craig Johnson
    > Novell Support Connection SysOp
    > *** For a current patch list, tips, handy files and books on
    > BorderManager, go to http://www.craigjconsulting.com ***
    >
    >

  • Problem with RFC INTEGRATION_DIRECTORY_HMI

    Hello !
    I h’ave one problem with the RFC connection INTEGRATION_DIRECTORY_HMI.
    When I test it, SAP ask me in a pop-up window an user/password.
    I’m sure that SAP should’nt ask me another user/password like I fill it (XIISUSER) in the definition of the RFC destination.
    Coul someone help me ?
    Thanks in advance

    Hi,
    this problem are strang. I also have this problem with my
    test installation. Even when i try the trick from Lui it
    doesn't work in my case. The popup screen still appeare.
    I futhermore have problem with the abap cache refresh in
    full mode where i describe in another topic. I would also
    interested how to get rid of this problem.
    For Martial:
    did you install a new XI-System with NW04-SR1 on windows
    e.g. windows 2000 Server? Did you have also the cache problem on the abap side?
    regards,
    Ly-Na Phu
    Message was edited by: Ly-Na Phu

  • A problem with 3 exceptions from 1 method!!!

    I don't like it and I need advice on how to avoid it. I have been given an interface and am required to use ech of its methods. Here is what happened...
    The interface declares that when a record is searched for in the database and cant be found then a database exception must be thrown.
    When a operation is performed on a record it gets locked with a lock cookie and this cookie must be the same when the lock is released at the end of the operation or a Security Exception gets thrown.
    The file accessing itself throws IO exception which ofcourse has to be handled too.
    So far I have done the following(data level). I have a general databaseException which is a parent to all database exceptions. This means my Security and RecNotFound exceptions can be caught by one exception as they bubble up the stack. My IOException gets converted to a runtime exception and will be converted back to a checked exception in the GUI layer where I cater for all exceptions (The user does not see them).
    Moving on....
    In my service layer layer I have a business Exception to all business logic errors. Here is why it gets tricky...
    A record can not be booked if it is already booked. So I have a bookedRecException and the booking process involves locking the record(throws databaseException as mentioned). I also catch my RuntimeIOExceptions and throw them in my service layer up the stack as an IOException which gets handled in the GUI.
    As you can see this does not look good and I want to fix it. I thaught of making my databaseException into a IOE my service interface methods are all throwing DatabaseException AND IOExceptions.
    Edited by: Yucca on Apr 2, 2009 8:37 PM

    Yucca wrote:
    morgalr wrote:
    So what you are saying is: you don't want to deal with all the different exceptions?
    No what I am saying Is it's the SCJD and I am trying to avoid messy code with 3 exceptions. I am very much for custom exceptions where having a strongly typed exception tells you enough just by the fact that AlreadyBookedRecordException in your stack explains it all.That is not apparent from you post, what you seem to be saying is that you don't want them. In any case I've never found it messy to handle all exceptions individually, nor have I found it messy to use the method I mentioned.

  • Problems with RFC transport confirmation in a BPM

    Hi everyone.
    I have an interface that is stopped now. The problem is that XI tried to send a RFC and the R3 backend is down.
    Now i have this interface waiting for a transport confirmation (since last sunday morning).
    is there any way to 're-send' the RFC or 'unlock' this situation?
    Regards.

    Hi.
    Status of the RFC is ok. At the right side of the status, i have a green '?' due to no-confirmation os the transport of the RFC. In the bpm i have set the property 'transport acknowledge' in every RFC i try to send to R3 backend. XI is waiting for the ACK but no ACK is arriving so i would like to 're-send' angain teh RFC.
    Is that possible?
    Regards

  • Problem with RFC adapter (JCO Exception RFC logon failure)

    Hi ,
    I have SOAP to RFC scenario.
    Scenario with same configuration (RFC adapter) is working in QA system.but when I have transported to PRODUCTION system
    it is showing
    com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE:
    I have gievn max conn=10 ;Refresh the cache also
    and checked Roles and authorization also but still I am getting the same error.
    Regards

    Hi ,
    I have created all the objects manually. and it is working.
    now it is showing other error when I am sending the messages from SOAP side it is showing
    MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>Object ID DF2C6D6E40E935CB970DEE3A71049BF9 Software Component C3D5E1D1C75311DDB94DE33C0A1E01B6</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Interface mapping Object ID DF2C6D6E40E935CB970DEE3A71049BF9 Software Component C3D5E1D1C75311DDB94DE33C0A1E01B6 does not exist in runtime cache</SAP:Stack>
    for this I checked the Interface determination step and receiver determination ,mapping program all looks correct.
    I have refershed cache also both Complete and SLD.
    but nothing is wroking
    Please advice.
    Regards

Maybe you are looking for

  • Javascript Not Working Correctly

    Hello All, I have created a javascript that I want to only fire if a field is not null, otherwise I don't want it to fire. I only want this to fire when dfcynbr is not null otherwise I don't it to do nothing. Code below: <script type="text/javascript

  • PCI vs PCIe - compatible?

    Dumb question: I have a G5 - first generation dual 2 Ghz - that I'm getting rid of because I bought a Mac Pro. But the G5 has an ATTO U320 card and a Blackmagic Decklink Extreme card that aren't PCI express, they are older PCI cards. Will they not wo

  • Explain Plan useability

    I like the explain plan functionality - it is good for doing spot checks on execution plans. Unfortunately, I cannot copy the plan once it is produced, so if I need to send someone a copy of the plan, I revert to producing the execution plan in TOAD.

  • Update from OS 10......

    .....6.8. Hi I have a running Mac Mini Server which I am trying to set up. No problem there.....so far, BUT I have downloaded Lion to this computer. There is now an icon in the dock and when I click on this a install windows is coming up and a minor

  • Spry versus XSL

    I've been a webdesigner for quite a while now and never took the actual step to dynamic content. Just a few weeks ago I dove into XML and XSL after reading an article in Computer Arts Magazine. And I concluded it's not a big a deal as I was afraid of