I_ControlGrouping

DDL: I_CONTROLGROUPING SQL: ICTRLGRPG Type: view BASIC

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)

SourceAliasJoin Type
/sapsll/ccgr /sapsll/ccgr from

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY LegalRegulation lgreg Legal Regulation
KEY ControlGrouping congr Control Grouping
CreatedByUser User Name
CreationDateTime Time Stamp
LastChangedByUser User Name
LastChangeDateTime Time Stamp
_LegalRegulation _LegalRegulation
_LegalRegulationText _LegalRegulationText
_ControlGroupingText _ControlGroupingText
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ControlGrouping.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ICTRLGRPG

CREATE VIEW I_ControlGrouping AS
SELECT
  lgreg AS LegalRegulation,
  congr AS ControlGrouping,
  cast (crea_uname as /sapsll/ernam_itr ) AS CreatedByUser,
  cast (crea_date_time as sll_creadatetime ) AS CreationDateTime,
  cast (lchg_uname as /sapsll/aenam_itr ) AS LastChangedByUser,
  cast (lchg_date_time as sll_lchgdatetime) AS LastChangeDateTime
FROM /sapsll/ccgr
LEFT OUTER JOIN I_TrdClassfctnLglRgln AS _LegalRegulation ON LegalRegulation = _LegalRegulation.LegalRegulation  -- association [0..1]
LEFT OUTER JOIN I_LegalRegulationText AS _LegalRegulationText ON LegalRegulation = _LegalRegulationText.LegalRegulation  -- association [0..*]
LEFT OUTER JOIN I_ControlGroupingText AS _ControlGroupingText ON LegalRegulation = _ControlGroupingText.LegalRegulation AND ControlGrouping = _ControlGroupingText.ControlGrouping  -- association [0..*]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
;