Skip to Content
author's profile photo Former Member
Former Member

handling faulty messages in PI 7.0

Hi Gurus,

my interface is 3rd party app->PI->SAP.

i used proxy on sender side and on receiver side I used HTTP adapter.

Each time my PI will ping that application using the URL and get the batch xml file but if there is no data in the 3rd party application,how should i handle the faulty message.

the message if it fails to retreive the new bach,which is coming from the application is not in the xml format how can i handle the message

Thanks,

Jay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 01, 2011 at 11:08 AM

    better to ask third party team to this kind of issues like if there is no data then ask them to send fault message in valid error format.

    They can do it very easily.

    Add a comment
    10|10000 characters needed characters exceeded

    • Your sender is abap proxy and receiver is HTTP and the mode is synchronous.

      >what should i do with this message.do i need to use the fault message type to hold this message but I need not send this to >anyone or..Can I configure alerts so that PI users will understand

      Yes you can pass the fault mesg from reciever(third party) to sender (proxy). That woud be helpful.

      If the receiver (third party) is sending fault message as response then create fault message on the sender side and map the response of third party to sender side (proxy) proxy message. So that proxy will interpret that message as fault message.

      Basically you will have request, response and fault messages for both sender interface (proxy ) and reciver interface (third party http). As you know, Fault messages are useful to provide meaningful application errors.

      Refer this [link|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/5946db5f693912e10000000a42189b/content.htm] for constructing fault message structure.

  • Posted on Jul 01, 2011 at 11:31 AM

    >

    > my interface is 3rd party app->PI->SAP.

    > Each time my PI will ping that application using the URL and get the batch xml file

    > i used proxy on sender side and on receiver side I used HTTP adapter.

    >

    >

    If your sender is proxy, assume this would be a Java proxy as your sender is a third party application. In this case, PI will not ping the application as proxy is a push protocol, wherein the data is pushed to the PI Integration Engine pipeline by the application.

    Regarding the fault message, as already mentioned by Raja Sekhar Reddy above, ask the sending application to send the fault message in xml format.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.