Adding Application Service
Operations
You can add, edit, or delete an operation used in the modeling of application services. Predefined operations cannot be edited or deleted.
...
1. In the Operations tab page of an application service, choose Add from the Operations window.
The New Operation wizard opens.
2. Select an operation type based on one of the following below:
Type: Custom (default)
a. Enter the following values:
§ Name
§ Description
§ Transaction Type – whether an Application Server (AS) Java transaction is required for the execution of the application service operation. Mandatory means the transaction is required. Optional means the transaction is supported
§ Permission Check – select Enabled or Disabled. If you choose permission checks enabled for a particular application service operation this gives you the opportunity to add static checks for it declaratively.
b. Choose Finish.
Type: Access
a. Select the CRUD operation you want as an operation. Multiple selections are permitted.
b. Enter the following values:
§ Description
§ Permission Check – select Enabled or Disabled.
c. Specify the data structure from the catalog list.
d. If you also selected “create”, choose Next and select the attributes to be used in the create operation.
e. Choose Finish.
Type: Query
a. Enter the following values:
§ Name
§ Description
§ Permission Check – select Enabled or Disabled.
b. Specify the data structure from the catalog list.
c. Choose Next and select the attributes to be used in the query operation.
d. Choose Finish.
Type: BW Extractor
a. Enter the following values:
§ Name
§ Description
§ Permission Check – select Enabled or Disabled.
b. Specify the data structure from the catalog list.
Data structures for the output can either be selected from the repository or created at this step. The data structure needs to have a default attribute called “record type” of type com.sap.caf.core.RecordType. This attribute will be used to mark a record if it was created, updated, or deleted.
c. Choose Next and select the attributes to be used in the BW Extractor operation.
d. Choose Finish.
2. The new operation appears in the Operations window.