I_MaterialRequirementTypeText

DDL: I_MATERIALREQUIREMENTTYPETEXT SQL: IMATLREQMTTYPTXT Type: view BASIC

Material Requirement Type - Text

I_MaterialRequirementTypeText is a Basic CDS View that provides data about "Material Requirement Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields RequirementType, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_MaterialRequirementType _Type $projection.RequirementType = _Type.RequirementType

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IMATLREQMTTYPTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey RequirementType 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 - Text view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY RequirementType
KEY Language
DomainValue dd07t domvalue_l
RequirementTypeName
_Language _Language
_Type _Type
@AbapCatalog.sqlViewName: 'IMATLREQMTTYPTXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true 
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'RequirementType'
@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 - Text'

/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ]  } */
define view I_MaterialRequirementTypeText
  as select from dd07t as t

  association [0..1] to I_Language                as _Language on $projection.Language = _Language.Language
  association [1..1] to I_MaterialRequirementType as _Type     on $projection.RequirementType = _Type.RequirementType
{
      @ObjectModel.foreignKey.association: '_Type'
      @ObjectModel.text.element: ['RequirementTypeName']
  key cast(substring(t.domvalue_l, 1, 2) as pph_bdart preserving type) as RequirementType,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  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 pph_bdart_txt preserving type)                  as RequirementTypeName,

      // Associations

      _Language,
      _Type
}
where t.domname  = 'PPH_BDART'
  and t.as4local = 'A'
  and t.as4vers  = '0000';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_MATERIALREQUIREMENTTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/