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).
Before you begin
Make sure you have selected and imported the BAPI
functions.
About this task
To configure the business object, use the following procedure.
Procedure
- In the Specify Composite Properties window,
select a name for the top-level business object.
- Associate an operation with each BAPI and specify the
order in which the BAPIs should be processed:
- Click Add, select an operation
(for example, Create), and click OK.
- 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.
- For each subsequent BAPI in the transaction, click Add,
select the BAPI, and click OK.
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.