cancel
Showing results for 
Search instead for 
Did you mean: 

Get Message ID and namespace from ABAP Mapping

Former Member
0 Kudos

Hi XI Expert,

Please advise how to get the message ID and namespace from ABAP Mapping.

Thank You and best Regards

Fernand

Accepted Solutions (1)

Accepted Solutions (1)

former_member190389
Active Contributor
0 Kudos

Hi,

To access the message ID, use the method GET_MESSAGE_ID of the controller object:

...

1. Fetch a protocol instance for the protocol IF_WSPROTOCOL_MESSAGE_ID.

2. To have the system return the message ID after the sender has sent a request message or the receiver has received a request message, use the method GET_MESSAGE_ID of this instance. This returns the ID by using the parameter MESSAGE_ID of type SXMSGUID.

Also you could do the same by this way also:

IF_WSPROTOCOL_XI_HEADER

has attributes messageid and interface namespace.

using this you can read the XI message header

Answers (1)

Answers (1)

Former Member
0 Kudos