cancel
Showing results for 
Search instead for 
Did you mean: 

Error handling in an Async java proxy

Former Member
0 Kudos

Hi,

  I have my inbound java proxy / web service (I guess they are the same thing) working and am wondering if I can trigger an alert when there is a failure. Or is there some other recommended approach for handling errors? I see some documentation that recommends ECH however we don't have that enabled in our setup.(Netweaver 7.31 EHP1 Dual Stack)

Thanks,

Steve

Accepted Solutions (1)

Accepted Solutions (1)

anandvithal
Active Participant
0 Kudos

HI Steve,

Use try catch block in your java proxy program. Catch appropriate exception(s) and then you can call SALERT_CREATE rfc to trigger alert with custom message.

Refer below link on how to call RFC from a java program.

http://wiki.scn.sap.com/wiki/display/Snippets/User-defined+Mapping+Function+for+RFC+Lookup

Thanks,

Anand

Answers (1)

Answers (1)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

consider check this thread about your issue

http://scn.sap.com/thread/345232 --> input by

Re: Exception handling in inbound proxies.

Chandra Sekhar ChillaPlatinum

Regards

Rodrigo