Skip to Content
0
Former Member
Mar 16, 2007 at 08:52 PM

Catching XI Exception in ABAP Cliente Proxy

58 Views

Hello Dear Community ,

I have a synchronous scenario:

Abap client proxy <--> JDBC Receiver Adapter (SQL_QUERY)

I designed and configured this scenario and it's working well.........

The problem is when there is an error and i want to show it to the user as i see it in the sxmb_moni........

I just get:

-


Error----


MESSAGE.GENERAL

M

This is a part of the code:

CALL METHOD lo_proxy->execute_synchronous

EXPORTING

output = lv_output

IMPORTING

input = lv_input.

.........some processing......

CATCH cx_ai_system_fault INTO lo_sys_exception.

WRITE '--


Error--


'.

WRITE :/ lo_sys_exception->code.

WRITE :/ lo_sys_exception->codecontext.

WRITE :/ lo_sys_exception->errortext.

l_error = lo_sys_exception->get_text( ).

WRITE:/ l_error.

I already tried in different ways using the proxy exception and the if_wsprotocol_xi_header but i coudn't....

Your help would be appreciated....

thanks a lot......