C_SamplingDefinitionRoot

DDL: C_SAMPLINGDEFINITIONROOT SQL: CSAMPLROOT Type: view CONSUMPTION

Sampling

C_SamplingDefinitionRoot is a Consumption CDS View that provides data about "Sampling" in SAP S/4HANA. It reads from 2 data sources (I_SamplingReference, I_SamplingDefinitionRoot) and exposes 8 fields with key field SamplingUUID.

Data Sources (2)

SourceAliasJoin Type
I_SamplingReference _SamplingReference inner
I_SamplingDefinitionRoot I_SamplingDefinitionRoot from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSAMPLROOT view
VDM.viewType #CONSUMPTION view
EndUserText.label Sampling view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
UI.headerInfo.typeName Sampling view
UI.headerInfo.typeNamePlural Samplings view
UI.headerInfo.title.value SamplingUUID view
AbapCatalog.compiler.compareFilter true view
Consumption.semanticObject EnvironmentalData view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SamplingUUID I_SamplingReference SamplingUUID Sampling Key
SamplingChemicalProperty _SamplingHeader SamplingChemicalProperty
SamplingAnalyteType _SamplingHeader SamplingAnalyteType
SamplingAnalyteUUID _SamplingHeader SamplingAnalyteUUID
SamplingDefinitionName SamplingDefinitionName Zone name
SamplingHeaderUUID _SamplingHeader SamplingHeaderUUID
EHSLocationUUID EHSLocationUUID NodeID
_EHSLocation _EHSLocation

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 C_SamplingDefinitionRoot.
-- 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: CSAMPLROOT

CREATE VIEW C_SamplingDefinitionRoot AS
SELECT
  _SamplingReference.SamplingUUID AS SamplingUUID,
  _SamplingHeader.SamplingChemicalProperty AS SamplingChemicalProperty,
  _SamplingHeader.SamplingAnalyteType AS SamplingAnalyteType,
  _SamplingHeader.SamplingAnalyteUUID AS SamplingAnalyteUUID,
  SamplingDefinitionName,
  _SamplingHeader.SamplingHeaderUUID AS SamplingHeaderUUID,
  EHSLocationUUID
FROM I_SamplingDefinitionRoot
INNER JOIN I_SamplingReference AS _SamplingReference ON /* join condition not captured in parsed metadata */
;