Doc on Async and Sync using BPM

Hi all
Can anyone send some docs explaining the steps involved in bridging async and sync interface using BPM. The source adapter is JDBC and target is proxy. I've already checked one blog by krishna moorthy (File-File using BPM) and based on that i tried but coudnt get the expected result for my scenario.
Thkx

Hi PS,
in your Integration Repository go to:
Software Component: SAP BASIS
Namespace: http://sap.com/xi/XI/System/Patterns
Process: BpmPatternSyncAsyncBridge
This is a very good example!
Regards Mario

Similar Messages

  • Can you explain steps in the Async and Sync scenarios JDBC to RFC.

    Hi,
    Can you explain some basic steps in the Async and Sync scenarios for sending data from JDBC to RFC.
    Like,
    The data is picked up from the  database table through JDBC adapter.
    It is passed on to SAP  by calling the RFC. RFC gets executed         
    successfully. The status is returned by the RFC. The status needs to be
    updated back into the SQL database table.
    Is this a sync case or async case.
    What si the diffrences in the sync and async scenarios in the above JDBC to RFC scenarios.
    Soorya

    hi check the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    JDBC Synchronous call using BPM  
    Data Types -
    1) File Input
    2) JDBC Req
    3) JDBC Response
    4) File Response of similar type of JDBC Response.. ( This you can avoid also..let it be for first time)
    Message Types
    4 for each data type
    Message Interfaces
    1) Async, Outbound, Interface, to receieve the file
    2) Async, Inbound , Interface to send the file from XI
    3) Async, Absract , Interface of type File message type to recieve the message in the BPM
    4) Sync, Abstract Interface with Req message type as File Request, and Response Message type as a file Response
    5) Sync , Inbound interface for JDBC with Input message type as a JDBC Request and Output Message type as a JDBC Response
    Message Mapping:
    1)Mapping between File Req to the JDBC req
    2) JDBC Response to File Response
    Interface mapping:
    1) Sender Interface as a Sync,Abstract Interface created for the file type and target interface as Synchrnous JDBC interface.
    Use corresponding mapping for Req and Resp..
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Questions on async and sync's unit tests

    Hi All
    I write a API project and that have sync and async method.  
    Then I also write a unit tests for them.
    What I want to ask is how to write them is better ?
    public abstract class ApiProxyBase
            protected async Task<T>
    GetDataAsync<T>(IRestRequest restRequest, bool ignoreSslCertificateValidation
    = true) where T
    : ApiResponse, new()
            protected T
    GetData<T>(IRestRequest restRequest, bool ignoreSslCertificateValidation
    = true  where T
    : ApiResponse, new();
       public class GameServerApiProxy : ApiProxyBase, IGameServerApiProxy
    async Task<GetGameRedirectResponse>
    GetGameRedirectAsync(GetGameRedirectRequest request) ;
        public GetGameRedirectResponse GetGameRedirect(GetGameRedirectRequest request)
        public class GameServerApiProxyTest : TestsBase
            [Test]
            public async void Can_Get_Game_RedirectUrl_Async()
                await LogIn();
                var response
    = await _gameServerApiProxy.GetGameRedirectAsync(new GetGameRedirectRequest());
                response.Url.Should().NotBeNull();
                LogOut();
            [Test]
            public void Can_Get_Game_RedirectUrl()
                LogInSync();
                var response
    = _gameServerApiProxy.GetGameRedirect(new GetGameRedirectRequest());
                response.Url.Should().NotBeNull();
                LogOut();

    I have an
    article on asynchronous unit testing. I'd say your async unit test method should be async Task and not async void. Other than that, it looks good. In particular, since your interface has both synchronous and asynchronous APIs, you should have tests for
    both of them.
    Home page: <a href="http://stephencleary.com/">http://stephencleary.com/</a><br/> Programming blog: <a href="http://blog.stephencleary.com/">http://blog.stephencleary.com/</a><br/> <br/> <a
    href="http://www.landmarkbaptist.com/salvation">How to get to Heaven according to the Bible</a><br/>

  • Proxy to SOAP Sync with BPM (1:N)

    Hi
    Proxy to SOAP Sync and return message will be posted back to R/3 via proxy. This is Async to Sync using BPM. And the split happens in BPM as well. We are suppose to go with BPM here, that's the mandatory step for learning purpose
    I am trying to follow the steps below
    1. OB Async MI Proxy outbound message into XI
    2. ABS Async MI to receive the proxy message into BPM
    3. ABS Sync MI SOAP Sync message
    4.ABS Async MI for Proxy Inbound to R/3
    5. BPM for Split
    I am at the stage of writing spec, can't execute any of the steps and have no prior experience with this kind ofscenario. If anybody have experience, please do share exact steps. Thanks in advance

    Hi,
    Your steps are correct ... in the IP, the following steps will be there -
    Rcv -> Transform -> Send (sync) -> Transform -> Send (async).
    I am not too sure what you mean by step 5 - BPM for split ?
    Regards,
    Neetesh

  • Numerous types of DG Failures using both ASYNC and ARCH rep to Phys Standby

    We have multiple 3 node 64 bit Linux RAC clusters in MaxPerformance protection mode with some using ASYNC and some using ARCH for log transport mode to the physical standby (64bit Linux Stand Alone). It is oracle RDBMS 10.2.0.4 EE with the Linux is Red Hat Enterprise Linux AS release 4 (October Update 7) and a 2.6.9-42.0.3.ELsmp kernel.
    I have SR’s opened with Oracle but have got no traction on them so I thought I would ask the group for help on any of them. Thanks Dean
    Problem 1) I get ORA-00600: internal error code, arguments: [kcrrrfswda.11], [4], [368], [], [], [], [],
    [] errors that kills the MRP and puts the standby database recovery into an Idle state.
    I can usually easily recover from this by restarting the recovery but it is very annoying and could be low hanging fruit to easily fix! Any suggestions?
    Problem 2) Standby DB does not receive all the logs (skips a few) or sometimes gets all the logs but the log apply gets hung on applying one log but receives all the other logs after (stuck one) and will not continue. This is very similar to note/bug 5746174 but it was supposed to be fixed in 10.2.0.4!
    Any thoughts would be greatly appreciated. Dean

    We have multiple 3 node 64 bit Linux RAC clusters in MaxPerformance protection mode with some using ASYNC and some using ARCH for log transport mode to the physical standby (64bit Linux Stand Alone). It is oracle RDBMS 10.2.0.4 EE with the Linux is Red Hat Enterprise Linux AS release 4 (October Update 7) and a 2.6.9-42.0.3.ELsmp kernel.
    I have SR’s opened with Oracle but have got no traction on them so I thought I would ask the group for help on any of them. Thanks Dean
    Problem 1) I get ORA-00600: internal error code, arguments: [kcrrrfswda.11], [4], [368], [], [], [], [],
    [] errors that kills the MRP and puts the standby database recovery into an Idle state.
    I can usually easily recover from this by restarting the recovery but it is very annoying and could be low hanging fruit to easily fix! Any suggestions?
    Problem 2) Standby DB does not receive all the logs (skips a few) or sometimes gets all the logs but the log apply gets hung on applying one log but receives all the other logs after (stuck one) and will not continue. This is very similar to note/bug 5746174 but it was supposed to be fixed in 10.2.0.4!
    Any thoughts would be greatly appreciated. Dean

  • Idoc to soap sync without bpm. is it possible? Helping me..

    Hi Experts,
    i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
    I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
    if it is possible kindly send me the links
    Regards,
    Kiran polani

    Hi Kiran,
    Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
    ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
    If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
    In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
    This is one possible way for you without BPM in PI7.0.
    Please let me know if you need more details about this.
    Thanks
    Jyothi A

  • Failed to determine receiver - Async to Sync communication

    Hello,
    I have a setup in which IDoc flows from R/3 to XI to destination through HTTP. Being Async to Sync a BPM is put in place. This flow runs fine.
    We tried adding one more receiver to the existing setup. The sender is the same as in the above mentioned flow. The receiver determination is failing. A separate receiver determination was configured for the second flow. The error message is "NO_RECEIVER_CASE_BE". We checked the entire configuration settings. Everything appears fine. Why is the receiver determination failing ? None of the solutions existing provides an answer that works. Any clues ?
    Early answers would be much appreciated.
    Thanks in advance.
    Warm Regards,
    IS / Siva

    In the same receiver determination, with no condition, just add an additional receiver. Create interface determination and receiver agreement for the corresponding receiver. Activate all objects and try again with your input.
    Hope this works..
    Regards,
    Parvathy

  • 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

  • Doubt on Sync-Async  bridge using BPM

    Hi Experts,
                     I had a doubt on Sync-Async  bridge using BPM,
       1. If sender system is SAP system and receiver system is non-sap system then while configuring in Integration Directory how many  Receiver Determinations should be done ?
    2.Plz explain if we have 2 receivers i.e one sender SAP system and 2 non-sap systems then what will be the no. of receiver determinations?
    3.How we have to count no. of receiver determinations if we have 2 receivers and 1 receiver system? If so what is the no. of receiver determinations in case of 1 receiver syst and 2 receiver systems?
    Plz clarify above questions  good answers will be definetly rewarded.
                                                                                    Regards,
                                                                                    Vinod.

    vinod,
    ... Sync-Async bridge and Recievr determination are not related....
    Sync-Async bridge means.. u r sending some request syncronously...and u r expecting the response also in synchronous way... but u r not getting the response  directly...u r getting it via BPM..i.e asynchornously.....
    see here what is the  Use of Synch - Asynch bridge in ccBPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    and here if u have 2 reciver... u have to create 2 receiver determination and ofcourse for BPM one reciver dtrmination is required.... since in BPM related scenario BPM will act as a reciver...BPM(IP) wil first recive the message then it will be forwarded to Receiver system!!! so total 3.
    <b>3.How we have to count no. of receiver determinations if we have 2 receivers and 1 receiver system? If so what is the no. of receiver determinations in case of 1 receiver syst and 2 receiver systems?</b>
    r u telling that u r having two recivers and each receiver is receiving messages using 2 interaces???
    u have 2 use 2 receiver determination and 4 interface determination.
    regards
    biplab

  • Async- Sync without using BPM

    Hi experts,
    could you please suggest if is it possible to implement asyn sync scenario without
    using BPM. If answer is yes then how to go about it
    My Scenario is : File ->RFC ->File
    thanks in advance
    francis

    Hi-
    This thread from Bhavesh is very useful
    File - RFC - File without a BPM - Possible from SP 19.

  • Async-Sync scenario with out using BPM

    Hi All,
    With SP19 we can implement File-RFC-File scenario with out using BPM.
    But can any one suggest how can I implement the following File-RFC-File scenario without using BPM.
    My input file has five elements. A1,A2,A3,A4,A5
    The RFC (BAPI) needs A2 and A3 as input and it produces the output R6.
    Now in the destination I need to populate D1,D2,D3,D4,D5,D6.
    D1 has to be mapped from A1 and so on till fifth element. D6 will be mapped from R6. In order to achieve this we need to store the value of source interface before calling the RFC so that when we get the response back we can populate the entire destination structure.
    Can anyone advise how to go about it. I don't want to use a BPM here.
    Thanks
    Abinash

    Hi
    the following thread may help you
    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
    File - RFC - File without a BPM - Possible from SP 19.
    Thanks,
    Ram

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

    Hi Experts, Just wondering if this scenario is possible? Client Proxy (Async) -> Web Service (Sync) -> Server Proxy (Async) I've read some blogs about the bridge using module processor (RequestResponseBean/ResponseOnewayBean). But usually, I only see the sender being synchronous given that Async cannot be mapped to a Sync interface.The reason behind this scenario is to take advantage of the queueing mechanism of Async and to make the scenario loosely coupled. Do we have other ways to do this without BPM and coding? Thanks in advance.

    Hi Mark
    I think it's possible. You have to use request response bean in the receiver adapter.
    The response bean will trigger a new interface and you have to configure one more ICO to map
    that response to final async server proxy.
    Generic PI Async-Sync Bridge Configuration for Any Adapters
    You have to use virtual receiver for second scenario.

  • Dynamic Receiver Determination [W/O using BPM] Sync interface

    I have been exploring options w.r.t. performance sensitive service interface.
    This has following issues :
    1. Gets a org code looking up instance and route the msg. accordingly to an RFC and get response back.
    2. Prominent answer would be Enhanced receiver determination step but that doesnt work in sync case.
    3. Classic Receiver Determination needs the condition to be evaluated in source msg. which is not going to happen.
    4. Use BPM i designed one but performance its not all acceptable it has a round trip of 10Sec.
    are there any ways to overcome this ?

    Hi Bujji,
    can you explain the point 1.
    <i>1. Gets a org code looking up instance and route the msg. accordingly to an RFC and get response back.</i>
    Thanks and Regards,
    Himadri
    null

  • Sync/Async and Async/Sync Bridge in JMS Adapter

    Hi,
    I have scenarios using both the Sync/Async and the Async/Sync Bridge in the JMS Adapter. In general this works fine. There is just one thing that caught my attention.
    In the Sync/Async Bridge, the correlation in JMS is done
        JMS Message ID of Reqeust --> JMS Correlation ID of Response
    In the Async/Sync Bridge, it is done
        JMS Correlation ID of Request --> JMS Correlation ID of Response
    which seems strange as I would have expected to work the same for both ways...
    I'm following exactly the setup described in the 'How-to correlate JMS' guide.
    Has anybody experienced the same thing or am I missing something important here?
    thanks for your help
    regards,
    Peter

    Hi,
    If I get it right the MQ queue gives a response message back to XI. The message looks okay on MQ queue, but in XI it's empty.
    So I guess the problem must be within the channel that picks it from MQ queue. Did you configure any  modules in it that might screw up the content? Is the the message empty as soon as it arrives in XI adapter engine? Pls. check in RWB Monitoring or End-to-End monitoring.
    Do you have other channels that pick up messages from that or another MQ queue which do not show such an error? Are they configured exactly the same way?
    Regards,
    Kai

