The *synchronous* scenario is as shown below
SAP CRM - ABAP Proxy -> SAP PI -- webservice-call --> External Partner
The requirement is that, SAP CRM needs to set a time-out in one of the screen incase the synchronous call takes more than 'n' seconds.
1st case: What if the web-service takes 'n' seconds to return a response
Resolution: The external partner has agreed that if the web-service takes 'n' seconds, then they would set a generic status and send a response message back to SAP PI
2nd case: What if the web service URL is not reachable. How do we achieve the time-out requirement at SAP CRM.
In this case, since this is a synchronous scenario, a auto-generated technical error message would be sent back by SAP PI to SAP CRM. Now the question is
- Will SAP CRM be able to read/parse that technical error message in their system (since it is not in the expected response format)?
- Does SAP CRM have the ability to set a time-out parameter at their end itself instead of depending on the web-service response or SAP PI's technical response?
Need you inputs in the 2nd case. And also any suggestion to achieve the requirement is welcome.