C_Productstoreqtmanagement

DDL: C_PRODUCTSTOREQTMANAGEMENT SQL: CPRDSTOREQTMGMT Type: view CONSUMPTION

Consumption Store QT Managment

C_Productstoreqtmanagement is a Consumption CDS View that provides data about "Consumption Store QT Managment" in SAP S/4HANA. It reads from 1 data source (I_Productplantqtmanagementwd) and exposes 8 fields with key fields Product, Plant. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Productplantqtmanagementwd PlantQualityMgmt from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_Product _Product $projection.Product = _Product.Product
[1..1] C_Productstore _Store $projection.Product = _Store.Product and $projection.Plant = _Store.Plant
[0..*] I_QualityMgmtCtrlKeyText _QualityMgmtCtrlKeyText $projection.QualityMgmtCtrlKey = _QualityMgmtCtrlKeyText.QualityMgmtCtrlKeyText

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CPRDSTOREQTMGMT view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Consumption Store QT Managment view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.text.control #ASSOCIATED_TEXT_UI_HIDDEN view
Metadata.allowExtensions true view
Feature SW:ISR_RETAILSWITCH view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Product I_Productplantqtmanagementwd Product Product Sold
KEY Plant I_Productplantqtmanagementwd Plant Valuation Area
QualityMgmtCtrlKey I_Productplantqtmanagementwd QualityMgmtCtrlKey QM Control Key
HasPostToInspectionStock I_Productplantqtmanagementwd HasPostToInspectionStock Post to insp. stk
_Product _Product
_Store _Store
_QualityMgmtCtrlKey _QualityMgmtCtrlKey
_QualityMgmtCtrlKeyText _QualityMgmtCtrlKeyText

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_Productstoreqtmanagement.
-- 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: CPRDSTOREQTMGMT

CREATE VIEW C_Productstoreqtmanagement AS
SELECT
  PlantQualityMgmt.Product AS Product,
  PlantQualityMgmt.Plant AS Plant,
  PlantQualityMgmt.QualityMgmtCtrlKey AS QualityMgmtCtrlKey,
  PlantQualityMgmt.HasPostToInspectionStock AS HasPostToInspectionStock
FROM I_Productplantqtmanagementwd AS PlantQualityMgmt
LEFT OUTER JOIN C_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN C_Productstore AS _Store ON Product = _Store.Product AND Plant = _Store.Plant  -- association [1..1]
LEFT OUTER JOIN I_QualityMgmtCtrlKeyText AS _QualityMgmtCtrlKeyText ON QualityMgmtCtrlKey = _QualityMgmtCtrlKeyText.QualityMgmtCtrlKeyText  -- association [0..*]
;