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
- In the Find and Discover Enterprise Services window,
click Execute Query.
- Under Objects Discovered by query, expand RFC or BOR and
select Discover By Name or Discover By Description.
The Filter button is now enabled.
- Click Filter.
Figure 1. Find and Discover Enterprise Services window
- 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.
- Click OK.
- Expand Discover By Name or Discover
By Description (whichever choice you made in the earlier step).
- 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
- Click Add to import list.
- In the Configuration Parameters window, perform
the following tasks for each BAPI to add it to the list of business objects
to be imported:
- 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.
- 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.
- 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.
- Repeat step 9 until you have configured all BAPIs.
- 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)