OData FW Logo
Definitions

DPC

Definition DPC

Data Provider Class

The DPC is the class responsible for providing the actual data for an OData service. It handles all CRUD operations (Create, Read, Update, Delete) and function imports.

In the OData Framework, each entity gets its own DPC class inheriting from ZCL_ODATA_MAIN. The framework DPC_EXT class delegates to these entity classes automatically via ZCL_ODATA_DATA_PROVIDER.