I_ProductInspWithQualityStock

DDL: I_PRODUCTINSPWITHQUALITYSTOCK SQL: IPRDCTINSPWQSTK Type: view COMPOSITE

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.

Data Sources (2)

SourceAliasJoin Type
I_InspectionLotOriginType _InspectionLotOriginType inner
I_ProductInspTypeSetting I_ProductInspTypeSetting from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPRDCTINSPWQSTK view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
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 Product Product Sold
KEY Plant 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.
-- SQL view name: IPRDCTINSPWQSTK

CREATE VIEW I_ProductInspWithQualityStock AS
SELECT
  Product,
  Plant,
  max( I_ProductInspTypeSetting.ProdInspTypeSettingIsActive ) AS ProdInspTypeSettingIsActive
FROM I_ProductInspTypeSetting
INNER JOIN I_InspectionLotOriginType AS _InspectionLotOriginType ON /* join condition not captured in parsed metadata */
;