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 outbound processing > Configure a module for the BAPI work unit interface

Configure BAPI work unit objects

To configure a BAPI work unit business object, you specify information about the object (such as the name of the object, the operations associated with the BAPIs in the work unit, and the sequence in which you want the BAPIs to be processed).

Make sure you have selected and imported the BAPI functions.

To configure the business object, use the following procedure.


Procedure

  1. In the Specify Composite Properties window, select a name for the top-level business object.

  2. Associate an operation with each BAPI and specify the order in which the BAPIs should be processed:

    1. Click Add, select an operation (for example, Create), and click OK.

    2. In the Sequence of RFC functions for the selected operation section of the window, indicate the order in which the BAPIs should be processed by clicking Add, selecting the BAPI that should be processed first, and clicking OK.

    3. For each subsequent BAPI in the transaction, click Add, select the BAPI, and click OK.

    4. After you have added all the BAPIs, click Add, select COMMIT, and click OK.

      Figure 1. The Specify Composite Properties window after you have selected the BAPIs and the COMMIT operation

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

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

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

  6. If you want to continue to process a BAPI even if the BAPI return object contains errors, select the Ignore errors in BAPI Return object check box.

  7. Adapter uses BAPI_TRANSACTION_COMMIT functional module to call the commit on to SAP. If you want BAPI_TRANSACTION_COMMIT function call to wait until all the time-critical (V1) updates are completed, select the Use wait parameter before calling BAPI commit check box.

  8. Click Finish.


Results

You specified a name for the top-level business object and selected an operation for the BAPIs. You also established the order of processing for the BAPIs. The Service Generation and Deployment Configuration window is displayed.


What to do next

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

Configure a module for the BAPI work unit interface


Next topic: Setting deployment properties and generating the service