Redefining the APC Implementation Class

This section details about redefining methods in an implementation class of APC.

Context

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 Annotation Provider Class, the generated classes are stored in the Runtime Artifacts folder. Follow the instructions below to extend the extension class.

Procedure

  1. Expand the Project folder in the tree view of the Service Builder.
  2. Navigate to Start of the navigation pathRuntime Artifacts  Next navigation step CL_ProjectName_APC_EXTEnd of the navigation path .
  3. Click (Display-->Change)​​
  4. Right click and select Go to ABAP Workbench. The selected implementation class opens in the Class Builder.
  5. Click the DEFINE_VOCAB_ANNOTATIONS and click Redefine to redefine it: Here is a sample:
  6. Save the changes.
  7. Activate the classes.