P_EWM_QltyInspectionEmbedded

DDL: P_EWM_QLTYINSPECTIONEMBEDDED Type: view_entity COMPOSITE Package: VDM_EWM_CORE

Quality Inspection for Embedded

P_EWM_QltyInspectionEmbedded is a Composite CDS View that provides data about "Quality Inspection for Embedded" in SAP S/4HANA. It reads from 3 data sources (I_Defect, I_InspectionLotUUID, I_InspectionPartialLotUUID) and exposes 6 fields with key field QualityInspectionDocUUID. Part of development package VDM_EWM_CORE.

Data Sources (3)

SourceAliasJoin Type
I_Defect I_Defect from
I_InspectionLotUUID I_InspectionLotUUID union_all
I_InspectionPartialLotUUID I_InspectionPartialLotUUID union_all

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY QualityInspectionDocUUID Defect UUID
QualityInspectionDocument Inspection Lot
QualityInspectionDocument Inspection Lot
QualityInspectionDocument Inspection Lot
QualityInspectionDocument Inspection Lot
InspectionPartialLot

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 P_EWM_QltyInspectionEmbedded.
-- 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 P_EWM_QltyInspectionEmbedded AS
SELECT
  cast( DefectUUID as /scwm/de_inspid preserving type ) AS QualityInspectionDocUUID,
  cast( Defect as /scwm/de_qentity_extid ) AS QualityInspectionDocument,
  cast( InspectionPartialLot as ewm_de_inspectionpartiallot preserving type ) AS InspectionPartialLot
FROM I_Defect
-- UNION ALL with additional select branch(es): I_InspectionLotUUID, I_InspectionPartialLotUUID
;