I_TrdCmplncLicCtrlGrouping

DDL: I_TRDCMPLNCLICCTRLGROUPING SQL: ITRDCMPLCTLGRP Type: view BASIC

License Control Groupings

I_TrdCmplncLicCtrlGrouping is a Basic CDS View that provides data about "License Control Groupings" in SAP S/4HANA. It reads from 2 data sources (I_TrdCmplncLicHeader, /sapsll/lclicc) and exposes 8 fields with key field TrdCmplncLicCtrlGrpgUUID. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_TrdCmplncLicHeader _LicHeader inner
/sapsll/lclicc ControlGrouping from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_TrdCmplncLicHeader _TrdCmplncLicHeader _TrdCmplncLicHeader.TrdCmplncLicenseUUID = $projection.TrdCmplncLicenseUUID
[0..1] I_ControlGroupingVH _ControlGrouping _ControlGrouping.LegalRegulation = $projection.LegalRegulation and _ControlGrouping.ControlGrouping = $projection.ControlGrouping
[0..*] I_ControlGroupingText _ControlGroupingText _ControlGroupingText.LegalRegulation = $projection.LegalRegulation and _ControlGroupingText.ControlGrouping = $projection.ControlGrouping

Annotations (8)

NameValueLevelField
EndUserText.label License Control Groupings view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName ITRDCMPLCTLGRP view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY TrdCmplncLicCtrlGrpgUUID /sapsll/lclicc db_key UUID
TrdCmplncLicenseUUID /sapsll/lclicc parent_key UUID
ControlGrouping /sapsll/lclicc congr Control Grouping
LegalRegulation I_TrdCmplncLicHeader LegalRegulation Legal Regulation
_LegalRegulation _LegalRegulation
_ControlGrouping _ControlGrouping
_ControlGroupingText _ControlGroupingText
_TrdCmplncLicHeader _TrdCmplncLicHeader

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_TrdCmplncLicCtrlGrouping.
-- 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: ITRDCMPLCTLGRP

CREATE VIEW I_TrdCmplncLicCtrlGrouping AS
SELECT
  ControlGrouping.db_key AS TrdCmplncLicCtrlGrpgUUID,
  ControlGrouping.parent_key AS TrdCmplncLicenseUUID,
  ControlGrouping.congr AS ControlGrouping,
  _LicHeader.LegalRegulation AS LegalRegulation
FROM /sapsll/lclicc AS ControlGrouping
INNER JOIN I_TrdCmplncLicHeader AS _LicHeader ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_TrdCmplncLicHeader AS _TrdCmplncLicHeader ON _TrdCmplncLicHeader.TrdCmplncLicenseUUID = TrdCmplncLicenseUUID  -- association [0..1]
LEFT OUTER JOIN I_ControlGroupingVH AS _ControlGrouping ON _ControlGrouping.LegalRegulation = LegalRegulation AND _ControlGrouping.ControlGrouping = ControlGrouping  -- association [0..1]
LEFT OUTER JOIN I_ControlGroupingText AS _ControlGroupingText ON _ControlGroupingText.LegalRegulation = LegalRegulation AND _ControlGroupingText.ControlGrouping = ControlGrouping  -- association [0..*]
;