OData Channel implementations retrieve the data from an SAP Business Suite system, that is, a backend system. For this you first have to define a service in the backend system. Models and services have to be registered.
You can maintain these settings in IMG activities. In transaction SPRO open the SAP Reference IMG and navigate to and Maintain Services.
In these activities you can create you own service by specifying the model name and the model provider class (MPC). In the second activity you specify the service name and the corresponding data provider class (DPC), and then you can assign the model. For more information, see the documentation of the IMG activities.
In transaction SPRO open the SAP Reference IMG and navigate to .
You can register for a service that it extends an existing service. OData requests for the original, extended service will then be processed by the new, extending service. So while the endpoint (URL) remains the same the original service is replaced with another service extending it.
When changing a service an additional section Extension for Service is available with the fields Technical Service Name and Service Version.
It is possible to register more than one service to extend the same service.
The runtime also provides a BAdI to overwrite the default runtime determination process. This overwriting is possible via enhancement spot /IWBEP/ES_MGW_MED_SER_EXT.
The algorithm described above is the default implementation of the BADI (class /IWBEP/CL_MGW_MED_SER_EXT_BADI).