Sync Send

I want to design a sync send to BPM. How can i do?.
I am using JDBC adapter as sender..... BPM receivers the message.......then pass it to R3 using RFC Adapter.

Hello Bhavesh
I got a scenario...which connect 2db and query ...then pass those data to ECC.
For that i am using jdbc adapter then data pass to BPM.....then RFC Adapter to ECC.
Here i am getting select and update issue....loosing some record...as db keep gets data all the time select happens....before update is run, table is inserted...so there may be couple of records we loose.
How to redesign this?.....i want to get sql join run as sync and get all records...then join that with select for update data......then pass those data to BPM.....
i want to use select for update......but my current query is join...so i can't use select for update......
i want to spilt the query....like this way...get all data from joining table...then get data from main table with select for update....then update those selected records with update statement.....
anybody did this before?...how can i do this?.
Message was edited by:
        Jay
Message was edited by:
        Jay
Message was edited by:
        Jay

Similar Messages

  • File BPM Webservice IDOC .........Error in BPM workflow(Sync send step)

    Hi all,
                      I have the same type scenario that is file initiates the bpm that invokes the Webservice.the file data goes into bpm as the input data of the webservice and webservice gives the response and then the web-service response is mapped to
    idoc and finally posted to R/3.
    The interface sI created:
    1.outbound Async  -
    >for file
    2. Abstract async----
    >bpm reciever step.
    3.Abstract sync----
    >bpm sync send step.
    4.inbound sync -
    >for the webservice to recieve the reqst and to send the response to Abstract sync
    5.Abstract async----
    >to send the data out of BPM
    6.inbound async----
    for idoc
    created 3 communication channel.
    1.file adapter: sender
    2.SOAP adapter: Recv
    3.IDOC adapter: Recv
    created 3 reciever determination
    Business process instance in ID
    reciever agreement(2)
    interface determaination
    But getting a problem in BPM.
    I think the scenario is logically correct as I have seen previous
    SDN suggestions.
    But getting the problem in BPM's sync step.and the SOAP rec channel is also inactive.in BPM workflow I can see the recv step is getting file req data but after that in the sync send step
    its stuck up.getting error.
    Please sir suggest me.

    Remove the interface you created for Idoc that is inbound async one. use the imported Idoc itself as the interface and also as the message type. Everything else looks good though i did not really evaluate ur ID configuration..
    VJ

  • Sync send step in a loop step

    Hi Gurus,
    I want to query a database and based on the return value I will proceed to the next step. For this I have a 'sync send' step where I am finding if the count(*) is 0 or greater than 0. If it is only '0' then only I will proceed to the next step.
    For this functionality I am using a loop step with in which I have this sync send step (querying the database). The control will come out of the loop only when the count is 0.
    But, I found that the response message container is not loading. That is the reason why the loop condition is always coming out as 'true'.
    I want to know if I can use the send step with in a loop in BPM.
    Please let me know your solutions.
    Thanks
    Kalyan

    Hi,
    see the counter variable , initial value is 0 ,then the loop always true.
    second thing is when you send the request for synchronously and the response message to receive step, is it correct,
    if so why do you want to maintain the loop, are more messages sending the messages in seqencially /syncrounously .
    I think you want to check the response interface value is it , check this correctly..
    See the below links for Sync Send .
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards
    Chilla

  • Sync Send step in BPM.

    hi all,
    My BPM flow starts with a single message that I split using a message map into a list of messages into a block which is foreach mode to be sent synchronously one by one splitted messages to an Oracle stored procedure via the JDBC adapter. After the mapping step, the flow goes into a ParForEach block that executes the sync Send step to the JDBC adapter, and then has a Container Action that collects the responses.
    My problem is that BPM seems to not like executing a synchronous send from inside a block. The first execution of the send step will produce an error in the BPM flow.
    thanks in advance.
    srinivas.
    Edited by: sri_rambo on Nov 27, 2009 8:06 AM

    My problem is that BPM seems to not like executing a synchronous send from inside a block.
    BPM does support SYNCSend step inside a Block....but not for ForEach/ ParForEach mode of execution.
    I think you are following this procedure from quite a long time.....sync send inside a foreach block.
    Regards,
    Abhishek.

  • Sync Send step after transformation step in BPM

    Hi Gurus,
    I have an interface where I am loading the data into an Oracle database and getting the response back (insertcount) from the database. Based on the response, I have to execute a stored procedure in another sync send step.
    I am doing perfectly alright until the transformation step. The sync send step after this step has the following entries.
    Sync interface: MI_LG_SP_INPUT_ABS
    Request Message: sp_lg_rec
    Response Message: sp_lg_snd
    While doing 'check(F7)', I am getting the following error.
    <b>Interface MI_LG_SP_INPUT_ABS for element sp_lg_poc_step2 is not abstract/asynchronous</b>
    The request message for this sync send step is the target message of the transformation step.
    This error is bugging me since 2 days. Please help me with this.
    Thanks
    Kalyan

    Sravya,
    I know what I did now. For my send sync interface which is MI_LG_SP_INPUT_ABS, I have unnecessarily created a container element and which caused this problem. From your post, I rechecked it and found that I don't need a container element for my abs/sync interface as I already have container elements for request and response which are abs/asynch.
    I gave you full points, thinking that you will come for my rescue in the future (just kidding!!!).
    Thanks again,
    Kalyan

  • BPM Sync Send Step & Correlation

    Hi Experts,
    BPM Scenario: Step wise
    1. Receive-1 from one sender
    2. Send-1 it syncu2019ly to SAP using proxy and receive the response msg
    3. N: 1 transformation b/w request message and response message to generate a target message
    4. Send-2 the target message to a receiver
    Though the scenario seems to be simple, I have a doubt about the sync send step.
    How does the sync send step works in detail?
    For every message the Receive-1 receives, a new process instance will be generated. When the message is sent to SAP syncu2019ly, how does it relate the response to the particular process instance?
    For example, if 2 BPM process instances are created for two messages the Receive-1 step receives. However say, the second message is relatively less in size; in-turn consumes less time to execute in SAP and reaches XI well before the response for first message.
    Which process instance will it be related to?
    Please explain!
    Karthik

    Thanks, Udo! With your reply I heave that itching thought.
    I would happy to read more about this sync-session logic.
    Can you please provide more information/ blog/ material for detailed info?
    P.S. pts added to you!
    Thanks,
    Karthik

  • 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

  • BPM - Do we need receiver determination step between trans and sync send?

    Hi Gurus,
    I have a 1:1 transformation step followed by a sync send step. The transformation step is executing fine. While the sync step is executing, I am getting an error says 'No receiver determination found'.
    While I am executing this sync step in a separate, it is working fine.
    Do I need to have 'Receiver determination step' between Transformation step and Sync send step? I think so. Can somebody confirms this?
    Thanks for your kind help.
    Kalyan

    Hi,
    I think there is no need of a Receiver determination step in the BPM.
    You should have a proper receiver determination in configuration for this BPM scenario. (i.e) A receiver determination from BPM to the service configured for the synchronous interface.
    Regards,
    P.Venkat

  • 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 and Exceptions raised

    Hi,
    I am using sync send step twice in ASYNC/SYNC bridge,once for database server and other one is for webserver.Wht kind of exceptions can occur for database connection failure and how i should catch in bpm.Please send me if any blogs are there.
    Thanks
    Best Regards,
    Harleen Kaur Chadha

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

  • Can i use SWWL to stop a sync send in IP,  in production system

    hi forum,
    in a scenario of mine, theres a BPM and in the BPM there is  a sync send to a rfc function module,
    after the scenario ran, i can see in the PE, workflow, that the scenario is hanging in the synchronous send step for 3 days 15 hours, and has not yet returned the response....
    i could identify the problem ...because in the SXNB_ADM runtime parameter, HTTP_TIMEOUT , the current value is 2700000, which comes out to be some 31 days......
    may be due to this the step is still waiting,
    how can i stop the process, 
    can i stop the IP using SWWL, will there be any proble,
    coz its in PRODUCTION system......

    Hi Sudeep,
    if you dont have any correlation: just wait for the 31 days, nothing bad can happen. It is important, to correct the reason, so think about, to reduce the timeout and put an exception branch to the send step, which is stopping the process.
    If you have a correlation, other messages can share in the hanging process; in that case you should delete the workitem at SWWL.
    Regards,
    Udo

  • Mapping between Sync sender and Async Receiver

    Hi Experts,
    How to do mapping between Sync sender and Async Receiver?
    Flow: Sync SOAP Sender Client -> First Async webservice call -> Second Sync webservice call
    1. I have to send some input/request details to first webservice call. It will just update the database.If I do mapping with SOAP Sender client and first Async webservice.. I am getting timeout, because it expects response mapping too.
    2. Only Second webservice call return the response back to SOAP Sender client.Here mapping between SOAP Sender client and Second Sync webservice call. I don't have any problem here.
    I have to pass the same request info to both webservice calls, Please tell me how to do the async mapping in BPM?
    Regards
    Sara

    Hello Sara,
    Hope these blogs are useful to you..
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in
    ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in
    ccBPM
    Thanks,
    Satya Kumar

  • Application fault for Sync Send holds up the ccBPM queues

    Hello Experts,
    I have the following scenario which I have realized using a ccBPM in SAP PI 7.31.
    I receive a nomination idoc from ECC from which I create a nomination request to be sent in Sync manner to a web service. The response received from the web service is sent through another idoc, back to ECC. In case of any failure during this, an ALEAUD idoc is sent back to ECC to convey the failure. This web service returns an application fault in case any data in the request is improper and there is no fault message in the WSDL for the web service.
    I have used a ccBPM to receive the nomination idoc from ECC, transform it to web service request and send it using a Sync Send step. In case an application fault occurs, the SOAP receiver channel shows the error as application fault and my Sync Send step does not receive the expected response. However, a SOAP message with envelope is received from the web service which leads to the BPM queue land in error 'Permanent error in BPE inbound processing'.
    However, in case of the application fault I want to make the Sync Send step trigger an exception so that the ALEAUD idoc is sent back to ECC system.
    Any thoughts on how i can achieve this?
    Thanks in adv.
    Diptee

    Hello Experts,
    I have the following scenario which I have realized using a ccBPM in SAP PI 7.31.
    I receive a nomination idoc from ECC from which I create a nomination request to be sent in Sync manner to a web service. The response received from the web service is sent through another idoc, back to ECC. In case of any failure during this, an ALEAUD idoc is sent back to ECC to convey the failure. This web service returns an application fault in case any data in the request is improper and there is no fault message in the WSDL for the web service.
    I have used a ccBPM to receive the nomination idoc from ECC, transform it to web service request and send it using a Sync Send step. In case an application fault occurs, the SOAP receiver channel shows the error as application fault and my Sync Send step does not receive the expected response. However, a SOAP message with envelope is received from the web service which leads to the BPM queue land in error 'Permanent error in BPE inbound processing'.
    However, in case of the application fault I want to make the Sync Send step trigger an exception so that the ALEAUD idoc is sent back to ECC system.
    Any thoughts on how i can achieve this?
    Thanks in adv.
    Diptee

  • Sync Send without a Exception Handler ??

    hi..
    Can a synchronous send step work with out an exception handler..??
    im gettin my messages and combinin then n sendin via the sync send to call rfc , followeed by a send back to my server..
    at this very stage it expects me to define a handler for the same for the sync send.
    regards,
    vishal

    hi bhavesh..
    im doin the same...
    Mode : Synch
    Request Message
    Response Message
    Receiver From : Send Context
    any reason fr it dmandin fr an exception handler../
    it tch details i see the error as "no handler defined for this system exception"..
    any inputs..

Maybe you are looking for