P_MSPWMovableProduct

DDL: P_MSPWMOVABLEPRODUCT SQL: PMSPWMOVABLEPROD Type: view BASIC

P_MSPWMovableProduct is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (I_StorageLocation, P_MSPWProductStock, P_MSPWSellableProduct, P_MSPWStorePosStorageLocation) and exposes 6 fields with key fields Store, Product, TargetStorageLocation. It has 3 associations to related views.

Data Sources (4)

SourceAliasJoin Type
I_StorageLocation SourceStorageLocation inner
P_MSPWProductStock SourceStorageLocationStock inner
P_MSPWSellableProduct StoreProduct from
P_MSPWStorePosStorageLocation TargetStorageLocation inner

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Site _Store $projection.Store = _Store.Site
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_StorageLocation _TargetStorageLocation $projection.Store = _TargetStorageLocation.Plant and $projection.TargetStorageLocation = _TargetStorageLocation.StorageLocation

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMSPWMOVABLEPROD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Store P_MSPWSellableProduct Store Plant
KEY Product P_MSPWSellableProduct Product Product Sold
KEY TargetStorageLocation P_MSPWStorePosStorageLocation StorageLocation StorageLocation
_Store _Store
_Product _Product
_TargetStorageLocation _TargetStorageLocation

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_MSPWMovableProduct.
-- 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: PMSPWMOVABLEPROD

CREATE VIEW P_MSPWMovableProduct AS
SELECT
  StoreProduct.Store AS Store,
  StoreProduct.Product AS Product,
  TargetStorageLocation.StorageLocation AS TargetStorageLocation
FROM P_MSPWSellableProduct AS StoreProduct
INNER JOIN P_MSPWStorePosStorageLocation AS TargetStorageLocation ON /* join condition not captured in parsed metadata */
INNER JOIN I_StorageLocation AS SourceStorageLocation ON /* join condition not captured in parsed metadata */
INNER JOIN P_MSPWProductStock AS SourceStorageLocationStock ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Site AS _Store ON Store = _Store.Site  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _TargetStorageLocation ON Store = _TargetStorageLocation.Plant AND TargetStorageLocation = _TargetStorageLocation.StorageLocation  -- association [1..1]
;