Sync Step in BPM fails.

Hi Experts,
I am doing a HTTP>XI>RFC scenario. I am using the BPM .. SO my BPM is very simple and the requirement is if any of the transaction goes wrong the others should not be posted to R/3 from HTTP but rather should wait in a recieve step and once the failed one is corrected and resend then the other should be posted...
So my BPM is like this
Recivece step - > switch (container element CON ! = X ) then sync send to call the BPM - > check whether the return structure has error message E if so setting the container element CON = X thru a container operation and throwing a forced exception to stop the BPM...
I am just testing it, this may not be a complete no of steps but now i get error in my SYNC step itself stating .
<b>Work item 000000000047: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
Message no. WL821
Diagnosis
The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow.</b>
I am not handling any exception in the workflow and i am sure that the payload i posted would not return any exception...
I have just given the Sync interface, Request message, response message and the Receiver from Send context for my Sync step
Could you please guide me where i am going wrong..
Thanks in advance for you replies.
Regards,
Rajesh

Hi Rajesh,
The below thread talks about the same issue as you are having and it also talks about couple of OSS notes in it...Please see if they are relevant to your case..
Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
May be you already checked this by searching this on SDN...if yes, please ignore my reply...
Thanks,
Renjith

Similar Messages

  • Sync send step in BPM fails and cant be resend   XI

    Hi Forum,
    I have a file ->JDBC(Sync)->file scenario, with a BPM, having a synchronous send ........ sending and receiving message from a SQL Server,
    the problem is ........... sometimes the synchronous send to the JDBC fails, bcoz of purely database connectivity issue, but then the whole scenario has to be rerun, coz sync send doesnt keep message persistent........ and we cant resend the failed Sync send step,
    pls help .... its a production system

    Hi sreeram,
    i think the sync send doesnt make retries while sending message,
    in this case it means data lost............means not persistent in the BPM
    do u think my design is faulty,
    is their any alternative

  • Sync...step in BPM

    Hi All,
    we are sending 20 messages through sync step messages in BPM.. we receive 20 responses... then it should send succesmail back to the sender... now our problem is its sending 20 mails back to sender... we dont want this.. we need to send only one success maill after receiving 20 response messages...
    can any one help us to how can desing this and fix the issue.
    Thanks in advance.
    Srinivas

    Hi Abhi,
    In block we are using foreach mode to send messages one by one.. is that correct.. pls let me know this,
    @ supriya yes we are using BPM and need to send the final message behalf of the 20 succesful resonse receive messages..
    here....
    from sender serived we recive only one message , then in mapping we are splitting into n messages based on the payload volume some times it may 20 , some times 30.... so we need send n messages to target and need to recive n responce message from target... so based on this we need to send succesfull final message back to sender......
    this is the present situation... we dont know how many messages it will generate every time .. so how we now decide how much count we can give in multiline container step......(send step).
    thanks for your prompt resonses..
    srinivas

  • Sync Send in BPM...no trace in MONI, where can i find

    hi forum,
    I have a file>BPM->jdbc scenario,
    in the BPM i make a synchronous call to a BAPI(RFC) to a R/3,
    and the response form this call is sent to JDBC,
    now due to SXMB_MONI trace level set to 1, i cant see the details of this synchronous call, which has a Request mapping and Response Mapping,
    Since this Syncronous call is made through a Sync Send, in a BLOCK, which has a exception branch, which catches in case of any error in Request or Response Mapping in this Sync SEND,
    so i m unable to see if the error occured in Request or Response Mapping,
    I CANT INCREASE THE TRACE LEVEL in MONI DUE TO RESTRICTIONS***(its production)
    is there any table in R/3 or anywhere where i can see the mapping which failed....
    help

    Hi,
    You can do one thing. Use transaction SXI_CACHE. Select the integration process double click it. You can drill down It will juz show a graphical descrption of untill which step the BPM has executed.
    RWB: Check once with message monitoring.
    <b>Cheers,
    *RAJ*</b>

  • Avoid Async Step in BPM

    Hi experts.
    I have a BPM and some of its steps are:
    Sycn Step --> Asyn Step
    How could I avoid the async step when the sync step message response is empty?
    Thanks a lot.
    Regards.

    >
    Christian  Abad Chico wrote:
    > Hi experts.
    > I have a BPM and some of its steps are:
    > Sycn Step --> Asyn Step
    > How could I avoid the async step when the sync step message response is empty?
    > Thanks a lot.
    > Regards.
    You can use a bridge.
    Take a look:
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi

  • How to determine receivers in the send step in BPM?

    Hi Guys,
    I have 3 send steps in BPM defined with send context and for each send step i have defined a receiver determination in ID. Each Receiver Determination has a condition based on which identifies multiple receivers.
    The BPM is failing and unable to determine the conditional routing. Do i need to add the receiver determination step before each send step so that it identifies the receivers.
    Any help would be appreciated.
    Thanks,
    Raj

    Hi Guys,
    Thanks for all of you for the quick replies and it is really a great help.
    We have resolved the issue. The approach is as below.
    we have a generic design used by multiple customers. For the interface where we have the BPM, we are doing conditional routing for each customer before they hit the BPM that is as soon as we receive the Asynchronus request based on the condition we direct the message to a particular BPM. Basically every customer will have different BPM process. ie we create the same BPM with different names specific to each customer and in this way we dont complicate the BPM process and we will know if any particular customer has problems with his process.
    Please let me know comments or suggestions on the above approach
    Thanks,
    Raj

  • Sync interface as container element, And Sync Rec in BPM

    Hi Everyone,
                I am trying to implement a scenario with sync RFC to Sync SOAP using BPM.
      RFC <- -> BPM <- -> SOAP
    How do I implemnt this scenario, cause if I am not mistaken the first receive step in the BPM can only be asynchronous.
    Also when I declare container variables in BPM, it lets me choose only from async interface and does not display synch interfaces. So iam only able to create container variables of abstract asynch type.
    Please advice.
    Regards,
    Ashish

    Guys here's why I  want to use BPM:
    I am implementing a scenario wherein:
    1) Data is passed from R/3 to xi and then to a web server.
    2) From webserver the updated data is sent back to xi.
    3) A particular field is boolean checked in XI, if true the data is sent back to webserver.
    4) and then again the updated data is sent back to r/3 via xi.
    R/3 ---> XI ---> Web Server ---> XI -(If condition true)-> Web Server ---> XI ---> R/3
    R/3 ---> XI ---> Web Server ---> XI -(If condition false)-> XI ---> R/3
    Start > Receive (Async) > Send (Sync) > Send (Sync. This step only if boolean true) > Send (Async) > Stop.
    Also i am using BPM because I am implementing double mapping, i.e Message1>Message2>Message3.
    Regards,
    Ashish

  • Problem with Switch Step in BPM

    Hi,
    I am using Switch Step in BPM, to check a condition. I created following condition (App_Resp./p1:App_Resp_MT/Response = true). The mentioned is correct and it should succeed but it is failing. Its going thru OTHERWISE branch. Can anybody help me to solve this out?
    Thanks,
    Yaseen.

    HI,
    I checked in the workflow the xml file generated contains value 'true'.
    Its not multiline and looks xpath reflects for the changes made.
    I think it may be problem that needs to deploy any OSS notes.
    Please throw some idea.
    Thanks,
    Yaseen.

  • Send Synchronous step in BPM - showing application error in sxmb_moni

    Hi
       We have a cc bpm in which we have a send - syncrhonous step - a call to an external webservice and synchronously getting a response back.
    Now, owing to a application condition when invoking the  webservice , the response received after being mapped back into the BPM, the status is set is being set to application error ( without a restart ) in sxmb_moni and the bpm gets  a response in the fault structure from the webservice
    My understanding is that the web service implementation sets this application error status after sending the appropriate response in the fault structure  . We want the cc BPM to continue to the next step - which is - taking this response in the fault structure from this webservice and communicating it out - in another send step.
    But owing to the application error in the synchronous send step , the BPM instance stops right there without proceeding to the next send step - after this ?
    How do we make the cc BPM not stop after getting the fault response and the application error ?

    Insert an Exception Branch by rightclicking on the block and choose insert.
    In the send step under Exceptions you can point to the created exception branch.
    In the exception branch you can now handle what to do when it fails.
    Edited by: Christian Vilhelm Henriksen on Mar 16, 2010 1:09 PM

  • User Decision step in BPM

    Hi,
    I have requirement.PI is reading data from source and after transformation sending one mail to approver .If Approver approves it then messgae will be sent to target system.For approval and rejection ,I am using user decision step in BPM.
    My question is if approver approves reqest in 15 days ,then what will happen in SXMB_MONI,Will the message got failed?

    PI should not be used for such scenarios.
    The User Decision step in BPM is merely thought for PI admins, if a message should retried or skipped. Not for end-users.
    Create a Wokflow in ECC or similar.

  • Sync Send in BPM

    I got a existing BPM.
    I want to add sync send in BPM. How can i do this?.
    What are the steps for adding Sync send?......

    Generally Synch send is used to call your reciever system synchronously (ie You are sending request and response at the same instance).You have to create a synchronous abstract interface in Message Interfaces and select that interace in Synch send step. You have to provide Input and output parameters also......
    Check this for EX:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

  • Sync Step within an Integration Process

    Hi,
    I have an Integration process which is invoked Asynchronously. Within the process one step is a synchronous step. I have given the following settings to this step.
    Mode: Synchronous
    Synchronous Interface: MI_Sync_Inter
    Request message: async_var_1
    Response message: async_var_2
    Receiver From: Send Context
    The variables async_var1_ and async_var_2 match the Request and Response message types of the MI_Sync_Inter.
    And the Receiver Determinationis defined properly in the ID (with an interface mapping IM_Process_RFC). However while executing the scenario, I get and error message saying IM_Process_RFC is not available in the runtime cache.
    But this mapping is available in the cache. I did a delta refresh and also complete refresh. Still I get this error. Intead of a Sync step, if I put an Async step, the process works fine.
    Any pointers to what might be the problem?
    Regards,
    Pradeep

    <i>And the Receiver Determinationis defined properly in the ID (with an interface mapping IM_Process_RFC). However while executing the scenario, I get and error message saying IM_Process_RFC is not available in the runtime cache.</i>
    >>>
    is IM_Process_RFC being used inside BPM ? Then note that the mesg. interfaces need to be abstract.
    Do a check on the message interfaces used and defined in BPM. Also in SXI_CACHE check for the return code of BPM.. it should be 0.

  • BPM status is "IN Process" even after all the steps in BPM are completed

    Hi All,
    we have designed a BPM for collection of messages and have a transform step .
    In some cases all the steps in BPM get completed but the status of BPM is still in" In Process"  and in SWWL transaction the status is "Started".
    Even though the status is started we are able to get the desired output.
    Ideally after the steps in BPM get completed the status should be "Completed".
    please suggest why we are  getting this status and how can this be resolved.
    Thanks and Regards,
    Rajesh

    hi ,
    I am using a fork and loop with a condition to end this loop.the condition gets satsfied.
    The messages are coming out of the loop and fork but even then the status is in "InProcess"
    thanks,
    Rajesh

  • Advice on how to access photos on an iPad that were synced from a now failed laptop? The question stems from a need to return my current iPad having just taken delivery of a new unit. Thanks

    I am after some advice on how to access photos on an iPad that were synced from a now failed laptop? The question stems from a need to return my current iPad having just taken delivery of a new unit. Thanks

    If you have a dropbox account, there's a free app (probably more) that syncs photos to your dropbox account - picbox. 
    There's also PhotoSync that syncs photos to/from a number of different services and devices.

  • How to add a Wait Step in BPM for the synchronous send step

    Hi,
    we have a scenario where in one of the step in BPM is a synchronous step which sends data to ECC system and gets the Respose .
    The Requirement is that we need to add a wait for the Synchronous step in BPM as the data sent to RFC(ECC) need to get comitted before sendng the response which requires some wait time.
    Currently we are getting the Response to PI from ECC where it was reported as the response is not correct.
    Is this possible to add wait

    > Is this possible to add wait
    No, this does not make any sense.
    The BPM waits for the response anyway.
    You could change the scenario to an asynchonous pair of messages.
    But in my opinion the error is inside the ECC, because the response from ECC is not correct.

Maybe you are looking for

  • Changing reconciliation account on Vendor Master.

    Hi All, We want to change the reconciliation account for 5 Intercompany vendors. The business reason is to differenciate the normal and Intercompany vendors. I wanted to know how to send the open items from the old reconciliation account to the new r

  • Free and great backup software ??

    Hello, We are looking for a free and faster backup software with GUI or NOT .... Amount of data to backup is up to 150go per day on hard drive to another drive. Any suggestion ? Thank you.

  • Trying to update now iTunes is gone

    I tried the most recent update and it didnt complete, now the iTunes icon is gone and in looking at the program files it won't appear there either.  In trying to reinstall it won't let me as I need to delete the previous program files first but I can

  • Updating marketing attributes from BW

    Hi anyone! We're using the Analysis Process Designer in BW for updating marketing attributes in CRM. We face two problems: 1. When updating an attribute with several values (have set the multiple value indicator in the transaction maintain attributes

  • Constantly dropping broadband

    Hello A few months ago I received a email from BT stating that my broadband had been upgraded to improve speed and reliability. From then on we have experienced constant dropping out of the service mainly in the evenings and can be up to five or six