(is) Demonstration on Using SYNC-ASYNC Bridge in BPM

Embed Size (px)

Citation preview

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    1/22

    Demonstration on using SYNC/ASYNC Bridge in BPM

    By M.Leela Ratnam, Satyam Computers

    We will design and configure a BPM scenario using Asynchronous/Synchronous Bridge, i.e. we will send a

    message to XI using a Web service Client and XI will in turn make a synchronous BAPI call to an SAP ERPsystem and then route the response to the Web service Client. In our scenario both sender and receiver aresynchronous applications. BPM was required as the response was also being routed to a legacy system. Bythis scenario you will know how to use S/A Bridge in BPM and how to execute the scenario using MicrosoftInfo Path.

    We will use the RFC function module BAPI_MATERIAL_EXISTENCECHECK in this scenario. The requestmessage would contain the Material name and the response message would return the correspondingdetails of the Material like Type, ID, Number, and Message. A file containing request message would bepicked by XI, then the response will be synchronously received from the SAP ERP system and the same willbe routed the target system.

    INTEGRATION REPOSITORY:

    Import the BAPI_MATERIAL_EXISTENCECHECK from R/3 System

    DATA TYPES:

    Create Request data type.

    Create Response data type.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    2/22

    MESSAGE TYPES:

    Create Request Message Type.

    Create Response Message Type.

    MESSAGE INTERFACES:

    Create outbound synchronous interface.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    3/22

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    4/22

    Create Abstract BAPI Request interface.

    Create Abstract BAPI Response Interface.

    Create Abstract Synchronous BAPI Interface.

    MESSAGE MAPPINGS:

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    5/22

    Create Request Mapping.

    Create Response Mapping

    Click here to continue ...

    http://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page2.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page2.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page2.htm
  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    6/22

    Demonstration on using SYNC/ASYNC Bridge in BPM

    ...Previous

    INTERFACE MAPPINGS:

    Create Request Interface Mapping

    Create Response Mapping

    http://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page1.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page1.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page1.htm
  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    7/22

    INTEGRATION PROCESS:

    Graphical flow Diagram:

    Container Elements:

    Properties:

    Receive Step Transformation1 step

    Send Synchronous step Transformation2 step

    Send (closes bridge)

    The Receive step receives the Soap Request, which is synchronous interface. It opens the S/A Bridge.

    In the Synchronous send step, BPM sends request to the R3 system and gets response back.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    8/22

    In the last send, the response is sent back to the Web service client. (Closes S/A Bridge.)

    INTEGRATION DIRECTORY:

    Business Services:

    Create the Business Service for Sender.

    Create Business service for the BAPI.

    Import the Integration process which you have created in the Integration Repository.

    Communication Channels:

    Create the sender communication channel

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    9/22

    Create the BAPI Receiver Communication Channel.

    Sender Agreement:

    Create the sender agreement.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    10/22

    Click here to continue. ..

    http://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page3.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page3.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page3.htm
  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    11/22

    Demonstration on using SYNC/ASYNC Bridge in BPM

    ...Previous

    Receiver Determination:

    Create Receiver determination from the Sender service to the Integration Process.

    Create the Receiver Determination from the Integration process to the Receiver Service.

    http://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page2.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page2.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page2.htm
  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    12/22

    Interface Determinations:

    Create the Interface determination from the sender service to the Integration Process.

    Create the interface determination from the Integration process to the receiver service.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    13/22

    Receiver Agreement: Create the Receiver Agreement for the BAPI Receiver.

    Activate all the objects.

    Generate the wsdl file.

    Select Tool---Define Web service

    Click on propose URL

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    14/22

    Select the Request message Synchronous interface.

    Enter the Sender service, interface name and namespace.

    Then it will display the overview. Click Finish.

    Save the wsdl file.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    15/22

    Click here to continue ...

    http://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page4.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page4.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page4.htm
  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    16/22

    Demonstration on using SYNC/ASYNC Bridge in BPM

    ...Previous

    Executing wsdl using Microsoft InfoPath.

    Click on the design a from template

    Select the Web service icon and click ok

    Select the radio button receive and submit data and click on next.

    http://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page3.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page3.htmhttp://www.saptechnical.com/Tutorials/XI/SYNCASYNC/Page3.htm
  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    17/22

    Enter the path of the generated wsdl which u have saved and click next.

    Select the interface and click next

    Click next

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    18/22

    Click next

    Select the interface and click next.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    19/22

    Double click on parameters.

    Double click on the parameter (material). Then click on the query field and click ok.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    20/22

    Click next. And click Finish

    Now drag the query fields on the data fields to the left side. And click preview.

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    21/22

    OUTPUT

    SXMB_MONI

  • 8/10/2019 (is) Demonstration on Using SYNC-ASYNC Bridge in BPM

    22/22

    Graphical workflow log.