on 01-20-2014 10:06 PM
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 >, < etc. for the xml tags instead of the normal <header> , thus the output is shown as <header>.
How to get the output as proper xml from the ABAP RFC
Hi Girish - Is that format causing an issue? i mean when you send that payload to PI is it failing.
I think the problem is, as you have used return as XML function in PI- the xml will be stored as CDATA.
(test the mapping in ESR-> go to xml view)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.