cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in incoming data in PI through RFC sender Adapter

jagesh_lakdawala
Active Participant
0 Kudos

Hi Experts,

I have a scenario from SAP ECC to SAP PI to SAP CRM; i have used the RFC sender adapter for fetching the data from ECC and used the RFC receiver adapter for passing the data to SAP CRM system.

I have imported required RFCs in PI-ESR from the ECC and CRM systems.

SAP RFC sender communication channel is working fine and i can see the data coming in PI as well.

issue is, last field of the input message from ECC is not geting populated.Last field is defined as XSD:INTEGER in PI and always being updated with value 0 in PI payload. I have ensured that sender ECC system is passing the correct value in debugging mode.

please suggest.

Regards,

Jagesh

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor

Hi Jagesh,

Can you start/stop the RFC sender CC just to make sure it is not a meta-data caching issue (happens when there is a change in structure but RFC metadata used is the old one)?

Can you also check the unicode settings of your SM59 type T and those in the RFC sender CC?

Regards,

Mark

gagandeep_batra
Active Contributor
0 Kudos

Also try to do dummy changes in CC and again activate it

Regards

GB

jagesh_lakdawala
Active Participant
0 Kudos

HI Mark,

Thanks for your very useful reply.

i missed the UNICODE option selection in SM59 RFC.

i selected this option and then checked, it has started to work.

my problem is resolved.

Regards,

Jagesh

Former Member
0 Kudos

Hi Mark,

I have a scenario from SAP ECC to SAP PI to SAP CRM , i have used the RFC sender
adapter for fetching the data from ECC and used the RFC receiver adapter for
passing the data to SAP CRM system.

I have imported required RFCs in PI-ESR from the ECC and CRM systems.  

Issue:

When sending data from ECC system, data is being sent properly to PI. I have checked that part and below is the PI log for the same. While receiving it in CRM system, data of all other
fields are coming properly. But data in only one field is not proper and coming
as “000000”. The field name is “PDF_CONTENT”. Please find screenshots of the
same.

PI field and its data type.

PI payload:

 

     

CRM Importing Structure Definition:

CRM Table Data:

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Ankur,

The PDF_CONTENT field is base64 encoded, you need to extract it and write to outputstream (not sure about abap) so that it becomes a PDF.

Regards,

Mark

Answers (0)