on 09-13-2005 2:28 PM
Hello,
another nice issue:
I have an aRFC with this import parameter from ABAP:
data: p_data type tab512 occurs 0.
Call function.......
Tables
DATA = p_data
This is the XML source from the mapping test in Int.Rep.
<?xml version="1.0" encoding="UTF-8"?>
<ns:Z_BI_SEND_DATA_512 xmlns:ns="urn:sap-com:document:sap:rfc:functions">
<SYSID_HOME>AAA</SYSID_HOME>
<TARGETSYS>BBB</TARGETSYS>
<DATA>
<item>test1</item>
<item>test2</item>
<item>test3</item>
</DATA>
</ns:Z_BI_SEND_DATA_512>
This is the payload from SXMB_MONI:
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:Z_BI_SEND_DATA_512 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<SYSID_HOME>AAA</SYSID_HOME>
<TARGETSYS>BBB</TARGETSYS>
- <DATA>
- <item>
<WA>test1</WA>
</item>
- <item>
<WA>test2</WA>
</item>
- <item>
<WA>test3</WA>
</item>
</DATA>
</rfc:Z_BI_SEND_DATA_512>
Looks like there is a difference (imported RFC in mapping does not show the work area WA)(so: mapping requires
<DATA>
<item>test1</item>
but RFC generates
- <DATA>
- <item>
<WA>test1</WA>
which hinders the mapping from moving the item lines into the destination file because in mapping the WA area cannot be linked as it is not recognized in mapping.
Any ideas are welcome!
Regards
Dirk
Hi everyone
My problem is related to Dirk's one in that I am using an RFC to send XML data from CRM to XI.
I am trying to send the following string:
<TEST>GREG</TEST>
However on XI the payload 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><TEST>GREG</TEST></IV_CATALOG></rfc:_-MARS_-CPE_IMPORT_CRM_CATALOG>
As you can see < is converted into <
Where and how do I specify that the content of the parameter must not be interpreted?
Thanks
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, solved.
Forgot to activate in SAP BASIS SWCV the element for the substructure "WA" which is the table reference for the data element "item" in our RFC.
Looks like it is easy to loose overview in XI when doing too much at the same time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.