I_ControlGrouping
Control Grouping
I_ControlGrouping is a Basic CDS View that provides data about "Control Grouping" in SAP S/4HANA. It reads from 1 data source (/sapsll/ccgr) and exposes 11 fields with key fields LegalRegulation, ControlGrouping. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /sapsll/ccgr | /sapsll/ccgr | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TrdClassfctnLglRgln | _LegalRegulation | $projection.LegalRegulation = _LegalRegulation.LegalRegulation |
| [0..*] | I_LegalRegulationText | _LegalRegulationText | $projection.LegalRegulation = _LegalRegulationText.LegalRegulation |
| [0..*] | I_ControlGroupingText | _ControlGroupingText | $projection.LegalRegulation = _ControlGroupingText.LegalRegulation and $projection.ControlGrouping = _ControlGroupingText.ControlGrouping |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Control Grouping | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | ICTRLGRPG | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | ControlGrouping | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | L | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalRegulation | lgreg | ||
| KEY | ControlGrouping | congr | ||
| CreatedByUser | ||||
| CreationDateTime | ||||
| LastChangedByUser | ||||
| LastChangeDateTime | ||||
| _LegalRegulation | _LegalRegulation | |||
| _LegalRegulationText | _LegalRegulationText | |||
| _ControlGroupingText | _ControlGroupingText | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser |
@EndUserText.label: 'Control Grouping'
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'ICTRLGRPG'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: [ '_CreatedByUser' , '_LastChangedByUser' ]
@ObjectModel.representativeKey: 'ControlGrouping'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: 'L'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #MASTER
define view I_ControlGrouping
as select from /sapsll/ccgr
association [0..1] to I_TrdClassfctnLglRgln as _LegalRegulation on $projection.LegalRegulation = _LegalRegulation.LegalRegulation
association [0..*] to I_LegalRegulationText as _LegalRegulationText on $projection.LegalRegulation = _LegalRegulationText.LegalRegulation
association [0..*] to I_ControlGroupingText as _ControlGroupingText on $projection.LegalRegulation = _ControlGroupingText.LegalRegulation
and $projection.ControlGrouping = _ControlGroupingText.ControlGrouping
association [0..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
{
@ObjectModel.foreignKey.association: '_LegalRegulation'
@ObjectModel.text.association: '_LegalRegulationText'
key lgreg as LegalRegulation,
@ObjectModel.text.association: '_ControlGroupingText'
key congr as ControlGrouping,
@Semantics.user.createdBy: true
cast (crea_uname as /sapsll/ernam_itr ) as CreatedByUser,
@Semantics.systemDate.createdAt: true
cast (crea_date_time as sll_creadatetime ) as CreationDateTime,
@Semantics.user.lastChangedBy: true
cast (lchg_uname as /sapsll/aenam_itr ) as LastChangedByUser,
@Semantics.systemDate.lastChangedAt: true
cast (lchg_date_time as sll_lchgdatetime) as LastChangeDateTime,
_LegalRegulation,
_LegalRegulationText,
_ControlGroupingText,
_CreatedByUser,
_LastChangedByUser
}
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