I_ConfigurableCodesCode
Code of Configurable Codes
I_ConfigurableCodesCode is a Basic CDS View (Dimension) that provides data about "Code of Configurable Codes" in SAP S/4HANA. It reads from 1 data source (qpcd) and exposes 6 fields with key fields ConfigurableCodesCatalog, ConfigurableCodesCodeGroup, ConfigurableCodesCode. It has 3 associations to related views. Part of development package VDM_QM_PLANNING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qpcd | qpcd | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ConfigurableCodesCatalog | _ConfigurableCodesCatalog | $projection.ConfigurableCodesCatalog = _ConfigurableCodesCatalog.ConfigurableCodesCatalog |
| [1..1] | I_ConfigurableCodesCodeGroup | _ConfigurableCodesCodeGroup | $projection.ConfigurableCodesCatalog = _ConfigurableCodesCodeGroup.ConfigurableCodesCatalog and $projection.ConfigurableCodesCodeGroup = _ConfigurableCodesCodeGroup.ConfigurableCodesCodeGroup |
| [1..*] | I_ConfigurableCodesCodeText | _Text | $projection.ConfigurableCodesCatalog = _Text.ConfigurableCodesCatalog and $projection.ConfigurableCodesCodeGroup = _Text.ConfigurableCodesCodeGroup and $projection.ConfigurableCodesCode = _Text.ConfigurableCodesCode |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Code of Configurable Codes | view | |
| ObjectModel.representativeKey | ConfigurableCodesCode | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.sapObjectNodeType.name | ConfigurableCodesCode | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConfigurableCodesCatalog | qpcd | katalogart | |
| KEY | ConfigurableCodesCodeGroup | codegruppe | ||
| KEY | ConfigurableCodesCode | code | ||
| _ConfigurableCodesCatalog | _ConfigurableCodesCatalog | |||
| _ConfigurableCodesCodeGroup | _ConfigurableCodesCodeGroup | |||
| _Text | _Text |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Code of Configurable Codes'
@ObjectModel.representativeKey: 'ConfigurableCodesCode'
@Analytics: {
dataExtraction.enabled: true,
dataExtraction.delta.changeDataCapture.automatic: true,
dataCategory: #DIMENSION
}
@Analytics.internalName:#LOCAL
@VDM: {
viewType:#BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel:{
supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #ANALYTICAL_DIMENSION, #EXTRACTION_DATA_SOURCE ],
modelingPattern: #ANALYTICAL_DIMENSION,
usageType: { serviceQuality: #A, sizeCategory: #M, dataClass: #CUSTOMIZING } }
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true
@ObjectModel.sapObjectNodeType.name: 'ConfigurableCodesCode'
define view entity I_ConfigurableCodesCode
as select from qpcd
association [1..1] to I_ConfigurableCodesCatalog as _ConfigurableCodesCatalog on $projection.ConfigurableCodesCatalog = _ConfigurableCodesCatalog.ConfigurableCodesCatalog
association [1..1] to I_ConfigurableCodesCodeGroup as _ConfigurableCodesCodeGroup on $projection.ConfigurableCodesCatalog = _ConfigurableCodesCodeGroup.ConfigurableCodesCatalog
and $projection.ConfigurableCodesCodeGroup = _ConfigurableCodesCodeGroup.ConfigurableCodesCodeGroup
association [1..*] to I_ConfigurableCodesCodeText as _Text on $projection.ConfigurableCodesCatalog = _Text.ConfigurableCodesCatalog
and $projection.ConfigurableCodesCodeGroup = _Text.ConfigurableCodesCodeGroup
and $projection.ConfigurableCodesCode = _Text.ConfigurableCodesCode
{
@ObjectModel.foreignKey.association: '_ConfigurableCodesCatalog'
@ObjectModel.sapObjectNodeTypeReference: 'ConfigurableCodesCatalog'
key qpcd.katalogart as ConfigurableCodesCatalog,
@ObjectModel.foreignKey.association: '_ConfigurableCodesCodeGroup'
key codegruppe as ConfigurableCodesCodeGroup,
@ObjectModel.text.association: '_Text'
key code as ConfigurableCodesCode,
case qpcd.inaktiv
when ' ' then cast( ' ' as vdm_qm_codeisinactive preserving type )
else cast( 'X' as vdm_qm_codeisinactive preserving type )
end as ConfigblCodesCodeGrpIsInactv,
//Associations
_ConfigurableCodesCatalog,
_ConfigurableCodesCodeGroup,
_Text
}
where
qpcd.version = '000001'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA