cancel
Showing results for 
Search instead for 
Did you mean: 

Two "Call Adapter" step in SXMB_MONI

Former Member
0 Kudos

Hello Experts,

I have developed Sync interface WebService - PI - BAPI.

However when message is failing due to error in mapping at response side, there are 2 "Call Adapter" steps in sxmb_moni got that message.

First Call Adapter step is not in error status, however 2nd Call Adapter is in Error status (System Error- Restart not possible).

Could you please explain me why there are 2 "Call Adapter" steps? Actually there has to be only one step.

Best Regards,

Manisha

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Answered. Thanks to all.

Former Member
0 Kudos

Hi Manisha,

What is error in the message when you open it?

Regards

Ramesh

Former Member
0 Kudos

First Call Adapter step, there is no error

but in 2nd call adapter error is

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

- <!-- Call Adapter

-->

- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM_Z_BAPI_VL10_DLVY_CREATE_resp_2_~</SAP:P1>

<SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>

<SAP:P3>on: Cannot create target element /ns1:Order/OrderD</SAP:P3>

<SAP:P4>etail/ListOfItemDetail/ItemDetail. Values missing~</SAP:P4>

<SAP:AdditionalText />

<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_Z_BAPI_VL10_DLVY_CREATE_resp_2_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:Order/OrderDetail/ListOfItemDetail/ItemDetail. Values missing</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

both call adapter steps are under "Central client" step. why 2 call adapter in one?

Former Member
0 Kudos

Hi Manisha,

There will be 2 call to the adapter (one for sender and one for receiver). Here in you scenario JDBC to BAPI/RFC, during getting data from DB and converting accrodingly and again the vice versa durinng data being processed to BAPI/RFC.

You can have a look at the Message flow in XI blog, you will get a clear understading.

[|]

Regards

Ramesh

Former Member
0 Kudos

Hello Ramesh,

I can see both Call Adapter step under request message only. and actually i am getting mapping error in response.

If i see successful message, i can see only one call adapter step under request and there is no call adapter step in response.

so my question is, why there is two call adapter under request message?

//Manisha

Former Member
0 Kudos

Hi Manisha,

Is the content of SOAP Header and SOAP Body under the (Request) of both the Call Adapters are same?

Regards

Ramesh

Former Member
0 Kudos

Check , according to my understanding

1st Adapter Step is for : Message passed through SOAP Adapter .

Then , There will be a integration Engine Message.

2nd Adapter Step is for Message passed through RFC Adapter.

So in RWB - Message Monitoring - Adapter Engine(2) & Integration Engine ( 1) Message will be found.

Regards

PS