Sending Synchrously in BPM

Hi All,
I need a help on a BPM. I am using a RFC synchronous interface, so I have opened a Sync-Async Bridge and then I have a SEND Synchronous step. In the Receiver Determination, what should be my Sender Interface. The Business Service is the IP, but no Synchronous Interface appears in the list if Sender Interfaces. Can you please help me out here?
Thanks,
Geetha

Hi,
I have a synchronous RFC which is mapped to another Intermediate Synchronous Interface( say ISI). The receive step of my BPM receives the request of ISI and is mapped to another Synchronous Interface which is a Web service ( using a SEND Synchronous STEP ) . After sending the request to Webservice , Webservice response is received . This response , after couple fo transformations is sent to the ISI Response from the BPM, which is in turn mapped to the RFC Response. Hope my explanation makes some sense. Now the problem is I am unable to do the reciever determination.
This is just a part of my scenario. I have to call another Web-service with the response from the first Web-service and the RFC Request. Thats why I need to use a BPM.
Thanks,
Geetha
Thanks,
Geetha

Similar Messages

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

  • Send step in BPM is "logical deleted"

    Hi everybody,
    we are sending IDOCs from BPM to receiver determination (R/3 Backend).
    The BPM protocol marks the send step as "logically deleted".
    In SXMB_MONI strange!
    Sender = Receiver = BPM
    Any ideas?
    Regards Mario

    The required number in the fork was wrong!

  • Transport Acknowledgement in an Ansynchronous Send Step in BPM

    I tried this scenario /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments for a file acknowledgement in an ansynchronous send step in BPM and it worked fine.
    This made me think of something else...
    This SAP help site http://help.sap.com/saphelp_nw04/helpdata/en/43/65ce41ae343e2be10000000a1553f6/content.htm
    says -  for a "Permanent negative acknowledgment" the "Send step triggers system error for which you can define a specific exception handling."
    I understood this as saying "If the tartget file is not placed, a system error is thrown for which we can write our own exception handling"
    In the scenario explained in the blog the 'deadline branch' was made to wait for a few miutes and once exceeded, made to throw an exception "NegAck" which is handled in the "Exception handler branch"
    So what i tried was, I removed the 'deadline branch' and retained only the 'exception handler branch' and made the 'send step' to throw a system error "NegAck" so that if the "Send Step" recieves a negative acknowledgement, it would throw this error "NegAck" which I have handled in the "Exception Handler  Branch"
    However, this did not work. Can anyone kindly explain where was my mistake?

    Dear Bharath,
    hmmm nice question...
    The answer to this is....whenever you configure a async send step with "transport ack" it will never go into error..
    the send step will either get a positive ack(if the file reaches correctly) or a negative ack(if there is some problem like password expires) but it will will never go into error and hence directly the control will never go to exception handler block...
    consider the cases :
    1. Async send step with transport ack and file reaches correctly : +ve ack is generated and BPM will stop
    2. Async send step with transport ack and passowrd expires : the send step will not go in error but you will get error in adapter engine(RWB) so it will keep on restarting and corresponding negative ack will keep on getting generated but here also the send step has not gone to error but the message in AE has gone into error and hence control will not pass directly to exception handler block....what you can do is keep a timelimit thru deadline branch so that after that much time control goes to exception branch...
    This should solve your problem...
    do not forget to close the thread marking useful answers after your query is resolved
    Edited by: Tarang Shah on Mar 30, 2009 4:10 PM

  • 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

  • Were can i see synchronous send in the BPM editor

    were can i see synchronous send in the BPM editor
    i can see the send and receive ast the left top
    but could nt find out synchronous send

    Hi,
    When u select Send step, it is by default selected as Asynchronous. U may deselect it and select Synchronous there in the same step (Properties Window on right)
    Regards,
    Prateek

  • How to start a "File Sender" in a BPM?

    Hi Experts,
    Is there a way to start/trigger a File sender from a BPM i.e start it from the BPM? Or even trigger a Communication channel in a BPM?
    The scenario is as follows:
    We need to trigger the File Sender only when XI receives an IDoc from SAP.
    Many thanks in advance.
    Regards,
    Tush

    Thanks Prateek,
    Okay let me explain the full scenario, as follows:
    - IDoc sent to XI -> A file is created in the FTP
    - IDoc is triggered through Change pointers and sent to XI
    - Then, we should check the lines (records) of the file(currently in FTP) for the Material number in the IDoc.
        -If the material number is already in the file, replace that record.
        -If the material number is not yet in the file, add a new record.
    Can you please suggest a way in achiving this?
    Many thanks for your help.
    Best regards,
    Tush

  • Message is incomplete. No Sender found  ( in BPM )

    Hi my scenario is as follows
    BPM:
    receive
    Send  
    Transform
    Synchronous Send
    Transform
    Send
    I'm getting error in Synch Send as <i>Message is incomplete. No Sender found</i>
    I checked receiver Determinations and Interface Determinations and everything looks fine.  Also in SXMB_MONI no sender or receiver found for this Synchronous step. We are on PI7.0 so I dont think problem can be fixed with any patch.
    Thanks  in Advance

    Hi Ram, Have a look at this forum thread,
    you might get your problem's answer by this :
    BPM Message is incomplete. No Sender found
    thanks,
    pooja

  • 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

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

  • How to read fields from response message in send step in BPM

    Hi ,
    I have one  BPM scenario where I am using synchronous send step to insert data into database and to get response back from database as success or failure .My scenario involves inserting data into multiple tables and in multiple rows . If all the inserts are successful then I want to write success message  else I want the messaage as error . So can we read all the  SQL response and store it in container varibale and the have soem decision logic ?

    Hi,
    for everyinsertion, you will get a response
    <INSERT_COUNT> </INSERT_COUNT>
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    if the value ==1 , then insertions is sucessful, if value ==0, then insertion not succsful.
    So, in your mapping, just check if any of the values is 0 and if yes, then decide if you have to write a sucess message or a failure message.
    Regards,
    Bhavesh
    Regards,
    bhavesh

  • Error in send step in BPM

    Hello,
    I ehanced an existing BPM where a send step sends data to a J2EE system. I inserted a switch and put the existing send step to one branche and a new send step to the otherweise-branche. The new send step interrupt with an error:
    <b>No exception defined for fault message hostname http://xml.apache.org/axis/</b>
    But there is an exception branche defined. An idea what's the problem?
    I didn't define a message called hostname, so where he got this name from?
    thx
    chris

    No, everything seems fine.
    Here is the payload of response :
    <i>
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    </i>

  • Controlling a send step in BPM

    Hi I have a BPM like in which the last step will be
    block starts( (syn)RFC -> container->) block ends ->transformation-> send and i need to send the message in the last send step..based upon on field in the RFC response, i used a switch step after the block and in the branch i hav transform and step and in the branch otherwise i have the control step, but it seems ,it is not checking the condition, it alwys goes to the send step.
    and i am not able to see the switch step in the graphical work flow..any ideas?
    thanks

    Some basic checks that need to be done on the BPM:
    1) return code should be 0 in SXI_CACHE
    2) In SXI_CACHE there is an option to see the XML of your BPM.....this indicates what all steps are present in the BPM.....open this XML and check if each and every step is mentioned there.
    3) Check if there is any errored instance of the BPM in tcode SWWL...if yes then delete this instance
    4) I hope that your condition in Switch block is defined properly.
    5) Delete all the objects from ID (related to this interface)....then reimport the BPM from IR and again create the objects....last option
    Regards,
    Abhishek.

  • 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

  • Receiver Determination with Synchrnous Send step in BPM

    Hi,
       Is there any way to use BPM Receiver Determination step type with Synchronous send step ?
    Is it possible to send a request to multiple receivers synchronously and capture the response?
    Appreciate for your response.
    Thanks,
    Rao.Mallikarjuna

    Use malticasting, check out these blogs
    Multicasting using Receiver Determination Step in BPM
    and pattern number 6 in BPM with Patterns explained Part-2
    Thanks!

