Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

XML payload and RFC

$
0
0

Hi

 

I have a mapping case where I am using return as xml on the source payload. I am sending the XML as string to RFC.

 

There I am converting string to xstring using  SCMS_STRING_TO_XSTRING and then getting the xml into an internal table using  SMUM_XML_PARSE.

 

After that I am adding some elements into the xml data present in the internal table.

 

The data is then converted back to xml using  SMUM_XML_CREATE_X, then to binary using  SCMS_XSTRING_TO_BINARY and then to string  SCMS_BINARY_TO_STRING which is the output of rfc.

 

I want this RFC output into PI as xml. But my target field shows &gt, &lt etc. for the xml tags instead of the normal <header> , thus the output is shown as &ltheader&gt.

 

How to get the output as proper xml from the ABAP RFC


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>