Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Jun 13, 2012 at 09:06 PM

    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).

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Posted on Jun 13, 2012 at 09:18 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2012 at 09:20 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 14, 2012 at 07:19 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 14, 2012 at 08:55 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.