I_ProductInspWithQualityStock

DDL: I_PRODUCTINSPWITHQUALITYSTOCK Type: view_entity COMPOSITE Package: VDM_QM_INSPECTION

Inspections of product has quality stock

I_ProductInspWithQualityStock is a Composite CDS View that provides data about "Inspections of product has quality stock" in SAP S/4HANA. It reads from 2 data sources (I_InspectionLotOriginType, I_ProductInspTypeSetting) and exposes 3 fields with key fields Product, Plant. Part of development package VDM_QM_INSPECTION.

Data Sources (2)

SourceAliasJoin Type
I_InspectionLotOriginType _InspectionLotOriginType inner
I_ProductInspTypeSetting I_ProductInspTypeSetting from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspections of product has quality stock view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Product I_ProductInspTypeSetting Product Product Sold
KEY Plant I_ProductInspTypeSetting Plant Valuation Area
ProdInspTypeSettingIsActive

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_ProductInspWithQualityStock.
-- 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_ProductInspWithQualityStock AS
SELECT
  I_ProductInspTypeSetting.Product AS Product,
  I_ProductInspTypeSetting.Plant AS Plant,
  max( I_ProductInspTypeSetting.ProdInspTypeSettingIsActive ) AS ProdInspTypeSettingIsActive
FROM I_ProductInspTypeSetting
INNER JOIN I_InspectionLotOriginType AS _InspectionLotOriginType ON /* join condition not captured in parsed metadata */
;