BPM S/A Bridge

When does one use a S/A Bridge.. I am looking at SAP Help as per which, they have an example to convert a synch interface to Asynch? Do we need to use this?
I have the following interfaces
a) file sender adapter
b) Consume webservice
c) Based on the response from webservice, will invoke a BAPI.
d) Write the BAPI response to file..
What would be the blocks in BPM? Is the following right?
a) Outside of BPM, receive the file input
1) Aynchronous Receive step - Abstract asynchronous interface to receive the details
2) Synch Send step - Abstract synch send step to consume webservice
3) Asynch Send step to gather the response from webservice
4) Synch Send step - Abstract synch send step to invoke BAPI?
5) Abstract asynch interface with BAPI response
b) Outside of BPM to write the BAPI response to flat file
I am guessing i don't need S/A bridge and transformation steps. Please correct me if i am wrong..

Hi SSG,
>>>>>>I<i> am guessing i don't need S/A bridge and transformation steps</i>.<<<<<<
Yes, you don't a S/A bridge but you might need a transformation step to transform your Web service response to your Bapi Request.
Your BPM Process should have the following steps:
-Async Receive Step
-Sync send step to invoke Web service
-Transform step to transform your webservice response to bapi request
-Sync send step to invoke Bapi
-Async send step to send the Bapi response to your file(if mapping is required, try to do it outside the BPM).
Hope this helps.
Rgds,
Sam Raju

