I_ControlClassForKeyDate

DDL: I_CONTROLCLASSFORKEYDATE SQL: ICTRLCLFORKDATE Type: view COMPOSITE Package: VDM_SLL_CLS

Control Class for Key Date

I_ControlClassForKeyDate is a Composite CDS View that provides data about "Control Class for Key Date" in SAP S/4HANA. It reads from 2 data sources (I_TrdClassfctnNmbrSchmCntntAct, I_ControlClass) and exposes 12 fields with key fields LegalRegulation, ControlClass. It has 1 association to related views. Part of development package VDM_SLL_CLS.

Data Sources (2)

SourceAliasJoin Type
I_TrdClassfctnNmbrSchmCntntAct _TrdClassfctnNmbrSchmCntntAct inner
I_ControlClass ControlClass from

Parameters (1)

NameTypeDefault
P_KeyDate sll_validon

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_TrdClassfctnLglRgln _LegalRegulation _LegalRegulation.LegalRegulation = $projection.legalregulation and _LegalRegulation.CtrlClNmbrSchm = _TrdClassfctnNmbrSchmCntntAct.TrdClassfctnNmbrSchm

Annotations (10)

NameValueLevelField
EndUserText.label Control Class for Key Date view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName ICTRLCLFORKDATE view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ControlClass view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY LegalRegulation _LegalRegulation LegalRegulation
KEY ControlClass ControlClass
TrdClassfctnNmbrSchm I_TrdClassfctnNmbrSchmCntntAct TrdClassfctnNmbrSchm Numbering Scheme
TrdClassfctnNmbrSchmCntnt I_ControlClass TrdClassfctnNmbrSchmCntnt No. Scheme Content
ValidityStartDate I_ControlClass ValidityStartDate Validity Start Date
ValidityEndDate I_ControlClass ValidityEndDate ValidTo
TrdClassfctnNmbrForOfclDesc TrdClassfctnNmbrForOfclDesc
TrdClassfctnNmbrForCnctntdDesc TrdClassfctnNmbrForCnctntdDesc
_OfficialDesc _OfficialDesc
_CnctntdDesc _CnctntdDesc
_TrdClassfctnNmbrSchmCntnt _TrdClassfctnNmbrSchmCntnt
_TrdClassfctnNmbrSchm I_TrdClassfctnNmbrSchmCntntAct _TrdClassfctnNmbrSchm

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_ControlClassForKeyDate.
-- 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: ICTRLCLFORKDATE
-- Parameters: P_KeyDate : sll_validon

CREATE VIEW I_ControlClassForKeyDate AS
SELECT
  _LegalRegulation.LegalRegulation AS LegalRegulation,
  ControlClass,
  _TrdClassfctnNmbrSchmCntntAct.TrdClassfctnNmbrSchm AS TrdClassfctnNmbrSchm,
  ControlClass.TrdClassfctnNmbrSchmCntnt AS TrdClassfctnNmbrSchmCntnt,
  ControlClass.ValidityStartDate AS ValidityStartDate,
  ControlClass.ValidityEndDate AS ValidityEndDate,
  TrdClassfctnNmbrForOfclDesc,
  TrdClassfctnNmbrForCnctntdDesc,
  _TrdClassfctnNmbrSchmCntntAct._TrdClassfctnNmbrSchm AS _TrdClassfctnNmbrSchm
FROM I_ControlClass AS ControlClass
INNER JOIN I_TrdClassfctnNmbrSchmCntntAct AS _TrdClassfctnNmbrSchmCntntAct ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_TrdClassfctnLglRgln AS _LegalRegulation ON _LegalRegulation.LegalRegulation = legalregulation AND _LegalRegulation.CtrlClNmbrSchm = _TrdClassfctnNmbrSchmCntntAct.TrdClassfctnNmbrSchm  -- association [0..1]
;