cancel
Showing results for 
Search instead for 
Did you mean: 

Status 200 Acknowledgement with ECC -> PI -> SOAP Adapter to External Party

Former Member
0 Kudos

Is it possible for SAP PI to return an acknowledgement back to the sending ECC system for a status 200 result from the SOAP adapter sending the message to an external party?  We use idoc monitoring in our ECC systems and I want to take it beyond the regular status 03/12 for outbound idocs to know if the idoc has made it to its external destination.

Thanks

Peter

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Greg,

We have PI ack's enabled and it looks like it is trying to send the Ack back to the original sending system.  Here is the error that is being reported.

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

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_PARTY</SAP:Code>

<SAP:P1>http://sap.com/xi/XI</SAP:P1>

<SAP:P2>XIParty</SAP:P2>

<SAP:P3>XYZ123</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>Unable to convert sender XI party http://sap.com/xi/XI / XIParty / XYZ123 to an IDoc partner</SAP:Stack>

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

</SAP:Error>

Searching SDN this appears to be a common error but more in line with sending an original idoc in from a Party and not the acknowledgement scenario.

Can you help me understand where I need to add the necessary configuration to pass this data back in?  I was trying to do something like ALE#LS or ALE#LI on the identifiers of the party but I have yet to be successful.

Thanks!

Peter

former_member184681
Active Contributor
0 Kudos

Hi Peter,

Have a look at this document:

http://scn.sap.com/docs/DOC-16142

Especially, focus on chapter 3.2 Configure Routing for Acknowledgments.

Regards,

Greg

former_member184681
Active Contributor
0 Kudos

Hi Peter,

This is really simple: in your PI system, go to transaction se38, run program IDX_NOALE, choose your sender system (name + client), and for your particular message type mark "System OK" and "System error" checkboxes. Also, remember to create an inbound partner profile for ALEAUD message type in the sender system.

Regards,

Greg

baskar_gopalakrishnan2
Active Contributor
0 Kudos

This is not possible to get the system acknowledgement status directly using soap interface. I think you might consider using ccbpm to get the system acknowledgement  using send step from the soap adapter. Or you can request the target system to make the scenario synchronous and requesting them to send the response such as  text message "message arrived".  This way you can retrieve and pass it to sender system. As Raja said, you might need to make the sender system synchronous for this.

former_member181962
Active Contributor
0 Kudos

I think you have to map the soap response to a SYSTAT01 IDOC message , so that it can go back and update the original idoc status.

rajasekhar_reddy14
Active Contributor
0 Kudos

When you deal with IDoc sender scenarios it did not support Sync communication, If you want to send 200 error back to EXX then your Tragte system has to give response in valid xml message then only you can send it back to ECC.

BUt in ECC side you have to consider using ABAP Proxy or RFC(BAPI).

Former Member
0 Kudos

My scenario is:

ECC sends an idoc to PI which is intended to go to an external business partner.

We map and do a post of the data using the SOAP adapter.

The SOAP adapter will report a status 200 (standard HTTP codes) if the transmission was successful.

Is it possible to relay that status 200 into a SYSTAT idoc that will update the idoc status in the original ECC system?

Peter