{"ref":"content:surviving-and-thriving-with-the-sap-cloud-application-programming-model-local-de","page":"/content/surviving-and-thriving-with-the-sap-cloud-application-programming-model-local-de","json":"/content/surviving-and-thriving-with-the-sap-cloud-application-programming-model-local-de.json","generated":"2026-10-30","drafted_with_ai":true,"entity":{"id":"surviving-and-thriving-with-the-sap-cloud-application-programming-model-local-de","title":"Surviving and Thriving with the SAP Cloud Application Programming Model: Local development hurdles","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/surviving-and-thriving-with-the-sap-cloud-application-programming-model/ba-p/13553555","content_type":"blog","explains":[{"ref":"capability:local-development","applies_to":{"ecosystems":["cap"]}},{"ref":"capability:destinations","applies_to":{"ecosystems":["btp","cap"]}},{"ref":"capability:debugging","applies_to":{"ecosystems":["cap"]}}],"summary":"Three hurdles in running a [CAP](artifact:sap-cds) application locally: services mocked with `cds run --with-mocks` return no data across OData associations until the `ON` clause is hand-written into the imported CDS, an on-premise API reached through the SAP Cloud Connector times out because its proxy is part of [destinations and connectivity](capability:destinations) and reachable only from inside SAP BTP, and a Fiori frontend served from the HTML5 Application Repository needs the HTML5 Repo Mock to reach a local backend at all. It closes with the launch configurations the author uses for [debugging](capability:debugging) `cds watch` locally and attaching to a running Cloud Foundry instance.","short":"Three local development hurdles with CAP","author":"maxstreifeneder","published":"2023-02-02","provenance":{"discovered_via":[{"source":"source:sap-community"}],"first_seen":"2026-09-11"},"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:local-development (cap); capability:destinations (cap, btp); capability:debugging (cap)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"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 44 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@sap/cds-dk 7.9.1, 2024-05 and 1 more"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":7364,"unit":"views"},{"value":13,"unit":"comments"},{"value":27,"unit":"likes"}]},"signals":{"views":7364,"likes":27,"comments":13,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}