IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > SAP Software > Configure the module for deployment > Configure the module for inbound processing > Configure a module for BAPI inbound processing

Configure the selected objects

To configure the object, you specify information about the object (such as the operation associated with the object and the type of remote function call).

If you are sending the function call from a queue on the SAP server (which ensures the order in which BAPIs are delivered), make sure you have configured an outbound queue on the SAP server.

You also need an ABAP program on the SAP server that delivers the BAPI events to the outbound queue.

During configuration of the object, you select which type of remote function call you want to make. You can select Synchronous RFC (the default) or Asynchronous Transactional/Queued RFC.

To configure the business object, use the following procedure.


Procedure

  1. In the Specify Composite Properties window, select an operation for each BAPI you selected in the previous task.

    • If you are working with one BAPI, select an operation for that BAPI from the Operations list.

    • If you are working with multiple BAPIs, select an operation for each BAPI from the list next to the name of the BAPI. Make sure you select one operation for each BAPI.

  2. In the Business object namespace field, use the default namespace (http://www.ibm.com/xmlns/prod/websphere/j2ca/sap) except in the following circumstance. If you are adding the business object to an existing module and the module already includes that business object (from an earlier run of the external service wizard), change the namespace value.

    For example, you could change the namespace to http://www.ibm.com/xmlns/prod/websphere/j2ca/sap1.

  3. To indicate where the business object information should be stored, type the path to the location in the Folder field. This is an optional step.

    The above two fields cannot be edited if you are modifying existing artifacts.

    If you are creating multiple adapter artifacts within a module, ensure that you specify different business object folders for each adapter within the module.

    For example, if you are creating artifacts for Oracle, JDBC, SAP, and JDE within a module, you need to create different relative folders for each of these adapters. If you do not specify different relative folders, the existing artifacts are overwritten when you generate new artifacts.

  4. If you want the BAPI or BAPIs to be enclosed within a business graph, leave Generate a business graph for each business object selected. Otherwise, remove the check.

  5. Select the type of remote function call you want to make.

    If you do not select a type of remote function call, the default (Synchronous RFC) is used. In Synchronous RFC, the SAP server sends the BAPI and then waits for the response from the endpoint.

    1. Select the arrow next to the SAP Remote Function Call (RFC) type list.

      Figure 1. SAP Remote Function Call (RFC) type list

    2. Select one of the RFC types:

      • Select Asynchronous Transactional/Queued RFC when you are sending the function call from a queue on the SAP server or if you want the call to succeed regardless of whether the receiving system (the endpoint) is available.

        • If the adapter is available, the call succeeds.

        • If the adapter is not available, the SAP server continues to attempt to make the call until the adapter is available. The SAP system ensures that the call is invoked only once. A transaction ID (TID) is associated with the BAPI.

      • Select Synchronous RFC (the default) if you want the BAPI sent in a synchronous manner (the SAP server sends the BAPI and then waits for the response from the endpoint). If that the endpoint must be available when you use Synchronous RFC.

      This field cannot be edited if you are modifying existing artifacts.

  6. Click Next.


Results

You selected an operation for each BAPI. The Specify the Service Generation and Deployment Properties window is displayed.


What to do next

Generate a deployable module that includes the adapter and the business object.

Configure a module for BAPI inbound processing


Previous topic: Selecting business objects and services for BAPI inbound processing


Next topic: Setting deployment properties and generating the service