cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxy - Error situation

Former Member
0 Kudos

I am developing inbound ABAP proxy. Using fault message and raise exception, I can safely fail the ABAP proxy without blocking the queues.

If I want to configure ALERT message to be sent to a email id in this scenario, how do I achieve this? Can this be done using Alert configuration? or do we need to use BPM? IF BPM is the only alternative, can anybody indicate the BPM steps?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

an alternative would be to call the Alert Framework from ABAP coding of your Proxy. Look at this page http://help.sap.com/saphelp_nw04/helpdata/en/d0/5e073c8e56f658e10000000a114084/content.htm about triggering alerts by calling function modules or using event linkage.

Best regards

Christine

Answers (4)

Answers (4)

0 Kudos

Hi Kris,

I have a same scenario but need to block the Queue. Any idea how can this be achieved ?

Best Regards

Neeraj Gokhale

Edited by: Neeraj Gokhale on Nov 19, 2008 4:48 PM

Former Member
0 Kudos

> I am developing inbound ABAP proxy. Using fault

> message and raise exception, I can safely fail the

> ABAP proxy without blocking the queues.

>

Can you please tell how do you safely fail the ABAP proxy without blocking the queues???

For example if you have :

i = 0.

read table itab index i.

Or :

call function 'xxx'.

with a message e001(zisa) inside the function

Thanks in advance

PC

Former Member
0 Kudos

Thanks Michael and Christine. I have got stuck up with other tasks, so once I can test it, I will close the thread.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

if you want to raise an alert from BPM

have a look at my weblog:

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

but if you want to send a mail from BPM

use mail adapter then you'll be able to

configure it very easily (even html mails):

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

- if you want you can also send mail from SAP

(when you catch the exception)

- you can also catch the excetpiton and

send the error to the XI and use the mail adapter from

there - without the BPM

there are many possibilities:)

Regards,

michal

Former Member
0 Kudos

<i>- you can also catch the excetpiton and

send the error to the XI and use the mail adapter from

there - without the BPM</i>

Can you please elaborate on this solution?

Former Member
0 Kudos

hi Michal,

m trying to catch the exception and send to XI.

Mine is an inbound Asynchronous ABAp proxy scenario.

I m getins Application error on r 3 side but this is not reflected in XI RWB.The status is successful there.

Can you help me for the same?

Former Member
0 Kudos

Akshata,

Xi can not deal with application errors happening at the receiver end in a asynchronous scenario. You may use synchronous interface to get an acknowledgement to handle this.

Regards,

Jai Shankar.