I_MatlCompDscontnTypeText
Material Discontinuation Type - Text
I_MatlCompDscontnTypeText is a Basic CDS View that provides data about "Material Discontinuation Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields MatlCompDiscontinuationType, Language. It has 2 associations to related views. Part of development package VDM_PP_MRP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MatlCompDiscontinuationType | _MatlCompDiscontinuationType | $projection.MatlCompDiscontinuationType = _MatlCompDiscontinuationType.MatlCompDiscontinuationType |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.technicalName | IMATDISCTTYPETXT | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | MatlCompDiscontinuationType | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| ObjectModel.sapObjectNodeType.name | MaterialDiscontinuationTypeTxt | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Material Discontinuation Type - Text | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MatlCompDiscontinuationType | |||
| KEY | Language | |||
| DomainValue | dd07t | domvalue_l | ||
| MatlCompDscontnTypeName | ||||
| _MatlCompDiscontinuationType | _MatlCompDiscontinuationType | |||
| _Language | _Language |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.dataCategory: #TEXT
@Analytics.dataExtraction.enabled: true
@Analytics.technicalName: 'IMATDISCTTYPETXT'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'MatlCompDiscontinuationType'
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY, #EXTRACTION_DATA_SOURCE]
@ObjectModel.sapObjectNodeType.name: 'MaterialDiscontinuationTypeTxt'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #META}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Material Discontinuation Type - Text'
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK", "KEY_CHECK" ] } */
define view entity I_MatlCompDscontnTypeText
as select from dd07t as t
association [1..1] to I_MatlCompDiscontinuationType as _MatlCompDiscontinuationType on $projection.MatlCompDiscontinuationType = _MatlCompDiscontinuationType.MatlCompDiscontinuationType
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_MatlCompDiscontinuationType'
@ObjectModel.text.element: ['MatlCompDscontnTypeName']
key cast(substring(t.domvalue_l, 1, 1) as auslf preserving type) as MatlCompDiscontinuationType,
@Semantics.language
@ObjectModel.foreignKey.association: '_Language'
key cast(t.ddlanguage as spras preserving type) as Language,
@Analytics.hidden: true
@Consumption.hidden: true
t.domvalue_l as DomainValue,
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
@Semantics.text: true
cast(t.ddtext as matlcompdscontntypename preserving type) as MatlCompDscontnTypeName,
// Associations
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_MatlCompDiscontinuationType,
_Language
}
where t.domname = 'AUSLF'
and t.as4local = 'A'
and t.as4vers = '0000';
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