Issue in RFC communication between ECC and PI
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" ?>
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.
RFC Destination was Non-Unicode in R/3, for ECC we changed it to Unicode (As PI system is unicode), and it worked.