P_ProductStorageLocation

DDL: P_PRODUCTSTORAGELOCATION SQL: PPRDSTORLOC Type: view BASIC Package: VDM_MD_PRODUCT_OBSOLETE

Product storage location search model

P_ProductStorageLocation is a Basic CDS View that provides data about "Product storage location search model" in SAP S/4HANA. It reads from 1 data source (mard) and exposes 4 fields with key fields Product, Plant, StorageLocation. It has 1 association to related views. Part of development package VDM_MD_PRODUCT_OBSOLETE.

Data Sources (1)

SourceAliasJoin Type
mard StorageLocation from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_StorageLocation _StorageLocation $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PPRDSTORLOC view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Product mard matnr Vehicle Model
KEY Plant mard werks Receiving Plant
KEY StorageLocation mard lgort Sublocation
_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_ProductStorageLocation.
-- 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: PPRDSTORLOC

CREATE VIEW P_ProductStorageLocation AS
SELECT
  StorageLocation.matnr AS Product,
  StorageLocation.werks AS Plant,
  StorageLocation.lgort AS StorageLocation
FROM mard AS StorageLocation
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [1..1]
;