S_Ccl_Code_T_C

DDL: S_CCL_CODE_T_C SQL: S_V_CCL_CODE_T_C Type: view

CCL Value Description Consumption View

S_Ccl_Code_T_C is a CDS View that provides data about "CCL Value Description Consumption View" in SAP S/4HANA. It reads from 1 data source (I_SCCL_CODE_T_TP) and exposes 9 fields with key fields ActiveCodeListID, ActiveCode, ActiveLanguage. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SCCL_CODE_T_TP I_SCCL_CODE_T_TP from

Associations (3)

CardinalityTargetAliasCondition
[1..1] S_Ccl_Code_C _Code $projection.ActiveCodeListID = _Code.ActiveCodeListID and $projection.ActiveCode = _Code.ActiveCode
[1..1] S_Ccl_List_C _List $projection.ActiveCodeListID = _List.ActiveCodeListID
[0..1] I_LanguageText _LanguageText _LanguageText.LanguageCode = $projection.Language and _LanguageText.Language = $session.system_language

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName S_V_CCL_CODE_T_C view
ClientDependent false view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.dataCategory #TEXT view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CCL Value Description Consumption View view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ActiveCodeListID I_SCCL_CODE_T_TP CodeListID Code List ID
KEY ActiveCode I_SCCL_CODE_T_TP Code Water Hazard Cl.
KEY ActiveLanguage I_SCCL_CODE_T_TP Language Report Text Language
Language I_SCCL_CODE_T_TP LanguageForEdit Language
Description I_SCCL_CODE_T_TP Description Translated Description
Transported I_SCCL_CODE_T_TP Transported Truth Value
_Code _Code
_List _List
_LanguageText _LanguageText

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_T_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_T_C

CREATE VIEW S_Ccl_Code_T_C AS
SELECT
  I_SCCL_CODE_T_TP.CodeListID AS ActiveCodeListID,
  I_SCCL_CODE_T_TP.Code AS ActiveCode,
  I_SCCL_CODE_T_TP.Language AS ActiveLanguage,
  I_SCCL_CODE_T_TP.LanguageForEdit AS Language,
  I_SCCL_CODE_T_TP.Description AS Description,
  I_SCCL_CODE_T_TP.Transported AS Transported
FROM I_SCCL_CODE_T_TP
LEFT OUTER JOIN S_Ccl_Code_C AS _Code ON ActiveCodeListID = _Code.ActiveCodeListID AND ActiveCode = _Code.ActiveCode  -- association [1..1]
LEFT OUTER JOIN S_Ccl_List_C AS _List ON ActiveCodeListID = _List.ActiveCodeListID  -- association [1..1]
LEFT OUTER JOIN I_LanguageText AS _LanguageText ON _LanguageText.LanguageCode = Language AND _LanguageText.Language = $session.system_language  -- association [0..1]
;