{"ref":"content:capm-basics-part-4","page":"/content/capm-basics-part-4","json":"/content/capm-basics-part-4.json","generated":"2026-10-27","drafted_with_ai":true,"entity":{"id":"capm-basics-part-4","title":"CAPM Basics - Part 4","url":"https://community.sap.com/t5/technology-blog-posts-by-members/capm-basics-part-4/ba-p/14097909","content_type":"blog","published_on":"source:sap-community","explains":["capability:local-development","capability:authorization","capability:fiori-annotations","capability:generators","capability:deployment"],"summary":"Part 4 of a CAPM Basics series binds the deployed XSUAA and [SAP HANA Cloud](artifact:btp-hana-cloud) service instances with `cds bind` and runs the project against them from a laptop via `cds watch --profile hybrid`, the hybrid-testing loop [@sap/cds-dk](artifact:sap-cds-dk) provides. It then restricts the service with `@restrict` (READ granted to a Viewer role, full access to Admin) and adds OData Capabilities restrictions plus `@odata.draft.enabled` so a Fiori elements client renders create, update and delete without UI code. It closes by adding a UI module with the [SAP Fiori Generator](artifact:sap-generator-fiori), wiring an [approuter](artifact:sap-approuter) via `cds add approuter` to forward the auth token, and updating the [SAP Authorization and Trust Management service](artifact:btp-authorization-and-trust-management) instance with the generated redirect URI before redeploying.","author":"archisman92","published":"2025-05-10","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-10-26"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 17 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-05-10"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[]}}