Maybe you are looking for

  • Love App Tabs but have several that just show a white page as icon how do I get them to appear as a site logo?

    I love the new App Tabs but have several that when pinned just show a white page as the icon, so you have to mouse over them to figure out which one is which. Example is bankdirect.co.nz. Is there a way of getting the site logo to show up so you can

  • Exporting photos from ipod to pc

    On holiday we used our ipod as a harddrive for our digital camera. Our ipod 5th generation was recently purchased without an instruction manual. Can anyone help us figure out how to export the photos on to our pc??? Thanks

  • Cannot select Airplay Device for Output Audio

    I can't select my chosen AirPlay device for Output Device. It shows up as one of the options in the Sound System Preference, the Sound Selector in the Menu Bar or the AirPlay selector in iTunes (version 11.0.1). But, when I select it, it automaticall

  • Archive The Log When Full Disabled

    Currently I'm having problem in setting up auto archive log for "Applications and Services Logs > Microsoft > Windows > Application Server - Applications > Debug", because the option is disabled (I've disabled the log to setup the properties). Please

  • I have no software iWORK installed in a new one.

    Dear Team, I've just bought a new MacBook Air from the Digital Gateway Branch, a demo stuff with discount price since 2 days ago. I found that there are no iWORK Software installed, as Apple website claimed. So how should i do to get that? Coz i boug