Ehhss_Sampling_Samples

DDL: EHHSS_SAMPLING_SAMPLES SQL: EHHSSV_SPLNG_SPL Type: view

Samples of a sampling

Ehhss_Sampling_Samples is a CDS View that provides data about "Samples of a sampling" in SAP S/4HANA. It reads from 3 data sources (ehfndd_splng, ehfndd_splng_spl, Ehhss_Sampling_Amounts) and exposes 16 fields.

Data Sources (3)

SourceAliasJoin Type
ehfndd_splng ehfndd_splng inner
ehfndd_splng_spl ehfndd_splng_spl from
Ehhss_Sampling_Amounts Ehhss_Sampling_Amounts inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName EHHSSV_SPLNG_SPL view
EndUserText.label Samples of a sampling view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (16)

KeyFieldSource TableSource FieldDescription
blank_type ehfndd_splng_spl blank_type Blank Sample Type
sample_id ehfndd_splng_spl id WorklistID
media_id ehfndd_splng_spl media_id Medium ID
equipment_id ehfndd_splng_spl equipment_id Equipment ID
ppe_worn ehfndd_splng_spl ppe_worn Control Key
validity ehfndd_splng_spl validity Validity (Hr)
is_reviewed ehfndd_splng_spl is_reviewed Reviewed?
status ehfndd_splng status Workflow Status
method_ref ehfndd_splng method_ref Sampling Method
sample_count ehfndd_splng sample_count Number of Samples
technician ehfndd_splng technician Responsible
planned_date ehfndd_splng planned_date Planned Date
subjecttype Ehhss_Sampling_Amounts subjecttype Subject Type
value Ehhss_Sampling_Amounts value Value from table
valueunit Ehhss_Sampling_Amounts valueunit Unit of Measurement
valuetype Ehhss_Sampling_Amounts valuetype Value 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 Ehhss_Sampling_Samples.
-- 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: EHHSSV_SPLNG_SPL

CREATE VIEW Ehhss_Sampling_Samples AS
SELECT
  ehfndd_splng_spl.blank_type AS blank_type,
  ehfndd_splng_spl.id AS sample_id,
  ehfndd_splng_spl.media_id AS media_id,
  ehfndd_splng_spl.equipment_id AS equipment_id,
  ehfndd_splng_spl.ppe_worn AS ppe_worn,
  ehfndd_splng_spl.validity AS validity,
  ehfndd_splng_spl.is_reviewed AS is_reviewed,
  ehfndd_splng.status AS status,
  ehfndd_splng.method_ref AS method_ref,
  ehfndd_splng.sample_count AS sample_count,
  ehfndd_splng.technician AS technician,
  ehfndd_splng.planned_date AS planned_date,
  Ehhss_Sampling_Amounts.subjecttype AS subjecttype,
  Ehhss_Sampling_Amounts.value AS value,
  Ehhss_Sampling_Amounts.valueunit AS valueunit,
  Ehhss_Sampling_Amounts.valuetype AS valuetype
FROM ehfndd_splng_spl
INNER JOIN ehfndd_splng ON /* join condition not captured in parsed metadata */
INNER JOIN Ehhss_Sampling_Amounts ON /* join condition not captured in parsed metadata */
;