The Service Builder generates an Implementation class along with the base class for every model. It is proposed to extend this class manually to suit your needs.
After generating the Model Provider Class the generated classes are stored in the Runtime Artifacts folder.
Follow the instructions provided in this section to extend the extension class.
To redefine the methods in an implementation class, proceed as follows:
Expand the Project folder in the tree view of the Service Builder.
Click to switch to edit mode.
Right click and select Go to ABAP Workbench.
The selected implementation class opens in the Class Builder.
Click the Define Method and choose the redefine button to redefine it: Here is a sample:
super->define( ). <<Code for modifying the model - can use code patterns available>> Endmethod.
Save the changes.