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 Lower Value
RequirementTypeName
_Language _Language
_Type _Type

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_MaterialRequirementTypeText.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IMATLREQMTTYPTXT

CREATE VIEW I_MaterialRequirementTypeText AS
SELECT
  cast(substring(t.domvalue_l, 1, 2) as pph_bdart preserving type) AS RequirementType,
  cast(t.ddlanguage as spras preserving type) AS Language,
  t.domvalue_l AS DomainValue,
  cast(t.ddtext as pph_bdart_txt preserving type) AS RequirementTypeName
FROM dd07t AS t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_MaterialRequirementType AS _Type ON RequirementType = _Type.RequirementType  -- association [1..1]
;