I_ControlGroupingText

DDL: I_CONTROLGROUPINGTEXT SQL: ICTRLGRPGTXT Type: view BASIC

Control Grouping Text

I_ControlGroupingText is a Basic CDS View that provides data about "Control Grouping Text" in SAP S/4HANA. It reads from 1 data source (/sapsll/ccgrt) and exposes 7 fields with key fields LegalRegulation, ControlGrouping, Language. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/sapsll/ccgrt /sapsll/ccgrt from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_TrdClassfctnLglRgln _LegalRegulation $projection.LegalRegulation = _LegalRegulation.LegalRegulation
[0..1] I_ControlGrouping _ControlGrouping $projection.LegalRegulation = _ControlGrouping.LegalRegulation and $projection.ControlGrouping = _ControlGrouping.ControlGrouping
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (10)

NameValueLevelField
EndUserText.label Control Grouping Text view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
AbapCatalog.sqlViewName ICTRLGRPGTXT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ControlGrouping view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #MASTER view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY LegalRegulation lgreg Legal Regulation
KEY ControlGrouping congr Control Grouping
KEY Language langu Primary lang.
ControlGroupingName Vertikalization Text
_LegalRegulation _LegalRegulation
_ControlGrouping _ControlGrouping
_Language _Language

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_ControlGroupingText.
-- 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: ICTRLGRPGTXT

CREATE VIEW I_ControlGroupingText AS
SELECT
  lgreg AS LegalRegulation,
  congr AS ControlGrouping,
  langu AS Language,
  cast( text1 as /sapsll/cgrpt preserving type ) AS ControlGroupingName
FROM /sapsll/ccgrt
LEFT OUTER JOIN I_TrdClassfctnLglRgln AS _LegalRegulation ON LegalRegulation = _LegalRegulation.LegalRegulation  -- association [0..1]
LEFT OUTER JOIN I_ControlGrouping AS _ControlGrouping ON LegalRegulation = _ControlGrouping.LegalRegulation AND ControlGrouping = _ControlGrouping.ControlGrouping  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;