{"ref":"content:developing-business-services-with-cloud-application-programming-cap-model-in-sap","page":"/content/developing-business-services-with-cloud-application-programming-cap-model-in-sap","json":"/content/developing-business-services-with-cloud-application-programming-cap-model-in-sap.json","generated":"2026-10-27","drafted_with_ai":true,"entity":{"id":"developing-business-services-with-cloud-application-programming-cap-model-in-sap","title":"Developing Business Services with Cloud Application Programming(CAP) Model in SAP Business Studio","url":"https://community.sap.com/t5/technology-blog-posts-by-members/developing-business-services-with-cloud-application-programming-cap-model/ba-p/13432303","content_type":"blog","published_on":"source:sap-community","explains":["capability:data-modelling","capability:authorization"],"summary":"A step-by-step build of a CAP Node.js service in [SAP Business Application Studio](artifact:btp-business-application-studio): a CDS schema for banks, customers, accounts and transactions using compositions, associations, enumerated types and the @assert.unique constraint, followed by authorization layered on with @restrict and @requires annotations and mock users assigned the authenticated-user and Manager roles in .cdsrc.json. Custom event handlers registered through [@sap/cds](artifact:sap-cds) (srv.before/srv.after) and sample HTTP requests round out the example.","author":"Ranjith","published":"2020-05-27","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-10-25"},"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":"poor","evidence":"published 77 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2020-05-27"},{"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":[]}}