P_DGR_PlantCmmdtyStrLoc

DDL: P_DGR_PLANTCMMDTYSTRLOC SQL: PDGRPLNTCMMSTR Type: view COMPOSITE

P_DGR_PlantCmmdtyStrLoc is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_DGR_Gen_PlantGroup, I_StorageLocation) and exposes 7 fields.

Data Sources (2)

SourceAliasJoin Type
P_DGR_Gen_PlantGroup Plant from
I_StorageLocation StorageLocation left_outer

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PDGRPLNTCMMSTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view

Fields (7)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
Plant P_DGR_Gen_PlantGroup Plant Valuation Area
PlantGroup P_DGR_Gen_PlantGroup PlantGroup
Material Material Vehicle Model
MaterialBaseUnit MaterialBaseUnit Valuation Unit
Commodity Commodity Commodity Code
StorageLocation I_StorageLocation StorageLocation StorageLocation

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_DGR_PlantCmmdtyStrLoc.
-- 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: PDGRPLNTCMMSTR

CREATE VIEW P_DGR_PlantCmmdtyStrLoc AS
SELECT
  CompanyCode,
  Plant.Plant AS Plant,
  Plant.PlantGroup AS PlantGroup,
  Material,
  MaterialBaseUnit,
  Commodity,
  StorageLocation.StorageLocation AS StorageLocation
FROM P_DGR_Gen_PlantGroup AS Plant
LEFT OUTER JOIN I_StorageLocation AS StorageLocation ON /* join condition not captured in parsed metadata */
;