Skip to Content
avatar image
Former Member

Catching XI Exception in ABAP Cliente Proxy

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......

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Mar 16, 2007 at 09:21 PM

    Hi,

    This might help you

    How to check for Web Srvice Timeout in ABAP Proxy call

    Regards

    Agasthuri Doss

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 17, 2007 at 01:49 AM

    you cant do it. you just say their is an error but you cant show the error message of sxmb_moni.

    Add comment
    10|10000 characters needed characters exceeded