on 01-08-2013 10:57 AM
Hi,
We have a synchronous interface between a Bapi and Soap.
In the Request Message mapping I need to check if two fields in the Bapi are null, if they are then return an error to the Bapi, otherwise continue with the interface.
Is it possible to cancel a synchronous interface midway?
Thanks
Gareth
Hi Gareth,
You may raise exception in message mapping if fields are null.
Please check these links:
http://scn.sap.com/thread/1618151
http://scn.sap.com/message/9356334
http://scn.sap.com/thread/797413
However why do you want to raise exception in PI. This can be checked while triggering BAPI in source system itself and not to execute the interface in that case.
Regards,
Beena.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for those posts, but they all talk about raising Exceptions in message mapping. I want to be able to stop the execution of the Synchronous interface and put an error message in the response to the Bapi.
We are migrating an existing interface from a different integration platform and this is how it is handle. I don't know if this is possible in PI.
Thanks.
Hi Gareth,
I had similar requirement earlier. Please see these links:
http://scn.sap.com/thread/1001654
http://scn.sap.com/thread/1054454
I think I used BPM for this to catch system error and then mapped it to bapi response using sync-async bridge kind of scenario.
However if you can use proxy on sender side instead of BAPI you would be able to catch system error as well as application error. I think it would be much simpler than using BPM.
Regards,
Beena.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.