I_CONTROLGROUPING

CDS View

Control Grouping

I_CONTROLGROUPING is a CDS View in S/4HANA. Control Grouping. It contains 4 fields. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
C_ControlGroupingByLanguage view from CONSUMPTION
I_ControlGroupingVH view from BASIC Control Grouping Value Help

Fields (4)

KeyField CDS FieldsUsed in Views
KEY ControlGrouping ControlGrouping 1
KEY LegalRegulation LegalRegulation 1
_LegalRegulation _LegalRegulation 1
_LegalRegulationText _LegalRegulationText 1
@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
}