{"ref":"content:implementing-dynamic-subaccount-based-routing-in-sap-cap","page":"/content/implementing-dynamic-subaccount-based-routing-in-sap-cap","json":"/content/implementing-dynamic-subaccount-based-routing-in-sap-cap.json","generated":"2026-10-29","drafted_with_ai":true,"entity":{"id":"implementing-dynamic-subaccount-based-routing-in-sap-cap","title":"Implementing Dynamic Subaccount-Based Routing in SAP CAP with SAP BTP Destinations","url":"https://community.sap.com/t5/sap-cap-blog-posts/implementing-dynamic-subaccount-based-routing-in-sap-cap-with-sap-btp/ba-p/14342073","content_type":"blog","explains":[{"ref":"capability:destinations","applies_to":{"ecosystems":["btp","cap"]}}],"summary":"Why environment variables are the wrong place for backend endpoints in a CAP application, and what replaces them: cockpit destinations resolved at runtime, with the subaccount or instance identified as the request is handled. The argument is about redeployment — an endpoint kept in the environment means a deploy every time it moves — and the shape it produces is one codebase serving several landscapes without a build per landscape.","short":"Runtime destination routing by subaccount in CAP","author":"Dnyaneshwar Salve","published":"2026-03-18","sources":[{"url":"https://community.sap.com/t5/sap-cap-blog-posts/implementing-dynamic-subaccount-based-routing-in-sap-cap-with-sap-btp/ba-p/14342073","title":"Implementing Dynamic Subaccount-Based Routing in SAP CAP with SAP BTP Destinations — SAP Community","checked":"2026-09-07"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-group"}],"first_seen":"2026-09-07"},"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:destinations (cap, btp)","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":"good","evidence":"published 7 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2026-03-18"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":2214,"unit":"views"},{"value":4,"unit":"comments"},{"value":11,"unit":"likes"}]},"signals":{"views":2214,"likes":11,"comments":4,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}