Alerts from Proxy Runtime

Hi,
I am in the position at the moment where I am able via the ALT framework to sent alerts generated from error message in sxmb_moni on the SAP PI system. This I achived using ALT Framework alert categories and Alert Rules Configuration in the RWB.
However in A2A scenarios where messages are exchanged between SAP ECC systems SAP PI I would like to enquire about how the proxy runtime errors that occure on the SAP ECC side (Sending and Receiving) is captured and sent as alerts.
So in essence if a message goes into an error state on the SAP ECC proxy side in sxmb_moni then I would like to receive an alert via mail to this end.
Your assistance in this regard with be highly valued.
Regards
Willie Hugo

Willem,
However in A2A scenarios where messages are exchanged between SAP ECC systems SAP PI I would like to enquire about how the proxy runtime errors that occure on the SAP ECC side (Sending and Receiving) is captured and sent as alerts.
Nothing that PI can do in this situation. PI can raise alerts on IE and AE errors. The ECC system needs to raise alert for errors happening at their end.
So in essence if a message goes into an error state on the SAP ECC proxy side in sxmb_moni then I would like to receive an alert via mail to this end.
What do you mean by "receiving an alert via email to this end"? You want the alert email to be sent to PI or to an individual? Either case, it can be achieved. Please elaborate your requirement.
Regards,
Neetesh

