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

Similar Messages

  • 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

    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

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

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

  • 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

  • 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

  • ASYNC to SYNC scenario using BPM.

    hi,
    i have a async to sync scenario. i have a File sender->PI(BPM)->ECC and the response from ECC->PI->SOAP.
    Here in PI, i am using BPM. The ECC side is a Synchronous BAPI. The response is sent to the SOAP receiver.
    in BPM, can someone tell me how many transformation steps do i need i.e mappings. and how many abstract interfaces, synchronous interfaces, outbound interfaces, inbound interfaces?
    also how many send,receive and transformation steps.
    and in the configuration part,
    how many receiver determinations, interface determinations do we need.
    rgds,
    mithun

    Hi,
    File sender->PI(BPM)->ECC and the response from ECC->PI->SOAP
    Service interfaces
    -> SI_OB for file (Request)
    ->SI_IB for Soap(ASy Response)
    ->SI_ABstract(ASy Request)
    ->SI_Abstract (Asy Response)
    ->Si_REq_RES_ABS(Syn)
    ->SI_ABS(ASY BAPI REQ)
    ->SI_ABS(ASY BAPI RES)
    mappings
    one for request mapping(file Req to BAPREQ) and one for response mapping(BAPI REs to RESponse mSg).
    operation mappings-2, one for Req MApping ANd One for Res ponse mapping.
    IP
    reciv->transformation(REq)->Send(SYN/ASYN)->transformation(RES)->Send
    ID:
    3 reciver deteminations
    one for file to IP
    IP to ECC and IP to SOAP
    3 interface determinations
    1 sender agrement
    2 reciver sgrements
        one for IP to ECC
    and IP to SOAPregards,
    ganesh

  • 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

  • Async Sync Bridge without BPM (Proxy-Soap-Idoc)

    Hi,
    I have read some blogs how to do the Async Sync Bridge without BPM for JMS adapters. I have a requirement that I am getting a Async Proxy message to PI and then PI makes Sync Soap call then the result need to send through the Idoc adapter.
    Proxy - Soap- Idoc
    Here Proxy is a sender so no adapter required in the Config and also Soap is java based adapter and Idoc adapter is a ABAP based so I am not sure this is possible but I just wanted to check with you.
    Please let know if this is possible or not?
    PI 7.1 with EHP1
    Thanks,
    Laxman
    Edited by: Laxman  Molugu on Oct 14, 2010 2:15 PM

    The mapping programm can be defined as a user defined function. As sample of mine is "getGoogle()", which is doing some kind of address validation. The input parameter URL[0] contains source address. For that you need to import:
    org.apache.commons.logging.*;
    org.w3c.dom.*;
    javax.xml.parsers.*;
    org.xml.sax.SAXException;
    org.apache.commons.httpclient.*;
    org.apache.commons.httpclient.methods.*;
    org.apache.commons.codec.*;
    org.apache.log4j.*;
    Example code for UDF "getGoogle()" is:
    String sUrl = "http://maps.google.de/maps/api/geocode/xml?address=" + URL[0] + "&sensor=false";
    HttpClient client = new HttpClient();
    GetMethod method = new GetMethod(sUrl);
    byte[] responseBody = null;
        try {
    //      int statusCode = client.executeMethod(method);
    //      byte[] responseBody = method.getResponseBody();
    //     result.addValue(new String(responseBody));
    String sResponse = "initial";
    int statusCode = client.executeMethod(method);
    responseBody = method.getResponseBody();
    ByteArrayInputStream bis = new ByteArrayInputStream(responseBody);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = factory.newDocumentBuilder();
    Document doc = db.parse(bis);
    doc.getDocumentElement().normalize();
    NodeList nodeLst = doc.getElementsByTagName("formatted_address");
    Node formAdr = nodeLst.item(0);
    NodeList nlFormAdr = formAdr.getChildNodes();
    sResponse = ((Node) nlFormAdr.item(0)).getNodeValue();
          // Deal with the response.
        result.addValue(sResponse);
        } catch (Exception e) {
          result.addValue(e.toString() + "######## exhrenda - googleResponse:############### URL=" + sUrl+"###########"+new String(responseBody));
        } finally {
          // Release the connection.
          method.releaseConnection();

Maybe you are looking for

  • Dragging files from a mac to a pc

    Hi there I've set up file sharing on the macs to allow windows samba file sharing. When I browse to the mac hard drive from my pc I can see all the accounts in Users and the folders. I can open them all e.t.c If I try to drag a folder from the mac to

  • Changing language on new Mac Mini

    Hi all, I have another thread in the "mini" forum but this may actually belong here: I just ordered a new Mac Mini. Since I'm buying from the German Apple store, the Mini will come with the operating system in German. Naturally, it will also come wit

  • Same WITH used in many SQL statements

    Hi, I have a need to use the same WITH clause in many places of my code. Is it ever possible to code without writing the same code in every SQL which need my WITH? Thanks in advance.

  • Invoice split:  MY REQ IS I HAVE TO SPLIT INVOICE IF SHIP TO PARTY DIFFEREN

    Dear All My requirement is I have to combine different deliveries (and delivery can be created with reference of different sales order ) in one invoice, combination criteria ,ship to party, bill to party ,payment term ,incoterm should be the same ,Bo

  • Is it possible to turn off 1 CPU in a dual system?

    I'd like to use just one (or mostly one) CPU till the parts arrive to repair my LCS. (I want to avoid cooking the CPU that isn't getting coolant)