如何基于SAP CDS view创建OData服务
you should have a working CDS view. Refer to this link about how to create CDS view.
Just add one annotation and re-activate your view:
Take my view for example, the following artifacts are automatically generated during activation.
The MPC class:
After activation you can register the created odata service via tcode /IWFND/MAINT_SERVICE.
Once done, you c