cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to XI: Payload comes in garbled

Former Member
0 Kudos

We finished and tested our scenario in dev and have moved the code on the abap side as well as the XI pieces to Test.

When sending an RFC from our SAP test system, if I look in the SXMB_MONI, the first node of inbound message payload is already garbled even before getting to the message mapping. The first part of it looks like this:

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

- <rfc:Z_BAPI_PRICING_SEND xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

- <PRODUCT_PRICE>

- <item>

<PROD_ID>000000000001003484</PROD_ID>

<PRC_TYP_CD>9912</PRC_TYP_CD>

<CNTRY_CD> e<</CNTRY_CD>

<EFF_BEGIN_DT>0000-00-00</EFF_BEGIN_DT>

<EFF_END_DT>0000-00-00</EFF_END_DT>

<PRC_AMT>0</PRC_AMT>

</item>

  • the prod_id is ok

  • prc_type should have been 'WHL'

  • country should have been 'US'

etc etc.

It's like the data in the payload doesn't match up with the xml. In our dev environment all works normally.

any thoughts?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Goto RFC Destination (Sm59) and look for the Unicode Radio Button, it has to be enabled!!!

Former Member
0 Kudos

Pete,

Thanks so much! That was exactly the problem. I saved the RFC Dest as unicode and it is now working. How does the point thing work? I just signed up. Do I have any points to award with?

Former Member
0 Kudos

sure,he gave an awesome reply,he should be awarded full 10 points:)

Thanx

Ahmad

Answers (0)