Similar Messages

  • Java Proxy Runtime:  failure to locate proxy bean on inbound call

    Hello gurus of the SDN,
    I have been trying to get an inbound Java Proxy scenario to work in XI 3.0 but have not been able to get the JPR to recognize my generated and deployed java code.  My scenario is set up to call the java proxies generated from a message interface based on the MATMAS Idoc.  I successfully deployed the generated java proxies on the same host box as is running the XI instance.  The objects are named as follows
    Message interface on XI = Inbound_MATMAS04
    Generated proxy bean = Inbound_MATMAS04_PortTypeBean
    Implementing class = InboundMATMAS04_PortTypeImpl
    Implementing method = inboundMATMAS04
    I used the JPR transport servlet to register the interface and implementing class but am not sure if I did this correctly.  I used the following entry in my web browser:
    http://nadcp786:50000/ProxyServer/register?
    ns=urn:xiTrainingLabs:groupXX:SAP&
    interface=InboundMATMAS04&
    bean=InboundMATMAS04_PortTypeImpl&
    method=inboundMATMAS04
    I also tried using the localejb/ prefix for the bean name in the above step since the code is co-located.  When I trigger the scenario, the Idoc info is passed into XI and the Java Proxy Runtime is called, but I get the following error response back in the SOAP header:
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="PARSING">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Cannot locate proxy bean InboundMATMAS04_PortTypeImpl: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Cannot locate proxy bean InboundMATMAS04_PortTypeImpl</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Finally, appended at the end of this post is the audit log of the messaging system showing that the JPR is called but without being able to locate the bean.  I think I am missing a configuration step somewhere, but can’t figure out what it is!!  Can anyone help me? 
    Many thanks in advance.
    Regards,
    Nick Simon
    Time Stamp     Status     Description
    2004-10-25 19:47:32     Success     The message was successfully received by the messaging system. Profile: XI URL: http://nadcp786.bcsdc.lexington.ibm.com:50000/MessagingSystem/receive/JPR/XI
    2004-10-25 19:47:32     Success     Using connection JPR. Trying to put the message into the receive queue.
    2004-10-25 19:47:32     Success     The message was successfully retrieved from the receive queue.
    2004-10-25 19:47:32     Success     The message status set to DLNG.
    2004-10-25 19:47:32     Success     Java proxy runtime (JPR) accepted the message
    2004-10-25 19:47:34     Error     JPR could not process the message. Reason: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl
    2004-10-25 19:47:34     Error     Delivery of the message to the application using connection JPR failed, due to: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl.
    2004-10-25 19:47:34     Error     The message status set to FAIL.
    2004-10-25 19:47:34     Error     Asynchronous error detected: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl. Trying to report it.
    2004-10-25 19:47:34     Error     Asynchronous error reported.
    Message was edited by: Nicholas Simon

    Hi
    How do you determine the JNDI naming of the a EJB?
    I have following entry in JNDI directory in the root
    Object Name FlightQueryIn
    Class Name javax.naming.Reference
    Context Name 
    Object Value Reference Class Name:
    Type: clientAppName
    Content: sap.com/JavaProxyEAR
    Type: interfaceType
    Content: remote
    Type: home
    Content: com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4
    Type: ejb-link
    Content: FlightSeatAvailabilityQueryIn_PortTypeBean
    Type: jndi-name
    Content: FlightQueryIn
    Type: remote
    Content: com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4
    I tried to register the bean with JPR using:
    http://ctsapxid01:50100/ProxyServer/register?ns=http://sap.com/xi/XI/Demo/Airline&interface=FlightSeatAvailabilityQuery_In&bean=FlightQueryIn&method=flightSeatAvailabilityQueryIn
    I followed the following blog
    http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
    Thanks,
    Chris

  • Runtime Workbench Proxy Runtime Configuration

    Hi
    I'm trying to setup the RWB proxy runtime configuration. However our ERP system shows up as an ALE-Logical system and not a Business System in the Configuration tab of the RWB and doesnt appear at all in the Component Monitoring tab so we cant monitor messages from it through the RWB.
    We've tried deleting the business and technical system and re-registering them with RZ70 as well doing a CPA Cache refresh. But that hasnt resolved the issue.
    I have compared this system to another system in the SLD which does show up as a Business System and can be monitored through Component Monitoring. They seem to be exactly the same.
    Is there some kind of setting we are missing on the ERP system?
    Thanks
    Riaz

    Hi Riaz & kesava,
    RWB Proxy runtime setup can be seen from RWB->Component Monitoring under Components section Domain XI->Integration Engine.
    Check the following
    1)Can the SLD be reached?  - RFC destination, ping, getLCR server, read cache, BS defined
    2) Does the Integration Engine know the business system?   - Business system name = BS_100, Role = Application System
    3)Are roles in SXMS_CONF_ITEMS and SLD consistent?   - Role = Application System
    4)Has an Integration Server destination been defined?   Destination 'XIabcd100' to the Integration Server 
    Cheers
    Veera

  • Proxy runtime configuration in PI 7.1

    Hi Experts,
    How to do proxy runtime configuration in PI 7.1?
    Please send any documents or link available for the same.
    Regards,
    Nidhi Kukreja

    Proxy Configuration :
    Create Logical System for ECC & PI both side.
    On PI Configure :
    1. Create RFC Destination from PI to ABAP (Type : H).
    2. Make an entry in SXMB_ADM for Integration server.
    3. Activate Services in SICF.
    On ECC Configure :
    1. Create RFC Destination from ABAP to PI (Type : H).
    2. Make an entry in SXMB_ADM for Application server.

  • Integration Engine Proxy Runtime Error

    Hello,
    I have  ECC and PI server for my landsacpe. When i ran SXMB_IFR tcode in my ECC server i got the follwing error under Runtime work Bench
    Proxy Runtime - it is shows red color.
    Unable to log on to system ECC120   in language en with user PIRWBUSER  
    Details for Ping Status
    Message: Unable to log on to system ECD210 in language en with user PIRWBUSER
    Stacktrace:
    com.sap.aii.rwb.exceptions.OperationFailedException: Unable to log on to system ECD210 in language en with user PIRWBUSER
    at com.sap.aii.rwb.core.XIAbapRTCComponent.getConnector(XIAbapRTCComponent.java:114)
    at com.sap.aii.rwb.core.XIRTCComponent.ping(XIRTCComponent.java:209)
    at com.sap.aii.rwb.web.componentmonitoring.model.CompTestModel.doPing(CompTestModel.java:581)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmDynPage.doPing(CmDynPage.java:425)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmDynPage.updateTests(CmDynPage.java:525)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmDynPage.selectNode(CmDynPage.java:552)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmDynPage.process_treeClick(CmDynPage.java:481)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
    at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
    at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:22)
    at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmPageProcessor.doPost(CmPageProcessor.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at jsp_FC_Secure1229621978943._jspService(jsp_FC_Secure1229621978943.java:15)
    at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
    at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:566)
    at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:190)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    When i checked  my PIRWBUSER password in abap and poratal level there is no conflicts. Password is correct.
    For integration i have created three RFC also
    LCRSAPRFC,SLDAPIRFC,SAPJ2EE all these RFC are working fine and there is no error.
    Can any one suggest me how to resolve this issue.
    I am waiting for your reply.
    Regards,
    Sankaranarayanan.G
    BASIS CONSULTANT

    Hi Tuhin,
    I have one more problem now. Intially i have configured my PI development portal.But after some days in  my PI server when i ran SXMB_IFR is detecting wrong poral now. I have tried to change from my EXCHANGE Profile under integratrion server parameters i have changed PORT,URL and others.
    but it is not come to effect. can you please help me where do i need to chage the portal?
    I am waiting for your reply.
    Regards,
    Sankar.G

  • Idoc Communication Configurations and Proxy Runtime Configurations for PI

    We have a fresh PI 7.1 system, fresh ECC6 system, and an existing 4.6C system.
    is there any blog/doc with step-by-step instructioins/screenshots for following tasks:
    1. Configuring Abap proxy runtime between ECC6 and PI 7.1 Systems, for using sproxy from ECC6.
    2. Configuring for IDOC communication between ECC6 and PI 7.1
    3. Configuring for IDOC communication between 4.6C system and PI 7.1
    It involves creating of sm59 rfc destination creations, usage of idoc related transactions on PI system and the other system.. I searched on sdn/forum, but it seems to be addressing specific issues faced.
    Pls suggest any step-by-step instructions docs/blogs available.
    thanks in advance.
    Madhu.

    Madhu,
    Refer the links below:
    1. /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    2& 3 :
    https://wiki.sdn.sap.com/wiki/display/XI/SAPR3%28Idocs%29ToXI--Steps+Summarized
    http://www.riyaz.net/blog/xipi-settings-in-r3-partner-system-to-receive-idocs/
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c&overridelayout=true
    http://www.riyaz.net/blog/beginners-guide-to-ale-and-idocs-a-step-by-step-approach/
    Also, I  think u hv just started learning XI ..so following link might help:
    http://wiki.sdn.sap.com/wiki/display/NWTech/QAforPI-Onestopforall%28Part-1%29

  • Proxy Runtime configuration in Quality

    Dear All,
    I am sending data from XI to BI through server proxy.
    We have link between ERP quality and XI development. Do i have to do Proxy runtime configuration in quality server directly. Do I need to do it manually or transport from development?
    Regards.
    SM.

    > We have link between ERP quality and XI development. Do i have to do Proxy runtime configuration in quality server directly.
    > Do I need to do it manually or transport from development?
    You have to do this manually.

  • Proxy Runtime for Business System not visible in RWB.

    Hi,
    We are running SAP PI 7.10 SP7.
    The current landscape contains currently 2 SAP R/3 application systems and 1 SAP PI systerm that are all registered with the SAP PI SLD.
    There is Business Systems configure for both the Application systems in the SLD from the registration.
    In the ID it was possible to import these Bussiness systems and to use them in scenarios. It is even posible to post messages to both IE on these Business Systems. If tcode SPROXY is executed on both these business systems then it connects to the same ESR. On both business systems I have created a "PIRWBUSER" with the same password and roles as on SAP PI.
    Now my ploblem is that I only see one proxy runtime in the RWB under Integration Engines.
    Please can you assist in this matter?
    Regards
    Willie Hugo

    Hi,
    The problem is solved with patches to the following JAVA components.
    MESSAGING 7.19
    SAP_XIAF7.17
    SAP_XITOOL7.14
    Regards
    Willie Hugo

  • Web services generated from proxy

    Hi,
    We have few webservices generated through SE80 from a proxy interface, so that an external web service can directly reach them.
    I mean to say, that the wsdl we generated is provided to the external web service.
    My question is that when the message direclty flows to the R/3 system via the proxy, do we have any means to monitor them??
    How do we do the error handling in those cases?
    Thanks,
    John
    Edited by: Mike Pokraka on Jul 31, 2008 9:09 AM

    Hello John,
    Go through these imp blogs:
    Proxy Generation
    http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    ABAP Proxy Runtime
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm
    To activate ABAP proxies
    How do you activate ABAP Proxies?
    Detailed step-by-step solution for ABAP proxies in XI
    ABAP Proxies in XI(Client Proxy)
    ABAP Server proxies
    ABAP Server Proxies
    do we have any means to monitor them??
    How do we do the error handling in those cases?
    Debugging of Inbound ABAP proxies
    XI: Debug your inbound ABAP Proxy implementation
    File to R/3 via ABAP Proxy
    File to R/3 via ABAP Proxy
    How to push data from BI to XI using proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
    How to push data into BW from XI using proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21dfa9929c9
    How do you activate ABAP Proxies?
    Thanks,
    Satya Kumar
    <removed by moderator>
    Edited by: Mike Pokraka on Jul 31, 2008 9:09 AM

  • Base64 in Proxy Runtime

    Hi gurus,
    I'm planning to use Base64 for sending/receiving binary data to R/3. I generated a proxy for a receiver interface which has a field of type Base64 and it is generated as RAWSTRING.
    When I send a test XML through a web service (for my SOAP-PI-Proxy scenario) which has a correct Base64 data in the relative field, the proxy runtime in R/3 throws "Error in Control Framework" in SMQ2, even before the message reaches the proxy code.
    How does the proxy runtime handle Base64? Does it actually convert it to RAWSTRING or I should use different xsd types for inbound interfaces(such as hexString maybe?). If yes, how to convert?
    And what about sending? Is it possible to send Base64 from client proxies?
    Regards,
    Gökhan

    what is the Type that you have defined in DT of XI/PI....it should be xsd:base64Binary.......then you can build your proxy accordingly to accept the base64 message...check it out...
    Regards,
    Abhishek.

  • PCK and Java Proxy Runtime

    Hello,
    I am a newbie to XI world and have some questions regarding PCK and Java Proxy Runtime. Is it possible to send the message from PCK by using Java Proxy Runtime as Sender?
    If yes what exactly configuration steps have to be done on PCK side like SLD & ExchangeProfile configuration according to Configuration Guide or XI Receiver Adapter with Receiver agreement creation?
    Thanks in advance,
    Viktar

    Hi Stefan,
    Thanks for information. We successfully checked a simple test scenarion JPR -> PCK -> File. It was necessary to configure properly XI Sender and File Receiver adapters on PCK.
    SLD and Exchange Profile were not required to be configurable but in this case we have to use MessageSpecifier interface in client proxy for sender and receiver determinations.
    Regards,
    Viktar

  • PI Proxy runtime RFCSYSTEM

    Hi Every one,
    when i try to active Proxy runtime RFCsystem on runtime workbench i am not able to activate it. i here by enclosing the with following error, Kindly do the needful ASAP
    An error occurred: Message: Exception in Method: CentralTrexManager: activateIndex( String ). TrexException: Failed to activate Trex service. Message: Message: OperationFailedException in Method: CentralTrexManager: setAbapActivation( Sxms_Indexing_Activate_Input ). CentralTrexException: JCO call failed. Root cause: null; severity: FATAL; localized message: Unable to log on to system LXI in language en with user PIRWBUSER; To-String: com.sap.aii.rwb.exceptions.OperationFailedException: Unable to log on to system LXI in language en with user PIRWBUSER; To-String: Class: com.sap.aii.rwb.web.trex.CentralTrexException : Message: OperationFailedException in Method: CentralTrexManager: setAbapActivation( Sxms_Indexing_Activate_Input ). CentralTrexException: JCO call failed. Root cause: null; severity: FATAL; localized message: Unable to log on to system LXI in language en with user PIRWBUSER; To-String: com.sap.aii.rwb.exceptions.OperationFailedException: Unable to log on to system LXI in language en with user PIRWBUSER
    regards
    Ramesh

    Hi Ramesh,
    The PIRWBUSER is used for retrieving data from your R3 backend proxy and XI system.
    This user must exist in your R3 proxy system ie.. backend  with the same password that is in your XI system.
    So, check whether the password is the same in Exchange Profile, in XI and in your R3.
    Furtheremore, check that this user is not locked in any system.
    Regards
    joel

  • Sending email alert from SAP Application System

    Hi,
       we have one scenario like we need to send one email alert from application system, if ther is some error in  proxy or any error is ther in SXI_MONITOR of application sytem. Is ther any way to achieve this.
    Regards
    Pradeep P N

    >
    Pradeep P N wrote:
    > Hi,
    >
    >    we have one scenario like we need to send one email alert from application system, if ther is some error in  proxy or any error is ther in SXI_MONITOR of application sytem. Is ther any way to achieve this.
    >
    >
    >
    > Regards
    > Pradeep P N
    for sending mails from application system you can use various FMs -
    http://sapr3.tripod.com/abap011.htm
    http://www.sap-basis-abap.com/abap021.htm
    for XI related you can always utilize alerts

  • Triggering alert from Destination system

    Hi,
    i am using a proxy to an R3 system.
    can i also trigger an alert to my alert inbox in XI from R3 error in SXMB_MONI?

    Udi,
    One option ~~ you the RFC SLAERT_CREATE from your R3 system to XI,
    Check my blog,
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Regards,
    Bhavesh

  • No data from Proxy class

    Hi,
    I am having one proxy class created by XI, which is used to pull the data from Oracle. While executing the class in the program it is not outputing the data, but for the particular input data is available in Oracle.
    While monitoring the XI request we can able to find the corresponding output in the transaction SXMB_MONI , but it is not flowing in the expoting parameter.
    Please Suggest me.
    Regards,
    Meera C

    Actually,in the standard program the functions  'BAPI_TRANSACTION_COMMIT'  and 'DB_COMMIT' have been commented during upgradation and there is a comment saying 'no commit in proxy class but from XI runtime (precondition: no errors)'.
    what is the procedure for giving commit in XI runtime in asynchronou mode for a proxy interface?

Maybe you are looking for