Skip to Content
avatar image
Former Member

How to notify business user when third party server is down in synchronous interface

Dear All,

We have developed few synchronous scenarios(mostly ABAP proxy to HTTP_AAE ) running using PI system. these interfaces are with the bank where customer sends the payment request to bank to pay their vendor.

If bank bank server is down in PI I receive the error with HTTP status code 500, either the request will get timed out after the specified timeout timed in the system. However, these message does not come on the actual response structure in PI, so no response message will get updated in ECC tables and business users will not be able to know where is the problem its in PI or bank. Could you please help me to get the Below are the few quires.

  1. Can we do something in PI to notify business user in ECC for these synchronous interfaces if bank server is down
  2. Can we send some failure message to ECC if sync interfaces did not successful in PI

Thanks,

Farhan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 21, 2014 at 01:31 PM

    Hi Farhan,

    standard would be to setup an alert for the receiver adapter.

    In additon you can catch the error and execute the notification from the sender system:

    lo_sys_exc type ref to cx_ai_system_fault.

    try.

    call method...

    ....

    catch cx_ai_system_fault into lo_sys_exc.

    /Udo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Udo Martens

      Thanks again Udo, I am sorry for being late here. Basically business users are looking for the proper Error message if either bank server or PI server is down by any reason.

      If I we will configure alert, and PI is down then it will not work. for creating fault message, but if bank is down do you think we send the proper error message to end user based on the error.


      If possible could you please provide me more details on how to achieve by creating fault message.



      Regards,

      Farhan

  • May 19, 2014 at 12:13 PM

    Hi,

    based on the http response code we can identify there is a problem in web service. Before posting the data check the http response code if it is 200 it will be successful, than post the data otherwise return some exception message to user.

    Regards,

    Manigandan 

    Add comment
    10|10000 characters needed characters exceeded