05-04-2016 7:52 AM
Hi All,
We have a requirement where we have to download the SXMB_MONI payload data and store it somewhere for reference. It can be AL11 or Local PC.
I have written a program where I am able to get the Payload data as RAWSTRING. Now I want to download this RAWSTRING data as XML in Local PC.
I am using WS_DOWNLOAD but it is not working as expected. It does generate the xml file but it contains some error.
Here is my code:
CALL FUNCTION 'WS_DOWNLOAD' | ||
EXPORTING | ||
bin_filesize = w_size | ||
filename | = 'C:\Test1.xml' | |
filetype | = 'BIN' | |
TABLES | ||
data_tab | = it_xml_tab "Contains RAWSTRING Data | |
EXCEPTIONS | ||
OTHERS | = 10. |
Please suggest if there is any other way we can mass download SXMB_MONI Payload data or else if we have to go by program, how can I download payload data to local system.
Many Thanks!
05-04-2016 1:35 PM
Hi Meenakshi,
I guess you have to do some conversions before download the RAWSTRING.
Convert String to XML. Refer to the below links.
07-07-2023 2:01 PM
Hi meenakshi.shukla2,
How did you download payloads from SXI_MONITOR via ABAP?
I'm trying to use SXMB_GET_MESSAGE_PAYLOAD Function module but it's not working.
Also tried CL_XMS_PERSIST->READ_MSG_ALL but still, not working.
Thanks!