Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Issue in RFC communication between ECC and PI

Hi Experts,

We are upgrading our systems from SAP R/3 to SAP ECC. We have couple of synchronous interfaces between SAP ECC <-> SAP PI <->Webservices.

In R/3 these interfaces are working as expected and passing the data in correct format to PI. But same RFC in ECC is not passing correct data to SAP PI.

Our design is : ECC creates an IDOC and then from the port program it calls the RFC to send data to PI. I tried debugging this port program and until the RFC data is correct in the tables, but as soon as RFC hands over data to PI, data is getting messed up.

Below is the example.

Data in RFC : has data like this

TES_TRANS_NO     MATERIAL     UNIT     QUANTITY     SHIP_DATE

1003                         MMT-XXX     EA          1                    20140722

But when data comes to PI it is something like this:

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

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

<ORDER>1003</ORDER>

- <ITEM>

- <item>

<TES_TRANS_NO>1003</TES_TRANS_NO>

<MATERIAL>EA 1 20140722</MATERIAL>

<UNIT_MEASURE />

<QUANTITY />

<SHIP_DATE />

</item>

</ITEM>

</rfc:ZIDXF_WS_ORDER_STATUS>

Material number is not being mapped and all other remaining fields are being concatenated somehow and being mapped to Material.

Please help if anyone has any ideas.

Thanks,

Sameer

ECC.jpeg (75878 B)
Former Member
Former Member replied

Issue resolved:

RFC Destination was Non-Unicode in R/3, for ECC we changed it to Unicode (As PI system is unicode), and it worked.

Thanks everyone.

Sameer

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question