cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to SOAP parameters issue - Odd!

Former Member
0 Kudos

All,

We have a RFC to SOAP scenario.. There is a table parameter with 4 fileds in it - OPERATION, ID, TYPE, VALUE.

And in RFC we pass the following in the table,

OPERATION - "CHECK"

ID - 001

TYPE - MAT

VALUE - 234567890

Somehow, the incoming XML doesnt have TYPE and VALUE, but have them concatenated into ID.When we debug on the ABAP side, we se the internal table populated properly just before the call.

But in XI - we see the incoming XML as,

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

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

<EX_TAB />

- <IM_TAB>

- <item>

<OPERATION>CHECK</OPERATION>

<ID>001MAT2345</ID>

<TYPE />

<VALUE />

</item>

</IM_TAB>

</rfc:Z_TEST>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The RFC destination was marked as non-unicode.

Former Member
0 Kudos

Hi rk,

could it be that someone changed the coding of the RFC after you imported the RFC into XI?

If so, reimport again.

Regards Mario

Former Member
0 Kudos

tried reimporting... no luck. but the issue is - not that the function signature - it is the values that is coming in, concatenated...

Thanks,

prateek
Active Contributor
0 Kudos

This is completely RFC code dependent. Recheck the RFC otherwise create a new RFC, test it and then import in XI again.

Regards,

Prateek