cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxy how to catch exception send by PI Interface ?

Former Member
0 Kudos

Dear XI Expert,

I have Synchronous ABAP Proxy interface with exception. How to cacth the exception generated by PI ?

The standarc exception handler is :

CATCH cx_ai_system_fault INTO lo_system_fault.

WRITE:/ 'System fault:'.

WRITE:/ lo_system_fault->errortext.

WRITE: 'While trying to update monitoring status in PI'.

RETURN.

CATCH cx_ai_application_fault .

WRITE:/ 'Application fault encountered. While trying to update monitoring status in PI'.

RETURN.

i have another 2 additional exception generated by the sender :

FM_JPROXY_READFILE_FILENOTFOUND

FM_JPROXY_READFILE_IO_ERROR

Please advise how to add this to to my exception handling.

Thank You and Best Regards

Fernand

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

it does not seem to be a cx_ exception but try to catch the root CX_ROOT and see if it caught