Maybe you are looking for

  • Share iTunes for OS x and iTunes for XP under bootcamp

    I want to be able to share one itunes library for both my Mac and Xp (same computer)(Dual boot) the problem is this. The iTunes for OS x writes the files as: file://localhost/Volumes/Data/Sorted%20By%20Artist/ and the XP under bootcamp writes it as t

  • Why has my Mac re-arranged my Logic files?

    I wiped my Mac's hard drive the other day pending installation of Snow Leopard and re-installation of all my software. Having now installed the operating system, it seems all Logic project folders on external drives have somehow been re-arranged for

  • VF02 picking segment from internal order

    Hi all,        In VF02, the segment field is picking the last three characters of Internal Order field value. For Eg: Internal Order   :     200375000020 segment           :     020  But actually the segment number is 375 ( 3 characters from 4 th dig

  • To differentiate in the user-exits what transaction has executed first

    Hi, I have a problem, For transactions Iw32 y iw34 EXIT_SAPLCOIH_006 user-exit  are called up  when a maintenance order is updated from any of two transactions. I want to differentiate in the user-exits what transaction has executed first (origin) be

  • How to make hidden files unhidden (normal) again?

    Hi, I copied a hidden folder from my PC to my MBP. I know how to view it using Terminal however I dont want it to be a hidden folder anymore. Just a normal visible folder. Appreciate any help, cheers.