BPM  IDoc-XI-SOAP

Hi BMP Gurus,
I have a BMP scenario that look like this:  IDoc(ORDER05)-XI-SOAP.
Within my BPM, I'm returning a confirmation (ALEAUD) back to R/3 to confirm the SOAP Call.  In my ALEAUD Idoc back, I'm mapping some of the original Idoc info (ORDER05). 
Now, in addition, I would like to do map some of the Web Service result information back as part of the same ALEAUD Idoc.  How can I do that if my Interface Mapping back is defined for the original ORDER05 Idoc to ALEAUD?
Is there a way to link different struc messages in BPM before sending the IDoc back to R/3? 
I was looking at correlations but I think this will work for messages of the same structure only.
Rgds,
Yves

Hi,
Hope the below link will give you the answer...
Forum post in Exchange Infrastructure: Idoc Acknowledgements and BPM.
Idoc Acknowledgements and BPM.
Reg,
Srini

Similar Messages

  • BPM -  IDoc to SOAP problem (Unable to convert sender service)

    Hi,
    I have a BPM scenario where I'm sending an Idoc from r/3 to XI to SOAP.  As part of my scenario I'm sending an acknowledgment (ALEAUD) back to R/3. 
    I'm getting Unable to convert sender service IP_BPEL_INBOUND_ORDER to an ALE logical system on the Ack back.
    So I usually know what to do when I get this, I do the SLD settings on the r/3 service and I'm OK.  But in this case, it's asking for those ALE settings on the Integration Process?
    I tried adding a logical system on it but now I'm getting the error that this is already used by the r/3 service.  So I'm not to sure what to do next???
    Rgds,
    Yves

    Ok do one thing, in you mapping take one field at target side (may be u can create one or use which is not been used yet) just map the standard function called Sender to this field in target.
    Now in Intergration Directory when you do the header mapping by using F4 do not map the business systems this time, just press the button "Etended Path" (m not sure abt the exact name of this button) not use the X-Path here and select that target field which you mapped with Sender function in mapping.
    How To Handle Acknowledgments for IDoc
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    I hope this will solve your problem.
    Regards,
    Sarvesh

  • Idoc to soap sync without bpm. is it possible? Helping me..

    Hi Experts,
    i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
    I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
    if it is possible kindly send me the links
    Regards,
    Kiran polani

    Hi Kiran,
    Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
    ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
    If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
    In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
    This is one possible way for you without BPM in PI7.0.
    Please let me know if you need more details about this.
    Thanks
    Jyothi A

  • Idoc to Soap BPM issue

    Hello Experts,
    I have implemented idoc to  SOAP scenario using BPM.  In which idoc data is sent  to CRM webservice.
    But my BPM scenario is not able to handle the idocs that are coming in quick succession in SAP PI.
    For one idoc i get successful response and  the other i gets stuck.
    Please reply
    Thanks in advance,
    Vishal

    The BPM goes like this ..
    step1.   BS system  -
    > Integration Process  IP
    step2.   IP               -
    > CRM system
    If 2 idocs comes to XI system ...first idoc goes successfully to CRM system
    and the second idoc is stucka after step 1 .

  • IDoc to soap synchronous scenario with BPM

    Hi,
    I am working on IDoc to soap synchronous scenario using BPM. Here i am facing lot of soap exceptions in my production system. I handled the exceptions. The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second time. Please let me know why the exceptions are getting, and different type of exceptions and solutions for the same.(Blog also is fine)
    Thanks & Regards,
    Pragathi.

    The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second
    time.
    Ideally you should not get an exception for the same data....can you tell is the description and where are you getting the exception...is it a part of the SOAP message or some object?
    An exception might have occured because the description would be something unacceptable by the target application.
    and different type of exceptions and solutions for the same
    there would be many blogs....your thread would be spammed...better make a search on SDN with exception text that you are getting.
    Regards,
    Abhishek.

  • IDoc to Soap, with BPM - Permanent error in BPE inbound processing

    Hi Experts,
    IDoc to Soap, with BPM - > Permanent error in BPE inbound processing
    How to rectify this any issue???
    Thanks-
    sk

    Hi,
    The inbound processing encountered a permanent error and the queue therefore stopped.
    The error message "Permanent error in BPE inbound processing" may be caused by the following:
    - At the start or when you process a process instance, the inbound processing encounters an exception that was not handled. This exception is triggered, for example, by a transformation step, a synchronous send step or a control step but it was not caught in an exception handler branch. If the exception that was not handled occurs in the first transaction of the started process instance, the system does not write the process instance to the database but it sets the queue that has this error message to the error status.
    Refer to the help in Note 1082099
    - The inbound processing triggers this error if the correlation evaluation shows that a message should be delivered to a process instance that has the status "error". Since delivery to process instances that contain errors is not permitted, the queue is stopped.
    Use the simulation of the message delivery in the detail view of the relevant queue LUW to determine the relevant process instance for the affected message and use transaction SXMB_MONI_BPE "Continue Process Following Error" (or transaction SWF_XI_SWPR) to continue. If you cannot continue the process instance, check whether you can logically delete the instance. In this case, use the method that is described in Note 807906 to logically delete a process instance.
    Check whether your system contains other process instances that have errors in order to detect similar problems. Use transaction SXMB_MONI_BPE "Continue Process Following Error" or transaction SWF_XI_SWPR.
    Use the report RSWF_CRL_MAINTAIN to check all of the correlation instances in question or the relevant process instances that you can reach using "Display Work Item".
    - Messages that cannot be delivered because no correlation instance can be found may lead to the error that is mentioned here. Check whether the causes that are outlined in Note 1094028 affect your case.
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful.

  • IDOC to SOAP asynchronous scenario Error handling

    Need an expert!!!!!!!!! advise on  error handling for IDOC--PI--
    SOAP scenario.This is a asynchronous scenario where PI is calling a Legacy system using SOAP adapter.My question is how i can do error handling in this scenario.If i get an alert in pi with payload variable that would be fine, do i need to use BPM and if that is tthe case what will be steps.
    Appreciate your help.
    Manish

    Hello Manish,
    My question is how i can do error handling in this scenario.
    Use the standard alert framework. Search on SDN / SAP Help for details.
    do i need to use BPM and if that is tthe case what will be steps.
    BPM is not required to raise alerts, as this is an async call.
    Regards,
    Neetesh

  • IDoc - XI - SOAP - XI - Mail

    Hi all,
    I want to do the following scenario:
    IDoc is sent to XI, Xi is doing a Soap call with information from the Idoc, from the soap call I receive a response code. This response code will be sent by mail TOGETHER with info from the Idoc.
    I've made the scenario from Idoc to Soap call. I also know how to sent information out with the mail adapter.
    Where the problem is for me, is the combination of this all together.
    I guess I have to use BPM for this?
    Can anyone point me into the right directions for this problem?
    Thinks like wich message types, interface mappings etc?
    Thnx in advance!

    I guess I have to use BPM for this?
    Not necessary.
    U may perform a Idoc - Xi - Mail scenario with Soap lookup in mapping
    Webservice Calls From a User Defined Function.
    Regards,
    Prateek

  • IDOC --- XI ----- SOAP

    Hi All,
    Our Scenario is IDOC XI SOAP synchronous.
    We get data from IDOC to XI and send it to SOAP, I get response back from SOAP which is sent to R3 by STATUS IDOC.We have implemented BPM in our scenario and there is no Exception handling.
    My question is, if the SOAP server is down then I get a System Error.What we want to know is
    1. Whether it is possible to send the failed IDOC again to SOAP from XI and get the response back( I guess this is not possible in our case). Does Exception handling enables this feature ??
    2. Is it possible to know the status of SOAP server in BPM so that we can keep the incoming IDOCs in queue and send them once the SOAP is up?
    3. If Exception handling/Fault messages concept is implemented then can we send response back to STATUS IDOC from XI(Note: We need the incoming IDOC number must for this as R3 should know which IDOC is failed).
    Points will be rewarded for helpful answers.
    Thanks & regards,
    Satish

    Hi Satish,
    1. Whether it is possible to send the failed IDOC again to SOAP from XI and get the response back( I guess this is not possible in our case). Does Exception handling enables this feature ??
    Ans) It is possible to resend the data from the XI system if it is failed and sits in the Adapter engine (Message monitoring) here you can resend it once the SOAP server is up.............
    2. Is it possible to know the status of SOAP server in BPM so that we can keep the incoming IDOCs in queue and send them once the SOAP is up?
    Ans) Yes it is possible to know the status of the SOAP , for this you need to include a step in the BPM to have a lookup at the server(SOAP)...Once it is up the workflow can be restarted again manually.................
    3. If Exception handling/Fault messages concept is implemented then can we send response back to STATUS IDOC from XI(Note: We need the incoming IDOC number must for this as R3 should know which IDOC is failed).
    Ans) Yes if the exception handling is done then it is important to have the incoming idoc number so that the response will be send with this idoc number and also the status of the mentioed idoc ..you can achive this with exception handling
    Regards
    Sai
    Reward with points will helpfull

  • IDoc to SOAP Receiver Fault Message Handling?

    Hi,
    I am working on IDoc to SOAP Scenario (IDoc -> PI -> SOAP). It is in async mode without BPM. This works fine as long as there is no error on the SOAP receiver side. How to handle the falut message raised by the SOAP receiver and send it back the SAP ECC.
    Do I need to use ALEAUD IDoc for this? If Yes, how to configure this to handle fault message? Is there any other way of doing it?
    Could you please give steps to handle the fault message?
    Thank you.
    Regards,
    Cdr.

    Have a look into the below threads -
    How to capture SOAPFault in an Async/Sync Scenario without BPM
    Acknowledgement Handling in IDoc to SOAP Scenario in PI 7.3

  • IDOC -XI-SOAP one sender different  receivers based on condition

    Hi All,
    I have an IDOC to SOAP scenario.
    For each record based on the input flag XI has to send the  any one of the request ...like either create or update or delete request. All these message types are a part of single WSDL.
    How can i do it?
    Thanks in Advance
    Jyothsna

    hi There are two ways you can do this:
    1. Without BPM - Since you have to create all the target messages adn you want either the 1st and second, or the first and third: create two multi-mapping with one and two, and one and three. In the receiver determination check the condtion based on which you decide the second or the third message has to be created and route it to the correct mapping accordingly.
    2. with BPM, create all the target mapping. In the BPM check the condtion in the switch and do a send accordingly.
    You can do this either on Receievr Determination or on Interface Determination.
    Add multiple Receievrs/ Interfaces and then add the conditons on which the target should be choosen
    to use Xpath for your receiver det. ref these blogs;
    a combination of logics should help you in this case ...
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    pls reward points if solution found helpfull
    regards
    chandra.k

  • IDOC---XI----SOAP(Webservice) Sync

    Experts,
    Need to Develop IDOC-XI--SOAP(Webservice) Sync Communication Interface
    I have  importing the Standard Idoc & External Def  for WSDL ,which has the Request & Response Structure.
    I need to handle the SYNC message in the XI  and ignore it/ do not pass to the source system.
    Any Weblog will help ,
    Thnaks
    Edward

    Hi Edward,
    Follow the steps given below
    In IR create following objects:
    1: Import Web Service definition file in External Definition.
    2: Import IDoc ZDLVRY. (I have used custom IDoc)
    3: Create Message Interface
         a. Abstract Synchronous for sender
         b. Abstract Synchronous for Receiver
         c. Abstract Asynchronous for request
         d. Abstract Asynchronous for response
    4. Create Message Mapping for Source Request to Target Request
    5. Create Message Mapping for Target Response to Source Response.
    6. Create Interface mapping and specify proper input in request and response tab.
    7. Create Integration Process
    Configuration in ID:
    1. Create Integration Process for BPM created in IR.
    2. Create receiver determination
        a. From SAP R/3 to Integration Process
        b. From Integration Process to Third Party (Web Service)
        c. From Integration Process to SAP R/3
    3. Create Interface Determination
        a. From SAP R/3 to Integration Process
        b. From Integration Process to Third Party (Web Service)
        c. From Integration Process to SAP R/3
    4. Create Receiver Agreement
    5. Create Communication channel for Soap Receiver and IDoc Receiver.
    6. Create Receiver Agreement for Soap Receiver
    7. Create Receiver Agreement for IDoc Receiver
    if u have any doubt in any step please let me know
    Regards,
    Manisha

  • 1:N mapping idoc to soap

    Hi,
    We are planing to implement idoc to soap scenario , which is  based on BOMMAT idoc filed value  to two soap receiver.
    if STLAN=1 send idoc data to soap 1 and if STLAN=3 then send idoc data to soap 2.
    So i understant i have to use Correlation using BPM.
    Please descibe the step to achive this.
    Thanks
    Laxmi Bhushan Jha

    Hi Laxmi,
    >>If Receiver Business Systems are same for both the SOAP 1 and SOAP 2, you need not set the condition in Receiver Determination.You have to give the condition in the Interface Determination instead.
    For eg. Suppose you have Inbound Service Intefaces named  SI_SOAP1 and SI_SOAP2 for SOAP1 and SOAP2 respectively.
    Then in Interface Determination, set the condition as:
    if STLAN=1 send idoc data to SI_SOAP1 else if STLAN=3 then send idoc data to SI_SOAP2.
    If receiver Business Systems are different for SOAP1 and SOAP only then you will have to set the Condition in Receiver Determination.
    Fo eg. Supppose You have: For SOAP1-Business System is B1, and for SOAP2--Business System is B2.
    Then in receiver determination, set the condition as:
    if STLAN=1 send idoc data to B1 else if STLAN=3 then send idoc data to B2.
    >>You will be having 2 Operation mappings with two Inbound Service Interfaces. 
    >>Now you will have 2 Receiver Agreements for the 2 SOAP communication channels with respective Inbound Service Interfaces.
    THANKS
    BISWAJIT
    Edited by: 007biswa on Feb 11, 2011 10:01 AM
    Edited by: 007biswa on Feb 11, 2011 10:08 AM

  • EOIO or BPM for receiver SOAP messages

    Hi all,
    In our IDOC - XI - SOAP (R/3 4.7 - XI 3.0 SP17 - WebService) scenario we have a requirement from the receiving WebService that we cannot send two messages to close together (say within one second) in order to allow the WebService time to unpack the message, transform it and forward it to the legacy system. How the WebService is implemented with this restriction I do not know.
    How do we solve this?
    Will the QoS EOIO solve this issue? In that case, how do we make sure the Idocs is sent with EOIO from SAP and the SOAP calls from XI do the same? I cannot find any QoS for the receiver SOAP adapter.
    Or do we have to setup a BPM that implements a wait step for each message? This seems a bit "insecure".
    The last option as I see it is implement some logic in SAP to wait for the ALEAUD response message back from the legacy system (the whole interface is async) before it sends the next IDoc.
    Can anyone help me find the easiest (and best) solution?
    Thanks a lot in advance!
    Br,
    Kenneth

    Yes, I did not mention it simply because it is not a requirement to have all messages processed in the right order. My thought was merely that the EOIO processing might help giving the receiving WebService enough time before XI sends the next message to the WS. But this might not be the case then.
    Anyway, I think I will go for the BPM solution. BTW, if I implement a wait step of 1 minute (way more our requirements though, only a few seconds is needed), am I then sure that another message coming into XI at the same time does not start a new "instance" of the BPM, but uses the same instance as the first message? If a new instance is created then this will not solve my issue either, but if only one instance of the BPM is used then the BPM (and the wait step) must be finished before the next message enters the BPM, right? This is what I would want then.
    Thanks again for your help!
    -Kenneth

  • IDOC to SOAP Synchronous Communication

    Hi Experts,
    Scenario is IDOC to SOAP.
    And Expecting Response(Sucess/Failure) from Third Party system.
    My understading is IDOC wont support Synchronous communication.
    If synchronous comm is possible in IDOC to SOAP scenario could you please elobrate the Requirements and detail the procedures with ID and IR configuration.
    If not How this can achived in this scenario.
    Regards,
    Seshu.

    [IDoc to SOAP Synchronous with BPM|http://wiki.sdn.sap.com/wiki/display/XI/IDoctoSOAPSynchronouswith+BPM]
    Regards
    Raj

Maybe you are looking for