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 .

Similar Messages

  • SOAP/BPM Issue

    Hello All,
    I have a scenario where in, XI receives an IDoc, makes Webservice call and then sends an IDoc (IDoc->WS->IDoc). I am using a BPM to handle this scenario. My problem is the webservice call always fails.
    The response from the webservice doesn't match with the structure provided by the webservice provider.
    I also implemented another scenario, a simple non-BPM,
    RFC<->SOAP. In this case, response from the webservice fine.
    It is as specified by the service provider.
    What I don't understand is the Communication channel for these 2 scenarios is same. How come the response is different?
    Is there something in the request that is triggering this?
    Thanks in advcance for your ideas or suggestions.
    Sumant.

    Hi Sumant,
    As per your explanation it looks like the Async to Sycn brodge. You will be sending the IDOC to Webservice and then Webservice response is mapped with another IDOC. Ofcourse you need to handle it through BPM.
    But can you tell me what steps you had followed for BPM.
    I am sure you might have handled it in your BPM
    Just to refer below steps in BPM
    1. Receive step to get the IDOC in XI
    2. Send step to send the message Synchonously to web Service
    3, Receive step for synchornous response from Web Service
    4. Send step to send the Response as IDOC to same R/3 system
    This will give you the hint.
    Also let us know the exact error you will be getting in it. You could monitor it from SXMB_MONI.
    Thanks
    Swarup

  • 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, 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.

  • 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

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

  • Issue in IDOC to SOAP Senario

    Hello Experts,
    Hi have created IDOC to SOAP scenario .in which three different type of idocs are sent to XI system and in turn XI will send SOAP XML to CRM system.
    The three different idocs are invoking  three different services in CRM...bascially it is the Funciton Module.
    So my question is in SOAP action i need to specify only that FM or any thing other than that..
    Pls advice on this.
    Thanks,
    Vishal

    Vishal,
    You said you are using SOAP adapter, and also saying it is a function module. If you are uisng SOAP adapter then I hope you are sendign it to a webservice in CRM. You can either give an action or you can keep blank also. IF you want to go give then open the wsdl of the webservice and search for ACTION. There you will see a name and you can give that name.
    Regards,
    ---Satish

  • 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 to SOAP

    Dear All,
         My scenario is  IDOC to SOAP(Asynchronous) .
    In MONI ,I am able to see the succesful message but  in  receiver  communication channel, I am getting the following below error,
    SOAP:call failed:java.net.ConnectException:Connectiontimedout:
    Please suggest me on this.
    Regards,
    Lavanya B.

    Hi Lavanya,
    Its very hard to tell exactly where it is going wrong. Some issues are already mentioned by prateek. Apart from it you can take the receiver payload and see whether it is the same as expected by the webservice or not. If possible try to load this payload manually so that if any issues are there you may come to know.
    Regards,
    ---Satish

  • 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

  • IDOC to SOAP synchronous scenario

    Hi All,
    We have an IDOC to SOAP synchronous scenario in which IDOCs are sent to SOAP by calling a service and then SOAP sends a response back to XI . The response is not sent to SAP- R3. Please suggest on this
    Thanks

    Hello Rajesh,
    Thanks for your good justification.
    Here I have also replicated same kind of scenario and having same kind of issue.
    One thing just wanted to confirm - Even though SOAP adapter expects HTTP 200 response back from webservice, still SOAP channel is getting into red with following , and as we have Alert configured ...Alert mail also receiving as part of Error only. So How can we avoid that response ? Is there have any parameter to handle or suppress the response back?
    Thanks!
    Goutam

Maybe you are looking for

  • How to connect Apple TV 2 to my Library?

    When I select "Computer" in Apple TV 2 to show my Library, the Library only shows up if iTunes is running on my iMac.  Is this normal? I couldn't find anything in the Setup Guide about this. I have Home sharing enabled and the Apple TV is connected t

  • How can I make my iPhone "forget" some email addresses

    When I draft a message, a suggestion list appears of email addresses I've recently sent emails to. How do I make my phone forget them? I don't want them to appear! I've tried deleting my mail account and starting over, and yet they still are there. I

  • Determination of country based on Sales Org

    Hi Friends, I have sales Organization , I need to determine the country (Land1 field ) , which table I need to check to that, Is there any direct relationship to get this or please provide the path forward to get this. Cheers Prashant

  • Need sql query to find out Joins attached with folders in Discoverer

    Hi, Can anyone let me know the sql query which can be used to identify the joins which are attached to the folders. Actually we have to identify all the joins conditions from folders those are migrated from one instance to others. Thanks abhishek

  • Where we can see Agreed price in Sales Order or any other place

    Salute Masters ! ! In make to order scenario, if user want to see the cost of production, because it is project base order, how we can see agreed price? Our controlling Consultant want to see this to get costing of that equipment. Rgds Srivastav