Skip to Content

Getting Message-ID of Response Message


Following abap coding is to get the message ID within XI 3.0 inbound proxys:


l_message_guid TYPE sxmsguid,

lo_protocol TYPE REF TO if_wsprotocol_message_id,

lo_server_context TYPE REF TO if_ws_server_context.


lo_server_context = cl_proxy_access=>get_server_context( ).

lo_protocol ?= lo_server_context->get_protocol( if_wsprotocol=>message_id ).

l_message_guid = lo_protocol->get_message_id( ).

CATCH cx_ai_system_fault.


Unfortunately only the ID of the request message; how to get the ID of the response?

Regards Udo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2005 at 04:51 PM

    hi udo,

    you shall find the id of the response in the table <b>SXMSPMAST</b> - msgguid (=request), ref_to_msg (=response)



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.