I_MatlCompSparePartTypeText
Material Component Spare Part Type - Text
I_MatlCompSparePartTypeText is a Basic CDS View that provides data about "Material Component Spare Part Type - Text" in SAP S/4HANA. It reads from 1 data source (t413t) and exposes 5 fields with key fields Language, MatlComponentSparePartType. It has 2 associations to related views. Part of development package VDM_PP_MRP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t413t | text | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MatlCompSparePartType | _SparePartType | $projection.MatlComponentSparePartType = _SparePartType.MatlComponentSparePartType |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | MatlComponentSparePartType | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | 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 - Text | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Language | t413t | spras | |
| KEY | MatlComponentSparePartType | |||
| MatlComponentSparePartTypeName | ||||
| _SparePartType | _SparePartType | |||
| _Language | _Language |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'MatlComponentSparePartType'
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY]
@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 - Text'
define view entity I_MatlCompSparePartTypeText
as select from t413t as text
association [1..1] to I_MatlCompSparePartType as _SparePartType on $projection.MatlComponentSparePartType = _SparePartType.MatlComponentSparePartType
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@Semantics.language
@ObjectModel.foreignKey.association: '_Language'
key text.spras as Language,
@ObjectModel.foreignKey.association: '_SparePartType'
@ObjectModel.text.element: ['MatlComponentSparePartTypeName']
key cast(text.erskz as vdm_erskz preserving type) as MatlComponentSparePartType,
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
@Semantics.text: true
cast(text.etext as vdm_erstx preserving type) as MatlComponentSparePartTypeName,
// Associations
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_SparePartType,
_Language
};
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