C_AURSStoreUser
C_AURSStoreUser is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_RetailStoreUserAssignment) and exposes 7 fields with key fields Store, AssignedUser. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RetailStoreUserAssignment | I_RetailStoreUserAssignment | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UserContactCard | _UserContactCard | $projection.AssignedUser = _UserContactCard.ContactCardID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | AssignedUser | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Store | Store | ||
| KEY | AssignedUser | AssignedUser | ||
| FullName | _UserContactCard | FullName | ||
| FirstName | _UserContactCard | FirstName | ||
| LastName | _UserContactCard | LastName | ||
| IsCurrentUser | ||||
| _ParentStore | _ParentStore |
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION
@Metadata.allowExtensions: true
@ObjectModel: {
representativeKey: 'AssignedUser',
usageType.serviceQuality: #C,
usageType.sizeCategory: #L,
usageType.dataClass: #MASTER
}
define view entity C_AURSStoreUser
as select from I_RetailStoreUserAssignment
association to parent C_AURSStore as _ParentStore on $projection.Store = _ParentStore.Store
association [0..1] to I_UserContactCard as _UserContactCard on $projection.AssignedUser = _UserContactCard.ContactCardID
{
key Store,
key AssignedUser,
_UserContactCard.FullName,
_UserContactCard.FirstName,
_UserContactCard.LastName,
cast(case when AssignedUser = $session.user then 'X' else '' end as boolean preserving type) as IsCurrentUser,
_ParentStore
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_RETAILSTOREUSERASSIGNMENT",
"I_USERCONTACTCARD"
],
"ASSOCIATED":
[
"C_AURSSTORE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA