2010 Feb 08 1:29 PM
Via transaction SXMB_MONI in PI you can access the XML request/response.
In this transaction it is also possible to download the payload in XML format via XML Message >> Inbound Message >> Payloads >> MainDocument >> RightClick >> Download
I want to do the same now in a program. Which function can we use to download an XML request if we know the message ID of the request?
Kind regards,
Lieselot...
2010 Feb 09 8:08 AM
Hi,
Try GUI_DOWNLOAD function. Use the type as 'BIN' and filename as filename.xml
Br,
Advait
2010 Feb 09 8:58 AM
Where can I enter the message ID of the XML request in this function?
I need this as an input parameter. How can I otherwise select the correct XML message?
Kind regards,
Lieselot
2010 Feb 09 9:50 AM
Hi,
Check report RSXMB_DISPLAY_MSG_VERS_NEW in your XI system . The report parameter is a message id and it shows the message.
What you will need to do is re-use some code from there, especially the part in the PBO modules of include RSXMB_DISPLAY_MSG_VERS_NEW_O01.
What I saw in this include is that a subroutine called refresh fetches the message contents in the the internal table gt_info , component str2 of this internal table has the message content.
Hope this helps.
Br,
Advait
2010 Feb 09 9:11 AM
2010 Feb 09 9:44 AM
Ritesh,
The link is not useful for me because I have no internal table to transform to XML.
If have the ID of an XML request and I want to use this ID to download the XML in XML format.
Kind regards,
Lieselot