on 07-05-2012 12:36 PM
hi ,
i would like to read a XML proxy paylaod in APO system from an ABAP program ?
Please let me know how do i need to read the data using FM SXMB_READ_MESSAGE_VERSION_RAW or any other method.
To use the FM what are parameters that i need to pass to it ?
Regards,
Chandan
Hi,
If you only need the payload, use FM SXMB_GET_MESSAGE_PAYLOAD with:
IM_MSGKEY-MSGID = message ID
IM_MSGKEY-PID = pipeline ID (for instance "CENTRAL")
You can find both: message ID and pipeline ID in SXI_MONITOR, for instance.
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>> i need to get the data in XML, how should i get it by calling the FM.
You simply get an XSTRING variable that already contains this data in XML format.
>>> Also message ID and PID are unique for each payload , how can i use them ?
You need to know the message ID and PID of that particular message you want to get the payload for.
Regards,
Greg
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.