cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Message Payload

Former Member
0 Kudos

Hi,

i want to do the following:

When i receive a message in XI, i want to save the message payload temporally in an abap table. So i will define a rfc to call from XI and give the message payload as an import parameter.

Have you any idea how to do this? How can i get the message payload(xml string) and give it to the rfc as a parameter?

thanks,

Peter Ha

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi Peter,

take an ABAP-Mapping and convert with function ECATT_CONV_XSTRING_TO_STRING import-Parameter (type XSTRING) to STRING. Save (EXPORT message...) the message in a Cluster-table (copy of INDX), which you need, because of unknown string-length.

Regards,

Udo

Former Member
0 Kudos

Hi Udo,

as a novice to ABAP, could you provide more details to your advice?

thanks in advance,

Peter Ha

udo_martens
Active Contributor
0 Kudos

Hi Peter,

what r ur questions?

Udo

MichalKrawczyk
Active Contributor
0 Kudos

hi Peter,

you can map the whole XML structure

to your rfc parameter with the use of XSLT

have a look at my weblog:

XI: XML node into a string with graphical mapping?

/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping

Regards,

michal