When you create business objects, you can modify their operations.
The operations createMultiple, updateMultiple, and deleteMultiple are called multiple (bulk) operations. They perform the same function as their single counterparts (create, update, delete) but on a collection of instances of the business object node. We recommend that you use these operations whenever you need to create, update, or delete more than one instance at a time because of their improved performance (as compared to calling the single operations many times).
Note that there is no readMultiple operation. You have to use query operations for that purpose.
If your business object does not have multiple operations, that means it has been created with an old version of SAP NetWeaver. You may add the multiple operations by using the context menu Add multiple operations on the business object node in the Project Explorer view.
For new business objects, the operation list contains the default CRUD operations. You cannot modify the default operations.
You can create only query operations. Query operations return a collection of instances of the business object based on some query filters over the attribute values of the business object structure.
Field or Property | Description |
---|---|
Name |
Name of the operation |
Description |
Description of the operation |
Parameters |
Navigate to and select the attributes for the input parameters of the operation. You can enable the following checkboxes:
|
To modify the business objects operation, you can change the Select and Multiple checkboxes in the operation input described in the previous step.
You can do the following with the service operations you have modeled: