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

Similar Messages

  • How to implement Sync-Sync scenario in BPM? Please help!

    Hi Experts,
       I have a Sync-Sync scenario (SOAP - RFC) where both sender as well as receiver are synchronous.
       I have created outbound sender sync interface, abstract sender sync interface, Receiver abstract sync interface and Receiver inbound sync interface.
      In BPM I have started with Receive step.
      But in receive step I can give either Async Abstract interface or Open Sync-Async bridge. I am confused!
      How to implement my scenario in BPM?
      It will be really great if somebody can send me the step by step info or doc.
    Thanks & Regards,
    Gopal

    Hi,
    Refer this link
    use synchronous send step in your BPM - http://help.sap.com/saphelp_nw04/helpdata/en/43/6211331c895f6ce10000000a1553f6/content.htm
    RFC Scenario using BPM --Starter Kit
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    regards
    Aashish Sinha
    PS : reward points if helpful

  • 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

  • File to SOAP Scenario Using BPM

    Hi,
    I am doing File to SOAP scenario using BPM.
    while doing Integration Process in IR, i got the following error message
    "Expression of simple type xsd:string expected"
    But i have given xsd:string in the correlation element as well as in Data types.
    I dont know why it is getting the error.
    could you anyone please help me to sort out?
    Regards,
    Sai Ch.

    Hey,
    Check in the correlation editor, where you define the condition.
    Whether the data type of the XPath is string and whether it matches with the data type of the messages that you have selected.also make sure the type of the correlation variable is string.
    regards,
       Milan

  • File to RFC scenario using BPM : a synchronous one

    Hi All
    I am doing File>RFC>File scenario using BPM with help of the blog
    RFC Scenario using BPM --Starter Kit
    here everything is explained but i am getting error while the processing of BPM part
    Input file is being picked (this part is success) but rest BPM and response i am not getting back in .
    interface names
    filereq_MI >Filetoabstract_MI>Sync_MI>RFCtoabstract_MI>Fileres_MI
    (abstract means its an abstract interface)
    i have configuered the Integration process as follows
    Start>Recieve>synch_send>send>end
    step :  Recieve
    mode : asynch
    message:Filetoabstract_MI
    step :  synch_send
    mode : synch
    synch interface : synch_send
    req message:Filetoabstract_MI
    res message : RFCtoabstract_MI
    step :  send
    mode : asynch
    message:RFCtoabstract_MI
    and i have given interface mapping during second (synch_send) step but here mapping is giving problem its showing exception error during mapping
    error is there
    1) Integration process ---> file
    2) Integration process-->R/3 system

    Hi,
    Configure the Integration Engine According to this Blog and Trigger the Process again
    Configuration of a Central Integration Server
    Regards
    Seshagiri

  • File to IDOC Scenario using BPM

    Hi Experts,
        I am working on file-Bapi-Idoc scenario using BPM.
        I have two conditions
    1. If the Sonumber is populated then need trigger an Bapi_change
    2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
    and the response of these BAPIs should be validated whether the Bapi is successful or not.
    If it is successful message then need to trigger IDOC or else should throw an alert message.
    let me know the steps involved in this scenario.
    can i send alert message to other email IDs or can i send it to only XI admin?
    Please let me know u r inputs.
    Thanks in advance
    Praveen

    Hey,
    You need to have a BPM for this.
    BPM design.
    Recieve step(abstract asynchronous) for file structure
    Switch Case(condition whether sonumber is populated or not) 
    if populated
    Branch 1(of switch)
        transforamtion step:- mapping between File and Bapi_Change(Request structure)
      Send step(abstract syncronous) To send the BAPI_change
    Branch 2(of switch)
    transformation step:-mapping between file and BApi_Create
    Send step(abstract synchronous) To send the BAPI_Create
    Block step(which will include the Switch step)
        trigger an Execption in case of an error(in any of the two branches) through the block
        The Exception will trigger an alert.
    Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
    Next is the send step(abstract asynchronous) for the idoc
    In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
    rewards points if useful
    regards,
          Milan

  • Integrtion Scenario using BPM with two sender and multiple receiver

    integrtion Scenario using BPM with two sender and multiple receiver
    How many Application Components are required?

    Hi Vinod,
    1) In integration repository you can have one or many software components it depends on your landscape orchestration
    2) In integration direcory you need at least one service for bpm and one or many for each system in your bpm
    also each connection between systems and bpm must have receiver determination and so on.
    Advice: Please treat BPM as a separate system.
    best,
    Wojciech

  • Could any one provide me with the links of file to file scenario using BPM

    Could any one provide me with the links of file to file scenario using BPM

    Hi,
    omit RFC part
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Blogg RFC scenario using BPM - starter kit (more detail on BPM required)

    I follow this blog to the letter - because it is the same as my scenario:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    The problem is I have no experience with BPM. I have setup the Integration process as I think it should be but I get an error.
    Could one of you experts go through the BPM steps in more detail? Screen shots/details of the properties and containers on each step would be very useful. Thanks.

    Hi Lynn!!
    Check this SAP help for certain requirements when to use BPM:
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/content.htm
    Take a look at this blog by Michal,
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    /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 BPM
    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 BPM
    Check this weblog for a step by step procedure:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    or case study go thru this blog:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    for checklist:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    Take a look at this blog for some very good guidelines on when to use BPM's and when not to use BPM,
    /people/swen.conrad/blog/2006/12/22/xi-ccbpm-performance-under-perform-or-out-perform
    Thanks !!
    Pls reward if useful

  • RFC Scenario using BPM

    I did whatever mentioned in that blog(/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit). Also I do have some experience in BPM.
    After testing I don't see the file inthe outbound directory. So I started analysing from all sides.
    1. First checked the message in my sxi_monitor, it black and white flag showed that the message processed successfully.
    2. I opened the message and saw the message from CENTRAL Client passed to PE ADAPTER Client with tooltip showing "Transfer to Process engine".
    1. First I checked whether my BPM is correct by pressing F7. There is no syntax error.
    2. I checked in sx_cache, the ReturnCode was 0.
    3. In smq2 I saw a message stuck in the PE queue. I double clicked the queue and saw the status text as "Permanent error in BPE inbound processing".  So I kept debugging by pressing F8 and after that the message got disappeared.
    4. I opened the message in sxi_monitor, and after the CENTRAL Client the message passed to PE ADAPTER, which measn the meesage has got transferred to process engine. But i'm not seeing any change in the file.
    5. Also what I      did was use transaction SXMB_MONI and chose process radio button and execute. Located my message but there is no task value which starts with 'WS..' in Process def column.
    Can you please pinpoint where i went wrong and anything else?
    One more thing, everytime i test the new file the file goes and gets stuck in the queue and I have got to follow the item 3 mentioned above.
    Thanks,

    Hi Kishore,  The second block is a synchronous send block in the BPM triggers the call to RFC.  I've done it as per the blog.  There is no transformation step in the BPM.  Anyway I fixed the issue. In the receive block whatever container value I used should be used in the send block also. Earlier I was getting some warning. Now my BPM is clean and it worked.
    Lesson learnt: Ensure there is no warning in the BPM. Thanks again Kishore.
    Thanks,
    Edited by: XISearch on Apr 29, 2011 5:20 AM
    Edited by: XISearch on Apr 29, 2011 5:24 AM
    Edited by: XISearch on Apr 29, 2011 5:24 AM
    Edited by: XISearch on Apr 29, 2011 5:25 AM

  • Async to sync to async across different SWCV using BPM

    I have inherited some scenarios and incomplete config...  the more i dig the more i find....
    i think I have a SAP proxy -> web (sync) -> mail adapter scenario.
    i have created the SWCV for the web, the Proxy is using SAP Standard ERECRUIT objects (aysnc) and i guess i need to use a BPM to link the async -> sync -> async.
    however, i cannot use the object from the ERECRUIT object in my BPM...  :o(  i have tried... it is not allowing me...
    the service interface is not abstract... i cannot create an abstract version of the SI in my namespace and use it...  as it can only access the DT and External Definitions within the SWCV...
    would it be best to map the SAP structure to a custom copy of the SAP Structure within my namespace then proceed with the BPM?
    what would be best practice for this???  has anyone else come across a similar scenario?  is BPM the answer???
    i have been looking at this blog and it looks the way to go...
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    i am using rules to determine where the message should be routed too in the receiver, but i get the feeling this will have be implemented for all messages once i get the first working...  the process will probably be the same, jsut the final Web destination will be different....

    for the BPM, you can only access service interface in the same SWCV as of the BPM.

  • Stuck in BPM Transformation process Async to Sync Scenario

    Hi there im building up a   R/3 ---> Idoc PI -
    >Soap  3rd Party   Async/Sync Scenario,
    on the integration process window i drag a transformation box to change my input idoc to the structure the Webservice needs, but i cant import it, i tried to make a new one using the abstract interfaces im using but it tells me i cant transform an Async Interface ( Idoc ) to an Sync Interface ( Webservice ), any sugestions?, i can provide everything i have done up to date regarding interfaces mappings and stuff if needed, thx!!!,
    Roberto.

    but it tells me i cant transform an Async Interface ( Idoc ) to an Sync Interface ( Webservice ), any sugestions
    You cannot perform a mapping between an Async MI and a Sync MI....not only for a BPM but even in general
    Your BPM should have below steps:
    Receive(IDOC)-> Transformation(IDOC_to_SOAPReq...both Async)-> SyncSend(SOAPReq and SOAPResp Messages)
    You need below Container elements in your BPM:
    1 for receiving the IDOC
    1 for the SOAPReq message
    1 for the SOAPResp message
    You cannot have a Container element for Sync Interface.....you include the ABS Sync MI directly in the SyncSend step and then will get Request and Response fields (automatically)....here specify the SOAPReq and SOAPResp Container elements.......
    Your Interface Mapping will be between MI_IDOC_ABS and MI_SOAPReq_ABS......and then you can inlcude this in the Transformation step
    Just a question to ask....what are you going to do once you receive the SOAPResp message?
    Regards,
    Abhishek.

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

  • Help SOAP to RFC Scenario using BPM (Synchronous communication)

    Hi,
    I am doing a scenario from SOAP to RFC scenario(Synchronous communication).  Here I am creating a PM Notification in the SAP system through a webservice. 
    I am using three BAPI'S here,
    1. BAPI_ALM_NOTIF_CREATE 
    2. BAPI_ALM_NOTIF_SAVE
    3. BAPI_TRANSACTION_COMMIT
    I am successful in calling the first BAPI from the Web Service.  For this I have not used BPM.  But to commit the transaction(PM notification in this case), I have to execute the other two BAPI's as well.  I have to pass the output of first BAPI to the second BAPI and then execute the 2nd BAPI.  And finally have to execute the 3rd BAPI.     FYI, 3rd BAPI is not dependent on any output.  It has to be executed independently after execution of the first two BAPI's.
    How can I execute this scenario?  Do I have  to use BPM?  If yes please let me know the steps in detail.  I have not done any BPM scenario till now.  So please answer me in detail.
    Thanks in Advance,
    Vijay
    p.s. reward points are must

    Hi Vijay,
    Yes, You will indeed need a BPM in this case...
    Based on my understanding of the Scenario u have explained, here are the steps that would be needed.
    1. Receive With the Sync-Async Bridge open.
    2. Transformation Step (Between the source Request and The BAPI_ALM_NOTIF_CREATE Request)
    3. Send Synchronous
    4. Fork
    5. In one Branch of the fork - Transformation (Between the BAPI_ALM_NOTIF_CREATE Response and API_ALM_NOTIF_SAVE Request)
    6. In the other branch of the fork - Transformation (Between a Dummy Source and the BAPI_TRANSACTION_COMMIT Request)
    7. Send Synchronous (to make the 2nd BAPI Call)
    6. Transformation ( BAPI_ALM_NOTIF_SAVE Response and the source Response)
    7. Send Asynchronous (to make the 3rd BAPI call)
    8. Send the Source Response and close the Sync-Async Bridge.
    There might be alternative ways also of doing it...
    Also a better design would be to take care of the 2nd and the 3rd BAPI call within the code of the 1st RFC Function Module.
    Regards,
    Abhy Thomas

  • Async to Sync Scenario

    Hi Experts,
    I am doing async JDBC to sync webservice scenario.
    I did create async interface for JDBC and sync interface for webservice.
    my scenario is i just want to see the response from webservice in XI for trouble shoot, i dont need to send the response message to database.
    can anyone tell me how can we do it without using BPM (async to sync bridge).
    Kind Regards,
    kiran

    Hi
    Please go through below steps now
    I have added the comments with same in bold font
    Data Types: JDBC_DT,File_DT
    Message Types: JDBC_MT,File_MT
    Message Interfaces:
    JDBC_OUT_MI(outbound,async),This should be Sync given MT_File as respo
    File_MI(inbound,async), Dont use this
    WS_IN_MI(inbound,sync,input=WS_req,output=WS_resp)
    WS_resp_MI(outbound,async,WS_resp), -----No need of this
    Message Mappings:
    JDBC_WS_req_MM
    (JDBC_OUT(JDBC_MT)------->WS_IN_MI(WS_req) ).
    *Here WS_IN_MM msg. mapping should be used insted of*
    *WS_IN_MI i.e message interface*
    *WS_File_Res_MM*
    (WS_Res(Source -- Ws_res) ---> File_MT)
    Interface Mapping: JDBC_WS_req_IM(source=JDBC_OUT_MI,target=WS_IN_MI)
    In IM you need to use the above one only
    Here you have two tabs as Request & Response, Request will be normal as
    it is JDBC_MT to WS_Req with proper mapping
    *In Response use File_MT <--- Ws_RES with appropriate mapping *
    For ID configuration refer below sample scenario,
    It is File1 to RFC to File2- Just in your scenario it is JDBC>WS--->File2
    So refer and do necessary changes
    From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.
    Steps:
    Integration Repository
    The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.
    Integration Directory
    This is where a few differences lie, so let me take some time.
    1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.
    2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.
    3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.
    4. We need to add a few modules in the Sender File Adapter.
    Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,
    Number - ModuleName - Type - ModuleKey
    code1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
    2- CallSapAdapter-Local Enterprise Bean - 2
    3-AF_Modules/ResponseOnewayBean-3[/code]
    Parameters
    ModuleKey - ParameterName - ParameterValue
    code1 - passThrough - true
    3-receiverChannel - Receiver File Adapter Name
    3-receiverService - Receiver Business Service/ System[/code]
    With this configuration, you can now handle the requirement without a BPM
    This feature been already blogged for JMS Adapters in these blogs ,
    Sync/Async communication in JMS adapter without BPM (SP19)
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    Dynamic Configuration is also possible,and this as well as many other options are discussed in the How To guide - "How To Realize a sync-async and async-sync
    bridge within the Adapter Framework" available on the Service Market Place.
    For info on the Modules used here, look into these links,
    Request Response Bean
    http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/content.htm
    Response Oneway Bean
    http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm
    Hope this info helps,
    Thanks
    Swarup

Maybe you are looking for