I_MatlCompSparePartType
Material Component Spare Part Type
I_MatlCompSparePartType is a Basic CDS View (Dimension) that provides data about "Material Component Spare Part Type" in SAP S/4HANA. It reads from 1 data source (t413) and exposes 4 fields with key field MatlComponentSparePartType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t413 | type | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MatlCompSparePartTypeText | _Text | $projection.MatlComponentSparePartType = _Text.MatlComponentSparePartType |
| [0..1] | I_Indicator | _SparePartIndicator | $projection.MaterialComponentIsSparePart = _SparePartIndicator.IndicatorValue |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Consumption.ranked | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | MatlComponentSparePartType | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Material Component Spare Part Type | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MatlComponentSparePartType | |||
| MaterialComponentIsSparePart | ||||
| _Text | _Text | |||
| _SparePartIndicator | _SparePartIndicator |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.compositionRoot: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'MatlComponentSparePartType'
@ObjectModel.resultSet.sizeCategory: #XS
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Material Component Spare Part Type'
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
define view entity I_MatlCompSparePartType
as select from t413 as type
association [0..*] to I_MatlCompSparePartTypeText as _Text on $projection.MatlComponentSparePartType = _Text.MatlComponentSparePartType
association [0..1] to I_Indicator as _SparePartIndicator on $projection.MaterialComponentIsSparePart = _SparePartIndicator.IndicatorValue
{
@ObjectModel.text.association: '_Text'
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
key cast(type.erskz as vdm_erskz preserving type) as MatlComponentSparePartType,
@ObjectModel.foreignKey.association: '_SparePartIndicator'
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
cast(type.kzers as vdm_kzers preserving type) as MaterialComponentIsSparePart,
// Associations
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_Text,
_SparePartIndicator
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T413"
],
"ASSOCIATED":
[
"I_INDICATOR",
"I_MATLCOMPSPAREPARTTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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