on 02-05-2013 11:22 AM
Hi,
I have an IDOC to Webservice scenario. Third party WSDL file contains request, response and exception structure.
I would like to know if its possible to catch the exception(with soap exception structure) and trigger alert mail.
Thanks
Suma
Hi ,
You can try the below.
If source is either RFC or Proxy we can achieve BPM .I think for IDOC we need to go with BPM as below
Use BPM and construct a scenario IDOC-->Webservice-->Mail.
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You pls refer the File --> SOAP -- > File Using BPM scenario .. then you can easily convert to your requirement
IDOC -> SOAP -- > File/mail
The following are the helpful links
There are these ways to handlings BPM fault messages:
http://scn.sap.com/docs/DOC-3081
To send emails with alert configuration i recommend you:
http://scn.sap.com/docs/DOC-3804
Regards.,
V.Rangarajan
Hi ,,
If Application error :
If there is an application error then the fault message will be populated and the interface mapping will handle it so you can send the response back to the sender.
If System Error :
We can do exception handling for the sync send in BPM. If system error happens then you can handle the exception in the exception branch and take the required action of canceling the process, sending an alert or even creating a message to send back to the sender.
Hope this clairifies
Hi Suma,
If you need to send information of the fault message, I recommend you to map the fault message from the Inbound to the Abstract interface and send an alert from an UDF.
Inside the UDF you can call the function module ALERT_CREATE and send information of the fault message. Here you have an example of a similar UDF:
Regards,
Roberto
How do I map fault message from inboud to abstract interface.
My scenario is IDOC to Webservice. If there is any application error in WS call then I need to send alert mail.
And below are the steps in BPM
start
1. Receive IDOC
2. Transformation (IDOC to soap req)
3. Block
Branch 1: Sync Send Webservice call (this is an sync abstact interface with request, response and fault)
Branch 2: Exception branch (Here how to get fault message? Do I need to define an abstract asyn interface which have the fault structure?)
stop
Hi Suma,
In Branch 1 you have a sync abstract interface to send a message to the Web Service. In this communication also you have a sync inbound interface (not inside the BPM) to call the Web Service. You can assign an Operation Mapping between these two interfaces and in the fault Message Mapping implement the UDF in order to send the alert.
In Branch 2 is not possible to send an alert with the fault message information.
Regards,
Roberto
Hi ,
Yes.. Pls refer
Regards.,
V.Rangarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
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.