See information about the latest product version
Supported data operations on BAPI business objects
The operations that are supported by BAPI business objects are the same as those supported by BAPI work units. BAPI result sets support only the RetrieveAll operation.
For BAPI outbound processing, the operation of a BAPI business object is the name of the BAPI call that an adapter issues on the SAP server. The BAPI method determines the operation that is associated with it. The adapter uses the application-specific information (ASI) inside the business object definition to implement the operation. Operations of a business object are called by the component that makes calls to SAP through the adapter. The SAP JCo APIs are used to make the call to the SAP system.
BAPIs and BAPI unit of work
The following table defines operations that the adapter supports for BAPIs and BAPI work units. The definitions in the table are the expected uses for the operations. The action that is taken in the SAP application is based on the meaning of the BAPI itself.
Operation | Definition |
---|---|
Create | The top-level business object and all contained children are created. |
Update | The top-level business object is modified. This operation can include adding and deleting child objects. |
Delete | The top-level business object and any contained children are deleted. |
Retrieve | The top-level business object and any contained children are retrieved. |
Execute | The top-level business object
and any contained children are executed. Note: This operation is available
only if the Generate BAPIs within Wrappers check
box is cleared. If the Configure Wrapper Business Object
for Selected BAPI check box is selected, other operations,
such as Create, Update, Delete, and Retrieve, are available.
|
For an operation that is not supported, the adapter logs the appropriate error and produces a ResourceException.
Result sets
The following table defines the operation that the adapter supports for BAPI result sets.
Operation | Definition |
---|---|
RetrieveAll | All the matching records for the BAPI result set are retrieved. |