I_MatlStkRptCollectionWeekDayT

DDL: I_MATLSTKRPTCOLLECTIONWEEKDAYT Type: view_entity BASIC Package: ODATA_MM_IM_STOCKOUTPUT

Collection Day - Text

I_MatlStkRptCollectionWeekDayT is a Basic CDS View that provides data about "Collection Day - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields MatlStkRptCollectionWeekDay, Language. It has 2 associations to related views. Part of development package ODATA_MM_IM_STOCKOUTPUT.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_MatlStkRptCollectionWeekDay _CollectionDay $projection.MatlStkRptCollectionWeekDay = _CollectionDay.MatlStkRptCollectionWeekDay
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Collection Day - Text view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
VDM.private false view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY MatlStkRptCollectionWeekDay
KEY Language Lang.
MatlStkRptCollWeekDayText
_CollectionDay _CollectionDay
_Language _Language

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_MatlStkRptCollectionWeekDayT.
-- 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.

CREATE VIEW I_MatlStkRptCollectionWeekDayT AS
SELECT
  cast(substring(dd07t.domvalue_l, 1, 2) as collectiondayofweek preserving type) AS MatlStkRptCollectionWeekDay,
  cast( ddlanguage as spras ) AS Language,
  cast ( substring ( ddtext, 1, 60 ) as val_text ) AS MatlStkRptCollWeekDayText
FROM dd07t
LEFT OUTER JOIN I_MatlStkRptCollectionWeekDay AS _CollectionDay ON MatlStkRptCollectionWeekDay = _CollectionDay.MatlStkRptCollectionWeekDay  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;