I_UserGroup
Benutzergruppe
I_UserGroup is a Basic CDS View that provides data about "Benutzergruppe" in SAP S/4HANA. It reads from 1 data source (usgrp) and exposes 2 fields with key field UserGroup. It has 1 association to related views. Part of development package SUSR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| usgrp | usgrp | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_UserGroupText | _UserGroupName | $projection.UserGroup = _UserGroupName.UserGroup |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Benutzergruppe | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | UserGroup | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Metadata.allowExtensions | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserGroup | |||
| _UserGroupName | _UserGroupName |
@EndUserText: { label: 'Benutzergruppe' }
@AccessControl: { authorizationCheck: #PRIVILEGED_ONLY
, privilegedAssociations: [ '_UserGroupName' ]
}
@VDM: { viewType: #BASIC
, lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel: { compositionRoot: true
, representativeKey: 'UserGroup'
, usageType: { dataClass: #MASTER
, serviceQuality: #A
, sizeCategory: #M
}
}
@AbapCatalog: {
viewEnhancementCategory: [ #NONE ]
}
@Metadata: { allowExtensions: true }
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// This view must not be exposed directly, because it exposes internal administration information.
// Therefore, it is also protected by a NULL-DCL.
// It's currently also not possible to release it for Language Version 5 ('ABAP for Cloud
// Development') because it doesn't fulfil the content separation requirements.
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
define view entity I_UserGroup
as select from usgrp
association [0..*] to I_UserGroupText as _UserGroupName on $projection.UserGroup = _UserGroupName.UserGroup
{
@ObjectModel.text.association: '_UserGroupName'
key cast( usgrp.usergroup as vdm_usergroupid preserving type ) as UserGroup,
_UserGroupName
}
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