I_MatlSampleStorageLocation

DDL: I_MATLSAMPLESTORAGELOCATION Type: view_entity BASIC Package: VDM_QM_INSPECTION

Material Sample Storage Location

I_MatlSampleStorageLocation is a Basic CDS View that provides data about "Material Sample Storage Location" in SAP S/4HANA. It reads from 1 data source (tq41) and exposes 4 fields with key fields MatlSamplePlant, MaterialSampleStorageLocation. It has 2 associations to related views. Part of development package VDM_QM_INSPECTION.

Data Sources (1)

SourceAliasJoin Type
tq41 tq41 from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Plant _Plant $projection.MatlSamplePlant = _Plant.Plant
[0..*] I_MatlSampleStorageLocationT _Text $projection.MatlSamplePlant = _Text.MatlSamplePlant and $projection.MaterialSampleStorageLocation = _Text.MaterialSampleStorageLocation

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Material Sample Storage Location view
ObjectModel.compositionRoot true view
VDM.viewType #BASIC view
ObjectModel.representativeKey MaterialSampleStorageLocation view
Analytics.technicalName IMTLSMPLSTORLOC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY MatlSamplePlant tq41 werks Receiving Plant
KEY MaterialSampleStorageLocation tq41 aufbewort Sample Location
_Plant _Plant
_Text _Text

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_MatlSampleStorageLocation.
-- 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_MatlSampleStorageLocation AS
SELECT
  tq41.werks AS MatlSamplePlant,
  tq41.aufbewort AS MaterialSampleStorageLocation
FROM tq41
LEFT OUTER JOIN I_Plant AS _Plant ON MatlSamplePlant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_MatlSampleStorageLocationT AS _Text ON MatlSamplePlant = _Text.MatlSamplePlant AND MaterialSampleStorageLocation = _Text.MaterialSampleStorageLocation  -- association [0..*]
;