cancel
Showing results for 
Search instead for 
Did you mean: 

Improper data from Sender RFC Function Module

madhusudana_reddy2
Contributor
0 Kudos

Hi,

I am running one RFC to File interface, i imported RFC to PI and configured interface end to end. Interfce is executing end to end fine. but i am getting improper data. Responsible person of RFC saying that his function module is sending data perfectly. But i am getting wrong data, like FIRST_NAME fileld data coming in EMAIL field etc.

I reimported RFC and reconfigured interface again

I deleted total interface and configured again.

I deleted my sender RFC channel and created new channel.

After all these changes also i am getting same problem.

I want to prove to RFC responsible person that RFC is sending wrong data. Please tell me how can i prove in sender system that RFC is sending wrong data. Is there any Tcode that we can monitor this RFC result in SAP System.

Thanks in advance,

madhu

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

When the RFC code is changed after first run, the RFC metadat in cache must be cleared.

This you can do by deactivating and activating the RFC channel.

Answers (2)

Answers (2)

former_member206760
Active Contributor
0 Kudos

hi madhu,

how are you....I think the problem is with the coding in the RFC...is that a Z RFC..i.e custom RFC..

may be the coding inside that is fetching the data for FIRST_NAME field and inserting it into email field ....and data foe email field is inserted in the FIRST_NAME field..

you can go to tcode SE37 on the sender side ...put a breakpoint and execute the RFC..you can debug and find the problem

bye

madhusudana_reddy2
Contributor
0 Kudos

Hi Tarang,

I am so fine, hope you are same.

This is one of the amazing behavior that i ever observed in PI. While debugging this showing data properly. After sending this data to PI only, data getting changed. In Sender RFC channel monitoring and in SXMB_MONI ( First Inbound message) the data is wrong. I found same type of query in SDN (), but he closed this thread as answered. I dont know what solution he got.

Note:-I am using Z RFC at sender side

Thanks & Regards,

Madhu

Former Member
0 Kudos

Hi,

PLease cross check your mapping, whether the fields has been judged correctly or not.

Regards,

Tiny

madhusudana_reddy2
Contributor
0 Kudos

Hi Tiny,

This is not related to Mapping, The data in RFC payload is coming wrong.

In RFC Function they are sending like below

<name> robert</robert>

<id>1000</id>

but i am getting in my SXMB_MONI Inbound Payload like below

<name>robert1000</name>

<id></id>

There is some thing wrong in TCP/IP connection settings, may be like option Unicode etc.

Anybody having idea on what is the effect of Unicode in SM59 RFC Destination creation, if we doesnt set it properly.

Thanks,

madhu

Former Member
0 Kudos

Let us know what sm58 is displaying...

Regards ,

Former Member
0 Kudos

Hi Madhu,

This issue is Related to UNICODE Option in RFC destination Type TCP/IP.I have got Same issue but resolved it. I have checked Unicode option in RFC Destnation.This code is converted the data into XI format.

Thanks

Ravi

Former Member
0 Kudos

This message was moderated.

former_member190389
Active Contributor
0 Kudos

Hi,

Can you refresh the CPACache?

http://<host>:<port>/CPACache/refresh?mode=full

madhusudana_reddy2
Contributor
0 Kudos

Hi Ravi,

Made changes in RFC destination, to Unicode. Now it is working fine.

given points to u

thanks,

madhu

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Is there any Tcode that we can monitor this RFC result in SAP System.

no, as this is RFC - but if you change it to ABAP Proxy then you can show him that in ERP

>>>Responsible person of RFC saying that his function module is sending data perfectly. But i am getting wrong data, like FIRST_NAME fileld data coming in EMAIL field etc.

this is completely not possible - the guy who wrote RFC is sending the data in a wrong way

as RFC adapter never sends correct data in wrong fields

Regards,

Michal Krawczyk