I_MaterialRequirementType

DDL: I_MATERIALREQUIREMENTTYPE Type: view_entity BASIC Package: VDM_PP_MRP

Material Requirement Type

I_MaterialRequirementType is a Basic CDS View (Dimension) that provides data about "Material Requirement Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field RequirementType. It has 1 association to related views. Part of development package VDM_PP_MRP.

Data Sources (1)

SourceAliasJoin Type
dd07l l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MaterialRequirementTypeText _Text $projection.RequirementType = _Text.RequirementType

Annotations (17)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IMATLREQMTTYPE view
Analytics.internalName #LOCAL view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey RequirementType view
ObjectModel.resultSet.sizeCategory #XS 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 Requirement Type view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY RequirementType
DomainValue dd07l domvalue_l
_Text _Text
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.technicalName: 'IMATLREQMTTYPE'
@Analytics.internalName: #LOCAL
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY, #VALUE_HELP_PROVIDER]
@ObjectModel.representativeKey: 'RequirementType'
@ObjectModel.resultSet.sizeCategory: #XS
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #META}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Material Requirement Type'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK", "KEY_CHECK" ]  } */
define view entity I_MaterialRequirementType
  as select from dd07l as l

  association [0..*] to I_MaterialRequirementTypeText as _Text on $projection.RequirementType = _Text.RequirementType
{
      // Key - cast to data element

      @ObjectModel.text.association: '_Text'
  key cast(substring(l.domvalue_l, 1, 2) as pph_bdart preserving type) as RequirementType,

      @Analytics.hidden: true
      @Consumption.hidden: true
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
      l.domvalue_l                                                     as DomainValue,

      // Associations

      _Text
}
where l.domname  = 'PPH_BDART'
  and l.as4local = 'A'
  and l.as4vers  = '0000';