Hi Yuri,
The best possible scenario is to avoid BPM and redesign the interface. but you can not call the multiple interfaces in sync call response. The alternate option is
Design
- Create the multi-operation interfaces in source and target side.
- Multi-operation interface will have multiple structure (message types)
- Enhance the abap proxy code to handle multi opetaion interface and reuse the existing interface proxy cide.
Run time
- SAP ECC start a sync request to PI wich route it to external web service
- After PI receive the response, it transform the response and trigger the relevent operation.
regards,
Harish