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

Similar Messages

  • 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

  • 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

  • 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

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

  • 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

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

  • Expression must return the interface type in Transformation Step in BPM

    hi,
    We are getting below while activating the IP,
    Expression must return the interface type SI_Send_AA
    Expression must return the interface type SI_Get_AA
    No semantic errors found
    We have a Transformation Step in BPM,
    In OM, Source is SI_Send_AA and Target is SI_Get_AA
    Also Container variable points to  the same Abstract SI's.
    Few Thread's for Same are error are:
    Error in  BPM
    expression must return the interface type
    Transformation step in ccBPM scenario
    Error while compiling Business Process
    Even after checking these i am getting this Exception.
    Please Help!
    Thanks,
    Mayank

    Also Container variable points to the same Abstract SI's
    Are you sure that you are using Abstract Message Interfaces only and that these are referring to relevant container variables.
    Normally it happens that there is some mis-match between the message types/ interfaces that we use in the mapping and that we use in the BPM.
    If still not solved, then delete the Transformation step --> save --> activate......then again Edit the BPM to include the Transformation Step.
    Regards,
    Abhishek.

  • HT5654 after update to the latest version on my ipad, it no longer connects to the internet nor can i send emails.  when plugged in to sync with itunes, it remains 'stuck' at syncing  step 2 of 7 backing up.  has anyone had similar problems? any solutions

    after update to the latest version on my ipad, it no longer connects to the internet nor can i send emails.  when plugged in to sync with itunes, it remains 'stuck' at syncing  step 2 of 7 backing up.  has anyone had similar problems? any solutions?

    I had this problem.  I held down the power switch to power down completely.  Takes a few seconds.  Then use the power switch to turn on.  Might take a couple goes.
    Kirk

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

  • Multiple source messages in transformation step in bpm

    Hello,
    I am using a transformation step in bpm, I have two source messages and 1 target message, I got an error 'expression must return the interface type XXXX(in source message)', I checked my source message in interface mapping and the container element, the types do match.
    All the interfaces in the OM as well as in the bpm container definition are of type abstract.
    It seems to have something to do with the interfaces belonging to different software components?
    I declared a usage dependency from one swcv (holding the bpm) to another (holding the abstract interfaces which cause the error in the transformation step), so that I can reference them in the bpm.
    I thought it might have something to do on how  the message interfaces are selected in the operation mapping. so I tried to select the messages through the depencency path, but that was of no help either.
    Have I been clear?
    Any ideas?
    Thanks
    Matthias

    Since no receiver information is available in the transformation step, there can be no value mapping within the transformation  step. If the messages to be transformed give values in different formats, for example different date formats, you must first normalize the values before the messages can be processed in the process. To do so, define a message mapping with a corresponding value mapping.
    Check the help page below for reference
    http://help.sap.com/saphelp_nwpi71/helpdata/en/27/db283fd0ca8443e10000000a114084/content.htm

  • Regarding send step in bpm--"send context"

    i want to use the send step in my bpm with send context.
    The send context is a freely definable string, which you specify in the send step. You query the send context in a condition in the receiver determination in the Integration Directory. You must specify the send context to be able to send messages from the same message interfaces to different receivers in different send steps.
    but i did n't understand regarding the explanation given above.
    could u plz help me out

    Hi
    When you use Receiver determination step in BPM to get a list of receivers for a send step.
    You need to define send context to send messages from the same interface to different receivers in different send steps. As list of receivers is collected using receiver determination.
    Now you can use this to set condition(send context) based receiver in ID Receiver determination.
    Thanks
    Gaurav

  • Fault message in synchronous send step in BPM

    Hi,
    When executing a synchronous send step in BPM it is possible to handle application errors (fault messages) with an exception branch. But how do you get hold of the actual data in the Fault message(faultText, faultURL, faultDetail etc) for further processing (mapping)?
    Kind regards Johan

    Johan,
    u have to define another container element in integration process.
    For that container element an Async Abstract interface has to created with falult message as the message.
    Do u have the fault message defined already...
    Also go through this thread.
    Fault message handling in BPM
    -Naveen.

Maybe you are looking for

  • Importing Adobe photshop album files and tags

    I am moving off the PC and onto a new Mac. I am using Adobe Photshop album on my PC and have all my 5 GB of pictures "tagged" with information on who is in it and where it was taken. I will be copying the photos onto the mac and want to use IPHoto. I

  • Recent update 3.01 to 3.1.2 - Full Coverage to No service, back to full

    I'm not sure why I did it, but I usually go by the rule of thumb if a device you are operating has no problems, there should be no need to update it. Well, I did not follow that rule, and recently updated to 3.1.2. The problem I'm experiencing is the

  • Drawing API issue

    Hi people, I have a number of dynamically created MovieClips that are used to draw stuff into them. Because the content may be erased, the MCs have to clear() themselves sometimes. Now I want to have a kind of grid drawn also in those MCs, some small

  • Report = Custom Grid?

    Hi In Windows Forms / Desktop, I know that you can update the columns from a GRID, or leave it flexible to the User, where it can choose the columns visible and non visible. THE APEX, use a region report, with several columns, simulating a GRID. It i

  • MultiThread question

    Hello I'm a new java programmer. I have a problem: I have to create a thread of processes, say 5 threads. but only 2 at time should execute. After one of those 2 finishes, then the next thread should be started, and so on.. until all the threads will