on 04-15-2011 9:50 AM
Hi Experts,
I have a synchronous scenario.
Request :
webservice -
> sends input data -
> PI -
> SAP R/3 --BAPI
Response:
webservice -<--- PI <
Here a webservice uses SOAP adapter to send input data to PI. While PI uses ABAP proxy to send data to SAP R/3.
The problem is when the BAPI takes too long to process and resulting in timeout exception in PI. Is there some way we can catch this runtime exception in PI and send it to webservice as response?
Please help!
Thanks & Regards,
Gopal
Hi Gopal,
as mentioned by otheres: the main issue is here to detect the reason for performance lack...
>Is there some way we can catch this runtime exception in PI and send it to webservice as response?
You can invoke a Business Process and open a sync / asyn Bridge. In the process call the FM synchronous and define an exception branch which you access in case of system failure. In the exception branch execute a transformation step to fill the response container with a corresponding error message.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Please look at the below one of the best how to guide for Sync time out issues:
Divyesh Vasani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can extend TimeOut Period for HTTP call (Goto SMICM->Services->Http), or you can traslate this scenario in a asyncronous scenario.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopal,
Better to investigate why it is taking long time to give response, you have to check proxy program and function module,if you have used any wait time in FM ,please avoid that.
Take help from ABAP team they will analyze the code.
and if you want to increase time out value then go to RZ 10 then you have to edit the value .
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.