I_MatlCompSparePartType

DDL: I_MATLCOMPSPAREPARTTYPE Type: view_entity BASIC

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)

SourceAliasJoin Type
t413 type from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_MatlCompSparePartTypeText _Text $projection.MatlComponentSparePartType = _Text.MatlComponentSparePartType
[0..1] I_Indicator _SparePartIndicator $projection.MaterialComponentIsSparePart = _SparePartIndicator.IndicatorValue

Annotations (16)

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

KeyFieldSource TableSource FieldDescription
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":""
}
}*/