I_StorageLocationLastRFIDCount

DDL: I_STORAGELOCATIONLASTRFIDCOUNT SQL: ISTRGELCTNLSTCNT Type: view COMPOSITE

Last RFID Count for Storage Location

I_StorageLocationLastRFIDCount is a Composite CDS View that provides data about "Last RFID Count for Storage Location" in SAP S/4HANA. It reads from 1 data source (I_StorageLocation) and exposes 4 fields with key fields Store, StorageLocation. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_StorageLocation I_StorageLocation from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_StoreProductRFIDCount _StoreProductRFIDCount $projection.Store = _StoreProductRFIDCount.Store and $projection.StorageLocation = _StoreProductRFIDCount.StorageLocation
[0..*] I_RetailStoreApplicationStore _RetailStoreApplicationStore $projection.Store = _RetailStoreApplicationStore.Store and _RetailStoreApplicationStore.RetailStoreApplicationCategory = '2'

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ISTRGELCTNLSTCNT view
EndUserText.label Last RFID Count for Storage Location 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 #COMPOSITE view
ObjectModel.representativeKey StorageLocation view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Store Plant
KEY StorageLocation StorageLocation
LastRFIDCountSubmissionDteTme
_RetailStoreApplicationStore _RetailStoreApplicationStore
@AbapCatalog.sqlViewName: 'ISTRGELCTNLSTCNT'
@EndUserText.label: 'Last RFID Count for Storage Location'

@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #COMPOSITE
@ObjectModel: {
    representativeKey: 'StorageLocation',
    usageType.serviceQuality: #C,
    usageType.sizeCategory: #M,
    usageType.dataClass: #MIXED
}
define view I_StorageLocationLastRFIDCount
  as select from I_StorageLocation

  association [0..*] to I_StoreProductRFIDCount       as _StoreProductRFIDCount       on  $projection.Store           = _StoreProductRFIDCount.Store
                                                                                      and $projection.StorageLocation = _StoreProductRFIDCount.StorageLocation
  association [0..*] to I_RetailStoreApplicationStore as _RetailStoreApplicationStore on  $projection.Store                                           = _RetailStoreApplicationStore.Store
                                                                                      and _RetailStoreApplicationStore.RetailStoreApplicationCategory = '2'
{
  key Plant                                                                                                      as Store,
  key StorageLocation,

      cast(max(_StoreProductRFIDCount[ StoreProductRFIDCntProcgStatus = '02' ].SubmissionDateTime) as timestamp) as LastRFIDCountSubmissionDteTme,

      _RetailStoreApplicationStore
}
group by
  Plant,
  StorageLocation
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_STORAGELOCATION",
"I_STOREPRODUCTRFIDCOUNT"
],
"ASSOCIATED":
[
"I_RETAILSTOREAPPLICATIONSTORE",
"I_STOREPRODUCTRFIDCOUNT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/