Data Dictionary-Based Data Model Definition
You can import the following Dictionary structures into the Service Builder:
The Service Builder also enables you to create the following entity types from a data source:
A wizard is provided to guide you through the process.

Entity Type Creation with Wizard
You can use a wizard to create entity types based on existing ABAP structures in an inside-out approach as follows:
Data Model Import
Instead of using data structures that exist in the SAP Business Suite system, it is also possible to import complete OData models that have been designed by OData modeling tools, such as Eclipse or SAP Web IDE, or that have been designed in Microsoft Visual Studio. You can also import complete OData models by importing the $metadata file of an existing OData service.
When performing changes to such a model after it has been imported you can perform a re-import. A wizard will support you when adding and removing elements that have changed in the model.

Runtime Artifacts
To define the Gateway Service, a configuration wrapper is needed around each ABAP class.
A model is a configuration wrapper for the Model Provider Class. A service is a configuration wrapper for the Data Provider Class. The registered service contains the definition for the external name of the Gateway Service. The external name is the name that is seen by the end user, so it should be meaningful.
The Service Builder performs all of these configuration steps for you.

Generating Runtime Artifacts of an OData Service
As discussed in the previous lesson, when generating the runtime artifacts of an OData service, the Service Builder generates the Model Provider classes and Data Provider classes for your service. Furthermore, the Service Builder registers both the model and the service in the SAP backend system.
The Service Builder registers the model under the entered technical model name, whereas the service is registered under the entered technical service Name. The technical service name that you specify here determines the name of the service that is exposed by SAP Gateway.

Generated Model Provider Base Class