Show TOC

Service ImplementationLocate this document in the navigation structure

Introduction
The Service Implementation contains the references to the operations and the methods for the service. It is a sub tree containing the runtime aspects of the service as reflected in the Data Provider Class.
Note This Document is applicable only for the projects of type Service with SAP Annotations and Service with Vocabulary-Based Annotations.
The sub tree consists of the following:
  • <Entity Set Name >: The actual name of an entity set object that already exists in the Entity Set folder under the data model folder of the project. You cannot edit, add, delete, or change any actual entity set contained in this Entity Set folder, as it is reflected from the data model folder. Right click the folder to do the following:
    • Display: Switches between the ready-only and edit mode for the Service Builder.
    • Change: Switches between the ready-only and edit mode for the Service Builder.
    • Details: The Service Entity Set table displays in the view on the right hand side. It has the following columns:
      • Service Entity Set: Displays the names of all the entity sets for the service in the Service Implementation folder.
      • Model Entity Set: Displays the names of all the entity sets for the model in the Service Implementation folder.
      In addition, the selected entity set in the project tree expands to display the default set of operations. Each entity set entry contains a default set of CRUD and query operations. The following are the operations:
      • Create
      • Delete
      • GetEntity (Read)
      • GetEntitySet (Query)
      • Update
      You can select and right click an operation related to an entity set to do the following:
      • Display: Switches between the ready-only and edit mode for the Service Builder.
      • Change: Switches between the ready-only and edit mode for the Service Builder.
      • Map to Data Source: Opens the Map to Data Source dialog in which you map the selected operation to a data source.
      • Go to ABAP WorkBench: Opens the Class Builder to display the selected method.
      • Details: Choose Details to display information about the selected operation. Alternatively, double click the operation to display the following details in the table view:
        • Operation Name : Displays the default operations. These are Create, GetEntity (Read), Update, Delete, and GetEntitySet (Query).
        • Data Source Group: Displays the name of the group object to which the data source for the entity set belongs. For the Remote Function Call (RFC) data source type, the function group of the data source displays. For Business Object Repository (BOR) data source type, the Business object of the data source displays.
        • Data Source Name: Displays the name of the data source as specified in the mapping.
        • Data Source Type: Displays the name of the data source type that you select for the mapping. The following are the Data Source Types:
          • Remote Function Call (RFC)
          • Business Object Repository (BOR)
        • RFC Destination: Displays the RFC destination as specified in the mapping. When you choose Local data source, the field is not available for editing.
        • Implementation Class: Displays the name of the generated data provider class (DPC) extension. If the DPC class has been redefined, it displays the name as a linked text that opens the redefined class in the ABAP WorkBench, when selected.
        • Method Name: Displays the name of the implementation method in the DPC class. If the method has been redefined, it is displayed as a linked text that opens the implemented method when selected.
        • Mapping Link: Text that is enabled as a link only if the operation contains a mapping. When selected, it opens the Mapping UI for the operation for making changes.
Double click the Service Implementation folder to expand or collapse it. Right click the folder to do the following:
  • Display: Switches between the ready-only and edit mode for the Service Builder.
  • Change: Switches between the ready-only and edit mode for the Service Builder.
  • Check Consistency: Checks the folder for errors.
  • Details: When selected, the Details dialog opens to show the Description, Technical Service Name, Version, and Lead DPC extension class for the service.