C_MSPWStore

DDL: C_MSPWSTORE SQL: CMSPWSTORE Type: view CONSUMPTION Package: RFM_STORE_MOVE_PROD_WORKLIST

MPW: Store

C_MSPWStore is a Consumption CDS View that provides data about "MPW: Store" in SAP S/4HANA. It reads from 1 data source (I_Site) and exposes 6 fields with key field Store. It has 3 associations to related views. It is exposed through 1 OData service (UI_RFM_STORE_MOVEPRODWL). Part of development package RFM_STORE_MOVE_PROD_WORKLIST.

Data Sources (1)

SourceAliasJoin Type
I_Site I_Site from

Associations (3)

CardinalityTargetAliasCondition
[0..1] C_MSPWSettings _Settings $projection.Store = _Settings.Store
[0..*] C_MSPWStorageLocation _StorageLocation $projection.Store = _StorageLocation.Store
[0..*] I_RetailStoreApplicationStore _RetailStoreApplicationStore $projection.Store = _RetailStoreApplicationStore.Store and _RetailStoreApplicationStore.RetailStoreApplicationCategory = '2'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CMSPWSTORE 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 #MIXED view

OData Services (1)

ServiceBindingVersionContractRelease
UI_RFM_STORE_MOVEPRODWL UI_RFM_STORE_MOVEPRODWL V2 C1 NOT_RELEASED

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Store Site
StoreName SiteName
PointOfSaleStorageLocation
_Settings _Settings
_StorageLocation _StorageLocation
_RetailStoreApplicationStore _RetailStoreApplicationStore
@AbapCatalog.sqlViewName: 'CMSPWSTORE'

@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true

@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_StorageLocation','_Settings']
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #CONSUMPTION
@ObjectModel: {
    representativeKey: 'Store',
    usageType.serviceQuality: #C,
    usageType.sizeCategory: #S,
    usageType.dataClass: #MIXED
}
define view C_MSPWStore
  as select from I_Site
  //    inner join   P_MSPWStorePosStorageLocation on I_Site.Site = P_MSPWStorePosStorageLocation.Store


  association [0..1] to C_MSPWSettings                as _Settings                    on  $projection.Store = _Settings.Store
  association [0..*] to C_MSPWStorageLocation         as _StorageLocation             on  $projection.Store = _StorageLocation.Store
  association [0..*] to I_RetailStoreApplicationStore as _RetailStoreApplicationStore on  $projection.Store                                           = _RetailStoreApplicationStore.Store
                                                                                      and _RetailStoreApplicationStore.RetailStoreApplicationCategory = '2'
{
  key Site                                                               as Store,

      SiteName                                                           as StoreName,

      I_Site._SitePointOfSale._PointOfSaleInboundProfile.StorageLocation as PointOfSaleStorageLocation,
      //      P_MSPWStorePosStorageLocation.StorageLocation as PointOfSaleStorageLocation,


      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
      _Settings,
      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
      _StorageLocation,

      _RetailStoreApplicationStore
}
where
  SiteCategory = 'A'