{"ref":"artifact:sap-cds-analytics","page":"/artifacts/sap-cds-analytics","json":"/artifacts/sap-cds-analytics.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"sap-cds-analytics","name":"@sap/cds-analytics","artifact_type":"cds-plugin","ecosystem":"cap","flavors":[{"key":"node","source":{"url":"https://registry.npmjs.org/@sap/cds-analytics","title":"@sap/cds-analytics — npm registry document, Setup","checked":"2026-10-19","quote":"Install the plugin in your project:\n\n```sh\nnpm add @sap/cds-analytics\n```"}}],"domain":"protocols-and-apis","origin_ring":"sap-official","description":{"one_line":"CDS plugin that adds embedded analytics to a CAP project, so a service view can be annotated as an analytical cube for [SAP Analytics Cloud](artifact:btp-analytics-cloud).","short":"CDS plugin adding embedded analytics to CAP for SAP Analytics Cloud","what_it_solves":"A CAP service view is a list of rows, and an analytical front end wants a cube with measures and dimensions it can name. This plugin is what SAP publishes for that: `npm add @sap/cds-analytics` puts what its README calls built-in support for embedded analytics in the project, and the one example it gives annotates a service `@protocol: 'ina'` and its view `@ObjectModel.modelingPattern: #ANALYTICAL_CUBE` and `@ObjectModel.supportedCapabilities: [#ANALYTICAL_PROVIDER]`. The README names the integration with [SAP Analytics Cloud](artifact:btp-analytics-cloud) and stops at those annotations; for a multi-tenant scenario with extensibility it adds that the package is listed again in the `package.json` inside the `mtx/sidecar` directory. The package ships no repository and its licence is the LICENSE file inside it, so the npm entry is the whole of the documentation, down to `CDS_ANALYTICS_DEBUG` set to `TRUE` as the way to produce a log for SAP support.","when_not_to_use":"Not in a project on CAP 7 or earlier: the package declares `@sap/cds` >=8 and `@sap/cds-compiler` >=5 as peer dependencies."},"links":{"npm":"https://www.npmjs.com/package/@sap/cds-analytics"},"identity":{"author":"SAP SE","license":"SEE LICENSE IN LICENSE"},"compat":{"runtimes":["node"],"cds_range":">=8"},"type_properties":{"distribution":{"value":["npm"],"sources":[{"url":"https://registry.npmjs.org/@sap/cds-analytics","title":"@sap/cds-analytics — npm registry document, Setup","checked":"2026-10-19","quote":"npm add @sap/cds-analytics"}]}},"provides":[{"capability":"capability:analytical-models","what_it_does":"Adds embedded analytics to a CAP project: a service view carries the annotations that mark it an analytical cube and an analytical provider, as the plugin's own example shows.","sources":[{"url":"https://registry.npmjs.org/@sap/cds-analytics","title":"@sap/cds-analytics — npm registry document, Usage","checked":"2026-10-19","quote":"To leverage the analytics features, annotate your CDS service views with the required properties."},{"url":"https://registry.npmjs.org/@sap/cds-analytics","title":"@sap/cds-analytics — npm registry document, Usage example","checked":"2026-10-19","quote":"@protocol: 'ina'\n@restrict: [{ grant: '*', to: 'authenticated-user' } ]\nservice FlightService {\n  @ObjectModel.modelingPattern: #ANALYTICAL_CUBE\n  @ObjectModel.supportedCapabilities: [#ANALYTICAL_PROVIDER]"}]}],"connects":[{"ref":"artifact:btp-analytics-cloud","kind":"data","for":"The integration the plugin's own description names: the annotated service view is marked an analytical cube and an analytical provider for it.","sources":[{"url":"https://registry.npmjs.org/@sap/cds-analytics","title":"@sap/cds-analytics — npm registry document, README","checked":"2026-10-19","quote":"The `@sap/cds-analytics` package is a [CDS plugin](https://cap.cloud.sap/docs/node.js/cds-plugins#cds-plugin-packages) that enhances the SAP Cloud Application Programming Model (CAP) with built-in support for embedded analytics, enabling seamless integration with SAP Analytics Cloud."},{"url":"https://registry.npmjs.org/@sap/cds-analytics","title":"@sap/cds-analytics — npm registry document, Usage example","checked":"2026-10-19","quote":"@ObjectModel.supportedCapabilities: [#ANALYTICAL_PROVIDER]"}]}],"source_available":false,"provenance":{"discovered_via":[{"source":"source:npm"}],"first_seen":"2026-09-20"},"drafted_with_ai":true},"effective_normative_relations":[{"instrument":"instrument:sap-developer-license-3-2-cap","relation":"use-constrained-by","sections":["1","2","3"],"applies_when":"A cds-plugin is used with SAP CAP materials, or an artifact is explicitly identified as a CAP plugin or application.","note":"This is inherited applicability, not a licence verdict about the artifact itself. Review the agreement for the actual materials and use; an explicit artifact relationship to another revision takes precedence.","scope":{"kind":"artifact"},"sources":[{"url":"https://cap.cloud.sap/resources/license/developer-license-3_2_CAP.txt","title":"SAP Developer License Agreement 3.2 CAP","checked":"2026-09-16","quote":"documentation, plug-ins, templates, scripts and sample code, libraries, software development kits"}],"inherited_from":"cap-plugins-and-applications","relevant_capabilities":["agent-systems-access","async-processing","data-import-export","database-connectors","deployment","destinations","llm-integration","mcp-servers","plugin-authoring","replication","retrieval-augmented-generation","rfc-connectivity"]}],"readings":{"liveness":[{"label":"Maintenance","tier":"fair","evidence":"12 months since release"},{"label":"Continuity","tier":"fair","evidence":"1 publisher on npm"},{"label":"Repository","tier":"unknown","evidence":"no repository data"}],"compatibility":[{"label":"Declared for","tier":"good","evidence":">=8 — includes cds 10 and 9"},{"label":"Survived majors","tier":"poor","evidence":"no release since @sap/cds 10 shipped (July 2026)"},{"label":"Maintainer's CI","tier":"unknown","evidence":"no repository data"}],"practice":[{"label":"Tests","tier":"unknown","evidence":"not crawled"},{"label":"Docs","tier":"fair","evidence":"README 2 KB"},{"label":"Changelog","tier":"fair","evidence":"none in the repo"}],"reach":[{"value":10,"unit":"installs/week"},{"value":null,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-25","latest_version":"1.0.1","majors":{"1":{"version":"1.0.1","date":"2025-10-27"}},"license":"SEE LICENSE IN LICENSE","first_release":"2025-10-27","last_release":"2025-10-27","releases":1,"cadence_days":null,"maintainers":1,"repository":null,"repository_directory":null,"peer_cds":">=8","dependencies":3,"node_engine":">=18","test_script":false,"types":false,"downloads_weekly":10,"downloads_monthly":45,"npm_document_version":"1.0.1","npm_document_integrity":"sha512-sBAYLC01hPXEULAZD5HsrzXXfDPdHkkrkXXjOrK0rCWINDorYMuuY7RllyaOI4jGE3XT2zk58Z+x0oHYGhewtw==","npm_document_tarball":"https://registry.npmjs.org/@sap/cds-analytics/-/cds-analytics-1.0.1.tgz","readme_path":"README.MD","readme_bytes":1672,"readme_source":"npm","changelog":false,"license_file":true,"license_path":"LICENSE","license_name":"SAP DEVELOPER LICENSE AGREEMENT 3.2","months_since_release":12,"dormant":false},"release_notes":{"license":"SAP DEVELOPER LICENSE AGREEMENT 3.2","quotable":true,"versions":[{"version":"1.0.1","date":"2025-10-27"}],"crawled_at":"2026-10-25"},"edges":{"maintainers":[],"contributors":[],"explained_by":[],"alternative_to_this":[],"needed_by":[],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}