WebSphere Adapter for SAP Software

Configuring the selected objects

To specify which BAPI function you want to call and which data you want to process, you provide information in the enterprise service discovery wizard.

Before you begin

About this task

Steps for this task

  1. In the Find and Discover Enterprise Services window, click Run Query. The objects discovered by the query are grouped into two BAPI categories: RFC and BOR.
  2. Under Objects Discovered by query, expand RFC or BOR and select Discover By Name. The Filter button is now enabled.
  3. Click Filter.
  4. Type a search string (for example, BAPI_CUSTOMER*) representing the BAPI you want to call.

    This is the name of the BAPI in SAP plus an asterisk as a wild card character to indicate that you want a list of all SAP application components that start with the phrase BAPI_CUSTOMER.

  5. Click OK.
  6. Expand Discover By Name.
  7. Navigate to the BAPI you want to use. If you are working with multiple BAPI transactions, click the names of all the BAPIs.
  8. Click Add.
  9. For each BAPI you select, perform the following tasks to add it to the list of business objects to be imported:
    1. Select the Use Field Name to generate attribute(s) check box.
    2. Select the Check if you want to select optional parameters for this interface check box and then select the optional parameters you want included in your business object definition. By default, enterprise service discovery generates the mandatory parameters for the selected BAPI interface, so select this check box to also include the optional parameters.
    3. Click OK.
  10. Repeat step 9 until you have configured all BAPIs.
  11. Click Next to add the BAPI or BAPIs to the list of business objects to be imported.

    If you want to remove an object from the list, select the object name and click Remove.

  12. In the Configure Objects window, type the name of the object location (for example, BODEFS) and the name of the business object.
  13. If you are working with a BAPI transaction, select Create a BAPI transaction object from the selected BAPIs.
  14. Perform one of the following sets of tasks, depending on whether you have selected one BAPI or multiple BAPIs:)
    • If you are working with a single BAPI, select an operation (for example, Retrieve).
    • If you are working with multiple BAPIs, specify the appropriate methods for each of the object’s operations.
      • For the CREATE operation, specify BAPI_CUSTOMERCRM_CREATE.
      • For the UPDATEWITHDELETE operation, specify BAPI_CUSTOMERCRM_CHANGE.
      • For the RETRIEVE operation, specify BAPI_CUSTOMER_GETLIST.
      • For the DELETE operation, specify BAPI_CUSTOMERCRM_DELETE.
    • If you are working with a BAPI transaction, perform the following steps to specify the sequence of BAPIs in the transaction object:
      1. Select a BAPI.
      2. Click Add.
      3. Select COMMIT as needed for the transaction.
      4. Repeat these steps for each BAPI you want to include in the transaction. The list of BAPIs you create must be in the sequence in which they are to be performed within the transaction.
  15. Click Next.

Result

What to do next


Terms of use |

Last updated: Thu 12 Oct 2006 03:34:40

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)