Skip to Content
0
Former Member
Sep 22, 2005 at 01:50 PM

Problem exporting XML via RFC

52 Views

Hi everyone

I am using RFC to send XML data from CRM to XI.

My function modules (/MARS/CPE_IMPORT_CRM_CATALOG) contains only one parameter (IV_CATALOG) declared as a string so all XML data is put in this string.

If I try sending the following string from CRM:

<TEST>GREG</TEST>

The payload on XI looks like this:

<xml version="1.0" encoding="UTF-8"?>

<rfc:_-MARS_-CPE_IMPORT_CRM_CATALOG xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<IV_CATALOG>&#60;TEST&#62;GREG&#60;/TEST&#62;</IV_CATALOG></rfc:_-MARS_-CPE_IMPORT_CRM_CATALOG>

As you can see < is converted into &#60; and > into &#62;

Where and how do I specify that the content of the parameter must not be interpreted?

Thanks

Greg