I_MatlCompSparePartTypeText

DDL: I_MATLCOMPSPAREPARTTYPETEXT Type: view_entity BASIC Package: VDM_PP_MRP

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)

SourceAliasJoin Type
t413t text from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_MatlCompSparePartType _SparePartType $projection.MatlComponentSparePartType = _SparePartType.MatlComponentSparePartType
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
};