C_MSPWAssignedStore

DDL: C_MSPWASSIGNEDSTORE SQL: CMSPWASSGDSTORE Type: view CONSUMPTION

C_MSPWAssignedStore is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_RetailStoreUserAssignment) and exposes 2 fields with key field Store. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_RetailStoreUserAssignment I_RetailStoreUserAssignment from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_MSPWStore _Store _Store.Store = $projection.Store

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CMSPWASSGDSTORE view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey Store view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Store Store Plant
_Store _Store

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_MSPWAssignedStore.
-- 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: CMSPWASSGDSTORE

CREATE VIEW C_MSPWAssignedStore AS
SELECT
  Store
FROM I_RetailStoreUserAssignment
LEFT OUTER JOIN C_MSPWStore AS _Store ON _Store.Store = Store  -- association [1..1]
;