N-01 · CDS entity name length
| Field | Value |
|---|---|
| ID | N-01 |
| Category | naming |
| Severity | error |
| Blocks mode | HEURISTIC_DRAFT (blocks every promotion) |
| Applies to | every CDS node in the plan graph (Dimension, Cube, Query, AccessControl, MetaExt) |
| Source | internal/sap/validate/validate.go |
What it checks
Section titled “What it checks”The entity name is a legal SAP CDS entity identifier — 30 characters or fewer, and compliant with the naming.KindCDSEntity rule set (allowed character classes, prefix conventions, reserved-word exclusions).
When it fires
Section titled “When it fires”Atlas emits N-01 once per offending node. The plan graph contains at least one CDS node whose Name fails naming.Validate(name, KindCDSEntity).
Failure detail
Section titled “Failure detail”The gate’s detail field contains the joined reason list returned by naming.Validate — for example name exceeds 30 characters; underscore prefix reserved for SAP.
Resolution
Section titled “Resolution”Shorten or rename the node in the plan. The general flow is in How to resolve a gate.