cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to Proxy Synchronous process data comes wrong from RFC to PI

Former Member
0 Kudos

Hi,

I try to do Synchronous process RFC to Proxy. I send a sturcture from RFC and I receive different data from RFC.

I called PI from RFC like this

CALL FUNCTION 'Z***********Y'

DESTINATION 'PI_TEST'

EXPORTING

I_NPR = gt_catnpr

IMPORTING

ET_NPRINQUIRY = gt_nprinq

NPRDETAIL = gt_detail

RFC sends

I_INP

MANDT=001

MATNR=3N5979

SERVICE_ID=16261

But i receive

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

<ns0:Z************ xmlns:ns0="urn:sap-com:document:sap:rfc:functions">

<I_TPARTAV>

<MANDT>000</MANDT>

<MATNR>979</MATNR>

<SERVICE_ID>0000</SERVICE_ID>

.......

Have you any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

check your function module code and output format. if you have done any changes in structure reimport it and check the BAPI Structure in PI Mapping .

Regards,

Raj

Former Member
0 Kudos

Hi,

We solved the problem. The problem was Unicode settings in the ERP system, RFC connection (SM59)

I set it from Non-Unicode to Unicode and the problem get solved. The data came correct.

Arman

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try to reimport the RFC structure in IR and activate. Hope you have tested the RFC output in R/3 itself.

Regards,

Rahul Grover