S_Ccl_Code_C

DDL: S_CCL_CODE_C SQL: S_V_CCL_CODE_C Type: view

Code List Code Value Consumption View

S_Ccl_Code_C is a CDS View that provides data about "Code List Code Value Consumption View" in SAP S/4HANA. It reads from 1 data source (i_SCcl_Code_TP) and exposes 8 fields with key fields ActiveCodeListID, ActiveCode. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
i_SCcl_Code_TP i_SCcl_Code_TP from

Associations (2)

CardinalityTargetAliasCondition
[0..*] S_Ccl_Code_T_C _Text $projection.ActiveCodeListID = _Text.ActiveCodeListID and $projection.ActiveCode = _Text.ActiveCode
[1..1] S_Ccl_List_C _List $projection.ActiveCodeListID = _List.ActiveCodeListID

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName S_V_CCL_CODE_C view
ClientDependent false view
ObjectModel.transactionalProcessingDelegated true view
Search.searchable true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Code List Code Value Consumption View view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ActiveCodeListID i_SCcl_Code_TP CodeListID Code List ID
KEY ActiveCode i_SCcl_Code_TP Code Water Hazard Cl.
Code i_SCcl_Code_TP CodeForEdit Code Value
IsDisabled i_SCcl_Code_TP IsDisabled TRUE
Description i_SCcl_Code_TP Description Description
Transported i_SCcl_Code_TP Transported Truth Value
_List _List
_Text _Text

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 S_Ccl_Code_C.
-- 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: S_V_CCL_CODE_C

CREATE VIEW S_Ccl_Code_C AS
SELECT
  i_SCcl_Code_TP.CodeListID AS ActiveCodeListID,
  i_SCcl_Code_TP.Code AS ActiveCode,
  i_SCcl_Code_TP.CodeForEdit AS Code,
  i_SCcl_Code_TP.IsDisabled AS IsDisabled,
  i_SCcl_Code_TP.Description AS Description,
  i_SCcl_Code_TP.Transported AS Transported
FROM i_SCcl_Code_TP
LEFT OUTER JOIN S_Ccl_Code_T_C AS _Text ON ActiveCodeListID = _Text.ActiveCodeListID AND ActiveCode = _Text.ActiveCode  -- association [0..*]
LEFT OUTER JOIN S_Ccl_List_C AS _List ON ActiveCodeListID = _List.ActiveCodeListID  -- association [1..1]
;