Skip to Content
0
Former Member
Mar 30, 2004 at 06:48 AM

BAPI - rfc adapter

67 Views

Hi,

My scenario is CRM -> XI -> R/3 using BAPI at both the ends. CRM has input,output,return(tables) as parameters, and R/3 system also has input, output,return(tables) parameters. In the mapping, CRM output -> R/3 Input,

CRM input -> R/3 output. I also have mapped the return structure.

When i execute the BAPI from CRM system, the bapi dumps, with the error:

4705: Wrong response - Z_TEST_XI_CRM.Response or *Exception expected

Inspite of the dump, i could see the message in IS. Legical routing is correct, it could also do the mapping, but subsequently it fails.

The trace file is as below:

>>RfcAdapter> Tue Mar 30 01:27:43 EST 2004>>

> Jco2Xmb: checking lock status of client object Client=111 User=XIAPPLUSER P

> asswd=******** Lang=EN Host=sealxi SysNr=00 Trace=0 Debug=0

>>RfcAdapter> Tue Mar 30 01:27:43 EST 2004>>

> Jco2Xmb: locking client object Client=111 User=XIAPPLUSER Passwd=******** L

> ang=EN Host=sealxi SysNr=00 Trace=0 Debug=0

>>RfcAdapter> Tue Mar 30 01:27:43 EST 2004>>

> Jco2Xmb: invoking synchronous request to XMB

>>RfcAdapter> Tue Mar 30 01:27:43 EST 2004>>

> Jco2Xmb: calling SRFC_ADAPTER_SERVICE in XMB

>>RfcAdapter> Tue Mar 30 01:27:43 EST 2004>>

> Jco2Xmb: disconnecting client Client=111 User=XIAPPLUSER Passwd=******** La

> ng=EN Host=sealxi SysNr=00 Trace=0 Debug=0

>>RfcAdapter> Tue Mar 30 01:27:44 EST 2004>>

> Jco2Xmb: disconnecting client Client=111 User=XIAPPLUSER Passwd=******** La

> ng=EN Host=sealxi SysNr=00 Trace=0 Debug=0

>>RfcAdapter> Tue Mar 30 01:27:44 EST 2004>>

> Jco2Xmb: call to XMB returned with error (class:4/code:705/name:null/msg:Wr

> ong response - Z_TEST_XI_CRM.Response or *Exception expected)

>>RfcAdapter> Tue Mar 30 01:27:44 EST 2004>>

> App2Jco: got RFC Adapter exception

> exception occurred, detail:

> 4705: Wrong response - Z_TEST_XI_CRM.Response or *Exception expected

>>RfcAdapter> Tue Mar 30 01:27:44 EST 2004>>

> Jco2Xmb: unlocking client object Client=111 User=XIAPPLUSER Passwd=********

> Lang=EN Host=sealxi SysNr=00 Trace=0 Debug=0

Any suggestions...

Thanks

Pandari