WebSphere Adapter for SAP Software

Selecting business objects and services

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

Make sure you have set the connection properties for enterprise service discovery.

About this task

Specify search criteria that the enterprise service discovery wizard uses to discover BAPI functions on the SAP server. The enterprise service discovery wizard returns a list of BAPI functions that meet the search criteria.

To specify the search criteria and select one or more BAPI functions, use the following procedure.

How to perform this task

  1. In the Find and Discover Enterprise Services window, click Execute Query.
  2. Under Objects Discovered by query, expand RFC or BOR and select Discover By Name or Discover By Description.

    The Filter button is now enabled.

  3. Click Filter.
    Figure 1. Find and Discover Enterprise Services window
    A screen capture of the Filter Properties for Discovery by Name window, which is displayed when the Filter button is clicked on the Find and Discover Enterprise Services window.
  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 or Discover By Description (whichever choice you made in the earlier step).
  7. Click the BAPI you want to use. If you are working with multiple BAPI transactions, click the names of all the BAPIs.
    Figure 2. Objects discovered by query
    A screen capture of the Find and Discover Enterprise Services window, showing the objects that match the search criteria of BAPI_CUSTOMER*.
  8. Click Add to import list.
  9. In the Configuration Parameters window, perform the following tasks for each BAPI to add it to the list of business objects to be imported:
    1. Optionally select the Use Field Name to generate attribute(s) check box. By default (when the check box is not selected), the field descriptions are used to generate attributes.
    2. If the BAPI has optional parameters associated with it, 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 all the parameters required for the selected BAPI interface, so select this check box and then clear the check boxes for any parameters you do not want to include in your business object.

      For example, if you are adding the CUSTOMER_CHANGEFROMDATA BAPI, you have the option of adding the following parameters:
      • PI_DIVISION
      • PI_DISTR_CHAN

      Refer to the SAP documentation for a list and description of the optional parameters.

    3. Click OK to add the BAPI 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.

  10. Repeat step 9 until you have configured all BAPIs.
  11. Click Next

Result

The enterprise service discovery wizard has returned the function or functions that match the search criteria, and you have selected the function or functions you want to work with.

What to do next

Specify a name for the business object and the directory to which it should be stored.

Terms of use |

Last updated: Mon 30 Oct 2006 03:34:56

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