C_Productstoreprocurment

DDL: C_PRODUCTSTOREPROCURMENT SQL: CPRDSTOREPROC Type: view CONSUMPTION

Consumption Store Procurement

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

Data Sources (1)

SourceAliasJoin Type
I_Productplantprocurementwd PlantProc 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_SourceOfSupplyCategoryT _SourceOfSupplyCategoryText $projection.SourceOfSupplyCategory = _SourceOfSupplyCategoryText.SourceOfSupplyCategory

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CPRDSTOREPROC view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption Store Procurement view
VDM.viewType #CONSUMPTION view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.transactionalProcessingDelegated 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 (12)

KeyFieldSource TableSource FieldDescription
KEY Product I_Productplantprocurementwd Product Product Sold
KEY Plant I_Productplantprocurementwd Plant Valuation Area
IsAutoPurOrdCreationAllowed I_Productplantprocurementwd IsAutoPurOrdCreationAllowed Autom. PO
IsSourceListRequired I_Productplantprocurementwd IsSourceListRequired Source list
SourceOfSupplyCategory I_Productplantprocurementwd SourceOfSupplyCategory Supply source
PurchasingGroup I_Productplantprocurementwd PurchasingGroup Purchasing Group
IsPurgAcrossPurgGroup I_Productplantprocurementwd IsPurgAcrossPurgGroup Across Purch.Group
_Product _Product
_Store _Store
_PurchasingGroup _PurchasingGroup
_SourceOfSupplyCategory _SourceOfSupplyCategory
_SourceOfSupplyCategoryText _SourceOfSupplyCategoryText

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_Productstoreprocurment.
-- 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: CPRDSTOREPROC

CREATE VIEW C_Productstoreprocurment AS
SELECT
  PlantProc.Product AS Product,
  PlantProc.Plant AS Plant,
  PlantProc.IsAutoPurOrdCreationAllowed AS IsAutoPurOrdCreationAllowed,
  PlantProc.IsSourceListRequired AS IsSourceListRequired,
  PlantProc.SourceOfSupplyCategory AS SourceOfSupplyCategory,
  PlantProc.PurchasingGroup AS PurchasingGroup,
  PlantProc.IsPurgAcrossPurgGroup AS IsPurgAcrossPurgGroup
FROM I_Productplantprocurementwd AS PlantProc
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_SourceOfSupplyCategoryT AS _SourceOfSupplyCategoryText ON SourceOfSupplyCategory = _SourceOfSupplyCategoryText.SourceOfSupplyCategory  -- association [0..*]
;