cancel
Showing results for 
Search instead for 
Did you mean: 

ack back to XI in case of error for Proxy scenaio

former_member209575
Contributor
0 Kudos

Hi All,

I am doing some file to Proxy scenario, if there is some proxy error happening(SYSTEM & APPLICATION) in reciver side, then i need to raise one alert based on that from XI. Currently if ther is any application error, in XI it will show success but in R3 it will show error. is ther any way to raise error from XI...?

Regards

Pradeep P N

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pradeep,

Just in case if this helps. Might be that you can use a BPM and handle the exception to raise an alert. We did the same once when we were calling a Webservice in PI which showed that the message is successful even if the server hosting the service is down.

You can create a Simple BPM and handle the exception as it can handle the failure at receiver side.

Thanks

-Kulwant

former_member209575
Contributor
0 Kudos

Hi all,

can u give me some clear idea on the below point.

"Might be that you can use a BPM and handle the exception to raise an alert."

how can we raise alert using BPM?

Regards

Pradeep P N

former_member200962
Active Contributor
0 Kudos

Using BPM:

Receive -


> Transformation -


> Sync_Send

The Sync_Send step will send the message to the Proxy and get back some message when successful...if unsuccessful then it will get an exception...how to catch this exception?

Include a Block step in the BPM and insert a Exception Branch in the Block....then put your SyncSend step in the normal branch of the Block....In the Exception Branch include a Control Step and choose action as Throw Alert.....

But the Question is why should XI throw an alert if something goes wrong at the receiver side....the job of XI is to ensure that the data is delivered successfully to SAP ECC.....if there is something that is missing in the data then the end system is supposed to handle this case accordingly......if the sending itself is a failure then you can have an exception raised in XI.

Regards,

Abhishek.

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Pradeep

Better way is to raise exception from target system itself. AS XI pass message properly and it will not show error.

You can try making a Sync process with fault message and use a BPM to achieve this. Raise exception from BPM using fault message. But its not a good approach. Just a workaround if its really needed

Thanks

Gaurav

MichalKrawczyk
Active Contributor
0 Kudos

hi,

in terms of XI you can have unsuccessfull ack

(which will be visible in XI but it will not start an alert as far as know)

but not an error as this is not XI's error right ?

you can send an alert from receiver system easily

Regards,

Michal Krawczyk