cancel
Showing results for 
Search instead for 
Did you mean: 

XML Payload extraction from XI Message

Former Member
0 Kudos

Hi to all,

I use the SXI_MONITOR transaction to see the XML Payload of XI Messages. In this transaction, each successfully message has a field "MainDocument" under "Response" section that contains the XML Payload of the message.

<B>There is a function module that I can use to extract the XML from MainDocument field?</B> I've tryed to look into SXMSCLUP and SXMSCLUR abap data tables but here I founded only the SOAP Header and SOAP Body data of the message. Here I can't see the "Payloads" data, so the MainDocument tag.

Can anyone help me?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

why do you want to extract Payload via function module?

payload is stored in SXMSCLUP and SXMSCLUR,the blob field (last field) should give the payload to you

Thanx

Aamir

Note:you might need to change the field length though to see the entire data

Former Member
0 Kudos

Ciao Gabriele,

there are differente way to do it.

one time I got same issue and I got some answer on the community.

Unfortunately there was no more need for it so i did not implement but

easily speaking in all the mapping got the payload therefore u need just to create a full mapping adn to process the data u get.

In java for example is given as input stream that u can store some where and process.

I pasted the result below:

IN java

in abap

/people/udo.martens/blog/2006/02/16/own-logging-of-xi-messages

please rewars point is useful thanks.

regards,

Giamma