Similar Messages

  • Alerts and Error handling in BPM Async/Sync Bridge

    Hello All,
    I am developing an Async/Sync Bridge in BPM for sending a request from ECC webservice asychronously to a front end application synchronously using BPM Async/Sync Bridge. I get a response from the front end to PI and stays there.
    It wont be send back to ECC. What are the possibilities of error handling required in this type of scenario.
    Thanks
    Deno

    . I get a response from the front end to PI and stays there.
    Then it should mean that the BPM design is faulty...did you have a send step at the end which closes the Async-Sync Bridge by sending the message to original sender?
    In SXMB_MONI --> For BPM message processing there will be a link called PE...click it...check the graphic workflow...see till where the message has processed.
    error handling
    include your Sync send step whithin a Block....this block will have an Exception Branch....in this exception branch you can have your Exception handling logic...like raise alert, cancel process etc.
    Regards,
    Abhishek.

  • BPM - Async/Sync Bridge

    I'm trying to implement the scenario in this blog -
    http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
    It involves a File  - RFC - File scenario using BPM .
    File Async Receive  -> Sync Send to RFC ->  Transformation -> File Async Send
    I am tryign to replace the sync RFC with a server proxy .
    In the blog , 1 Abstract Sync Message Interface is created , but I am not able to see the Abstract interfaces in SPROXY when I go to code the server proxy .
    Can anyone throw some light on this? What are the differences in the interface objects when using RFC and Proxy ?
    Thanks guys!

    hi,
    You need to create Inbound Service interface with same message types as you had created Abstract Sync Interface, then in  Interface determination you need to set, sender interface as Abstract Sync Interface and receiver interface as Inbound Service interface.
    Thanks.

  • Calling a web service from BPM without using bridge S/A

    Hi Experts,
    I want to call a web service from a BPM and I want to call it asyncronously. That is by having my request and my response as a separate interface.
    I already did it by calling another BPM, this one with a bridge, but I don't like this solution.
    Any ideas?
    Regards
    Gonzalo

    Hi Sanjeev,
    EDIT: I was wrong, I have to reconsider your scenario.
    Leela,
    Watch this:
    http://img74.imageshack.us/img74/3536/presentacin2vm9.jpg
    The points of my scenario:
    -There's a BPM
    -Send and Receive in BPM have to be asynchronous
    -It have to comunicate with a WS wich is synchronous
    -I thought that, may be, playing with the receiver SOAP adapter modules I will achieve to send the response to another SOAP adapter, a sender one, and then have my ASYNC/SINC scenario as it's described here: File - RFC - File without a BPM - Possible from SP 19.
    Regards
    Gonzalo
    Edited by: Gonzalo del Castillo on Nov 20, 2008 11:29 AM

  • BPM sync-async bridge returns status "to be delivered"

    Hi experts!
    I have a BPM consisting of the following steps:
    1. Receive (open S/A bridge): Msg SalesOrder
    2. Transformation: create Msg SalesOrderResponse
    3. Send (close S/A bridge): SalesOrderResponse (to sending system)
    4. Send (async send): SalesOrder (to receiver system)
    RWB shows 4 messages when the scenario is executed:
    Sender - BPM
    BPM - BPM
    BPM - Sender
    BPM - Receiver
    The BPM works in that both the sender and receiver system receives the expected messages (SalesOrderResponse and SalesOrder), but the RWB returns the status "To be delivered" for the message from Sender to BPM and from BPM to BPM.
    SXMB_MONI shows one message only, which is successful, and the PE_ADAPTER shows the BPM as completed.
    Do you know why the status is "to be delivered", when the messages are received correctly at both sender and receiver system?
    How can we make all messages involved in the scenario successful?
    Thank you very much for any help!
    Br,
    Kenneth

    Thank you, but I have already re-created all interfaces and the BPM in IR, and reimported to ID. I do not get any error messages anywhere, SXI_CACHE is OK (return code 0 for BPM), SWWL contains no old processes.
    Another maybe useful piece of information:
    the two messages returning "To be delivered" status in RWB both exist for Integration Engine. The first, for Sender -> BPM, the inbound channel is AENGINE and outbound channel is SA_COMM. Could it be that SA_COMM does not notify AENGINE that it has received the message?
    The other message with the same status is from BPM -> BPM, with message interface SalesOrderResponse_ABS both for sender and receiver, which I don't understand why. This interface should only be used from BPM to sender... There is no inbound or outbound channel specified for this message.
    So is the BPM sending some information to itself through the same message interface?
    Any clues?

  • BPM Sync/Async Bridge

    Hi,
    I am trying to build a Async/Sync Bridge in BPM. However the difference is that I need the response to be sent to a different third party to the one which sent it.
    The complete scenario is as follows: A third party sends an XML file - this is picked up with the file adapter. PI then does the appropriate mapping and calls a BAPI on ECC. The response is then sent back to PI and sent to a different third parties WebService.
    I have followed the document "Demonstrating How to Use Async/Sync Bridge in BPM" by Leela Ratna Morampudi.
    Sending the response back to the original sender is straight forward engough. However Im not sure how to send it back to a different third party? Is this possible? Any help would be appreciated
    Also, Is it possible to build this scenario using a JMS Async/Sync bridge and avoid using a BPM?
    Rg,
    Krishneel

    Hi Swarup,
    Thanks for your posts.
    I have built everything, however I'm facing some problems with the RFC receiver. In the communication channel monitor I see this error:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.adapter.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declaration(2)
    Do you know what could be wrong?
    I have already tried reimporting the BAPI and refreshing the caches without any luck.
    Thanks,
    Krishneel

  • Do I need to do a BPM / Synch-Asynch bridge ?

    SDNers,
    I have a scenario where a synchronous SOAP HTTP message will come in with data. Following steps are needed.
    1) Call a stored procedure to authenticate on a DB2 database. Possible JDBC adapter.
    1a) If authentication fails need to respond with error code in the SOAP-MSG and end.
    2) Call another stored procedure to post the data to temporary table and get back a unique ID.
    3) Return the response and unique ID to the SOAP-MSG.
    Can you please let me know -
    a) If I will need to create a BPM for this scenario. If not how ?
    b) If BPM is needed - will I need a Synch-Asynch bridge although I have all synchronous communication throughout the process. All the stored procedures to DB2 database are intended to be synchronous JDBC receivers.
    Thanks a lot in advance,
    Charu

    Thanks Sandro, Sudheer, Shweta and Venkat for your inputs.
    It certainly looks like there is no way other than BPM even though I have synchronous scenarios - espacially because of the authentication step.
    In case some of you are wondering why is not the authentication step and the subsequent step merged -The authentication are maintained in a separate system and hence a separate call is needed.
    Venkat - I will check out on the Synch/Asynch bridge.
    All - you have more inputs then please share your views.

  • Error in BPM: "no interface action for sender or receiver found"

    hello,
    i configured a interface scenario SOAP - PI - Idoc using a BPM sync/async bridge.
    i followed the document
    when i try to call interface with my soap client i have the follow error in SXMB_MONI:
    Timeout condition of pipeline reached
    if i check the detail in trace i can found the follow message:
    <Trace level="1" type="T">select interface SI_MATREQ_ABS</Trace>
    <Trace level="1" type="T">select interface namespace http://pmf/orders</Trace>
    <Trace level="1" type="T">--no interface action for sender or receiver found</Trace>
    <Trace level="1" type="T">Hence set action to DEL</Trace>
    in BPM monitor i cannot see any interesting logs for determine the problem.
    I clear cache many time and reimported Integration Process more time.
    Have u some suggestion?
    thanks in advance

    Hi,
      Check whether this thread help you or not....
    SXMB_MONI: no interface action for sender or receiver found
    Regds,
    Pinangshuk.

  • BPM Error: no interface action for sender or receiver found

    Dear All
    I am doing an HTTP to Proxy scenario using BPM Synch Asynch bridge. The error in HTTP is error 500 (Internal Serve Error)
    I am getting following error in moni
    <Trace level="1" type="T">select interface namespace urn:WorkDelivery</Trace>
      <Trace level="1" type="T">--start determination of receiver interface action</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface LocationSynch_Abs</Trace>
      <Trace level="1" type="T">select interface namespace urn:WorkDelivery</Trace>
      <Trace level="1" type="T">--no interface action for sender or receiver found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      </SAP:Trace>
    I have seen some posts on sdn regarding the same problem but couldn't get any solution out of it.
    Please let me know how can this problem be solved.
    Sourabh

    I am using Two Synchronous interfaces:
    Synh_Out: Used before BPM
    Sync_Abs inside Synch/Asynch bridge:
    I am using an switch step to check a condition then in both the branches I have a send step and a transformation step:
    Send step1 is using one Asynch Abstract Interface
    Send step2 is using Another Asynch Abstract Interface. These Interfaces have different message types.
    The Transformation step in both the branchs have same operation mapping.
    The laststep after switch step is closing A/S bridge.
    There are two RDs after after BPM. They are having the same Interfaces as there in the respective send steps.
    I can see the xml version of my BPM
    Edited by: Sourabh Nirmal on Mar 30, 2010 8:56 AM

  • Idoc to Webservice to Idoc scenario- is this possible without BPM?

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    Appreciate your quick response
    Regards
    Satya

    Hi Satya,
    >>1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge?
    You need BPM
    2. Is there a Async to Sync bridge in BPM?
    You dont need a "bridge", just take a synchronous send step
    3. How do I use this bridge in my scenario and customize it?
    Map the IDoc to request container and the response container to the second IDoc.
    Your need 4 container, receive step, transformation, send step (synchronous), transformation, send step (asyncronous)
    Regards,
    Udo

  • Sync/ Asycn Bridge Time out error

    Hi Experts,
    I have defined a BPM Sync/Async bridge for belwo mentioned requirement
    1. ECC calls a sync proxy.
    2. PI receives the message using Sync Async bridge
    3. PI will connect to a DB to read a table record status (Sync mode)
    4. If record staus is 'completed', it will again connect to DB to make it 'InProgress' synchronously
    5. If record status is not 'complete', it wont connec to DB
    6. Based on the status (eithe in progress or completed) a response message will be given back to ECC as part of response  message. Here I am closing the Sync/ Async bridge
    When I am executing this scenario, BPM is not starting & I see error in SXMB_MONI as "Timeout condition of pipeline reached".
    Please suggest what could be wrong.
    Thanks.
    Regards
    Sushil

    Hello
    Try increasing the timeout parameter - CHECK_FOR_ASYNC_RESPONSE_TIMEOUT (in trx sxmb_admin -> Integration Engine Configuration). Do you still get the error after increasing the timeout?
    Regards
    Mark

  • BPM outbound status?

    Hi all,
    I am building on a simple scenario using BPM (S/A bridge). At first it was working fine, but after some test cases (also wrong), I canu2019t make it work again.
    I always get the initial message stuck in queue XBQO$PE_WS90000001 with error u201CPermanent error in BPE inbound processingu201D.  I delete then these queues manually. In SXMB_MONI I see error "Timeout condition of pipeline reached", and a lot of messages that have a green or red flag under Outbound status.
    My questions are:
    What exactly means the outbound status in BMP?
    How to get rid of this green/red flags? Or they can stay there with no harm for next messages, but what else can be the reason for errors?
    Thanx, Janos

    But I have one more question: In which cases I should go to SWWL to solve problems? I mean, is this a standard way, or
    it is a u201Cdirty wayu201D to be used only in emergency? (I donu2019t have any error handling implemented.)
    It is the dirty way
    Having an error handling is always beneficial...just think how much time consumption will be there in actual Production environment if such a thing happens
    With error handling not only the BPM will remain unstuck but also the Support folks will come to know why and where the error occured.....my personal opinion and experience
    Update:
    You just need to delete the Error instance of the BPM from SWWL
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jul 31, 2009 1:55 PM

  • BPM dont return (catch) error occured in Adapter

    Guys,
    I created my scenario with  BPM.
    Details:
    Design:
    MI_TESTE_SEND_outb - Outbound, Sync
    MI_TESTE_outb - Abstract, Sync
    MI_TESTE_ABS - Abstract, Async
    MI_TESTE_inb - Inbound, Async
    BPM
    Send1 - Open Bridge,
    mesage - MI_TESTE_ABS
    sync message - MI_TESTE_outb
    Receive1 - Async
    message - MI_TESTE_ABS, create new transaction
    Receive2 - Close Bridge of Receive1
    message - MI_TESTE_ABS
    Configuration:
    No errors in configurations, i create SOAP Adapter Receiver for use in Receive1 from BPM
    The send is a RFC Sender.
    When i launch the process, in SOAP Adapter occurs errors (url invalid), but in SXI_MONITOR dont show errors, otherwise, my process is completed and ok.
    That occurs because the error found in Adapter and my BPM dont catch the error.
    Can anybody tell me, how can i catch the error from Adapter in my BPM? How can i return from RFC the that error?

    João,
    Could you explain the scenario plz? Coz the steps which u've given is confusing a lot.
    raj.

  • IDOC to BPM-SOAP adapter is sending Empty envelop

    Hello,
    I have a scenario where im using BPM Async/sync bridge to realize the IDOC to SOAP adapter scenario.
    The web services will take the request and send the response in string (CDATA). Everything is working fine upto the synchronous interface mapping. After the data gets converted, It calls the SOAP adapter.It is here that im facing the issue. The soap adapter is sending an empty envelop without any data. But in monitoring i can see the data that it is supposed to send.
    Please, can anybody help me????
    Thanks,
    Lakshmi

    If I understand correctlty, you are doing a asynt to sync to asyn scenario. In this case you dont need an async-sync bridge.
    Your BPM should have only a receive step, sync send and then an asyn send step. You might have one transformation wherever applicable. If you have opened any bridges in BPM, please remove them and try.
    VJ

  • Parsing error while working with BPM

    My scenario is File-RFC. Getting the response back from RFC function module (Using BPM sync-Async Bridge).
    In SXMB_MONI I am getting this following error:
    "PARSING" - "GENERAL"
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="PARSING">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$Exception: (130) JCO_ERROR_XML_PARSER: Expecting a tag to begin with '<' instead of '2', in "R><RETURN>2345678903"</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    My Input file structure is :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns6:MT_GetFlatFile xmlns:ns6="http://sap.com/xi/XI/GMPOC_SYNC_RFC">
      <HEADER_DESCRIPTION>DESCRIPTIONDESCRIPTIONDESCRIPTIONDESCRIPTION</HEADER_DESCRIPTION>
      <PROJ_ESTIM_NO>9875670980</PROJ_ESTIM_NO>
      <VENDOR_NO>2345678903</VENDOR_NO>
    </ns6:MT_GetFlatFile>
    I have made a change in RFC and once again imported the same to XI. But still I am getting this error .
    Kindly help me in solving this problem.
    Thanks and Regards,
    Chary

    Hi,
    get your original message source from SXMB_MONI
    (right click - view source ) then paste your message to your message mapping (Test Tab) in the Integration Repository
    test your mapping and check if it's ok
    Regards,
    michal

Maybe you are looking for

  • Crystal 10 server to bo xi 3.1 not all instances

    I have used the import wizard to pull the reports across into BO XI 3.1 on server 2003. I get the reports and folders but not all the existing instances of the reports. There are 480 + reports and alot of instances all of which are needed. Has any on

  • What's the best XML for JAVA?

    Hi There, My big question is what should I use for develop a normal XML document, that can: - contain BASE64 strings - support UTF-8 add attributes, etc. I then want to pick this document and: - do it's parsing (walk trough) - apply a xsl to this doc

  • "Network" not showing up

    I have an iPhone 4 and when I go into settings>general, the Network tab is not showing up. It also says that I have a VPN, but will not show an APN. I downloaded the iPhone Config Utility, but I'm not sure what I need to do once I have that open to f

  • Why does it have to be so difficult!

    OK so I think this started after updating to 10.6.8 or something with Mac OS X after. A lot of applications are just crashing on opening. Crashing applications are: Software Update iTunes iPhoto Safari (I think more but these are things I use often)

  • Need PDF file for FI-CA

    Hi Friends, Can any one help me, how to get PDF document for FI-CA (Contract Accounts Receivable and Payable (FI-CA) Thanks Chandra