ABAP Code based service implementation
The first OData service implementations used the Service Builder to design the OData Model and a code based implementation of the methods of the data provider extension class. Using the SAP Gateway AddOns this kind of service implementation is available for all SAP Business Suite Releases that run on top of SAP NetWeaver 7.0 SP18 and later.
OData service development with SAP Gateway – code-based service development – Part I
OData service development with SAP Gateway – code-based service development – Part II
How to add annotations to an OData service using code based implementation
How to handle etags in SAP Gateway using code based implementation

