S_Ccl_List_C
Code List Consumption View
S_Ccl_List_C is a CDS View that provides data about "Code List Consumption View" in SAP S/4HANA. It reads from 1 data source (i_sccl_list_tp) and exposes 22 fields with key field ActiveCodeListID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| i_sccl_list_tp | i_sccl_list_tp | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | S_Ccl_Code_C | _Code | $projection.ActiveCodeListID = _Code.ActiveCodeListID |
| [0..*] | S_Ccl_Code_T_C | _Text | $projection.ActiveCodeListID = _Text.ActiveCodeListID |
| [0..1] | I_LanguageText | _OriginalLanguageText | _OriginalLanguageText.LanguageCode = $projection.OriginalLanguage and _OriginalLanguageText.Language = $session.system_language |
| [0..1] | S_Ccl_User | _LastChangedByText | _LastChangedByText.Name = $projection.LastChangedBy |
| [0..1] | S_Ccl_User | _CreatedByText | _CreatedByText.Name = $projection.CreatedBy |
| [0..1] | S_Ccl_Domain_Value_Description | _PublishStateText | _PublishStateText.domainname = 'SCCL_PUBLISH_STATE' and _PublishStateText.code = $projection.PublishState and _PublishStateText.language = $session.system_language |
| [0..*] | S_Ccl_Vh_Trans_Lang_Existing | _ExistingTranslLangValueHelp | _ExistingTranslLangValueHelp.ActiveCodeListID = $projection.ActiveCodeListID |
| [0..*] | S_Ccl_Vh_Trans_Lang_New | _NewTranslLangValueHelp | _NewTranslLangValueHelp.Language <> $projection.OriginalLanguage |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | S_V_CCL_LIST_C | view | |
| ClientDependent | false | view | |
| Search.searchable | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Code List Consumption View | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ActiveCodeListID | i_sccl_list_tp | CodeListID | Code List ID |
| CodeListID | i_sccl_list_tp | CodeListIDForEdit | Code List ID | |
| Description | i_sccl_list_tp | Description | Well Code Des. | |
| Transported | i_sccl_list_tp | Transported | Truth Value | |
| PublishState | i_sccl_list_tp | PublishState | Publish State | |
| CodeLength | i_sccl_list_tp | CodeLength | code length | |
| OriginalLanguage | i_sccl_list_tp | OriginalLanguage | Original Language | |
| OriginalRelease | i_sccl_list_tp | OriginalRelease | Release | |
| CreatedBy | i_sccl_list_tp | CreatedBy | User Name | |
| CreatedAt | i_sccl_list_tp | CreatedAt | Time Stamp | |
| LastChangedBy | i_sccl_list_tp | LastChangedBy | User Name | |
| LastChangedAt | i_sccl_list_tp | LastChangedAt | Time Stamp | |
| NumFinishedStep | i_sccl_list_tp | NumFinishedStep | ||
| NumTotalSteps | i_sccl_list_tp | NumTotalSteps | ||
| _Text | _Text | |||
| _Code | _Code | |||
| _ExistingTranslLangValueHelp | _ExistingTranslLangValueHelp | |||
| _NewTranslLangValueHelp | _NewTranslLangValueHelp | |||
| _OriginalLanguageText | _OriginalLanguageText | |||
| _LastChangedByText | _LastChangedByText | |||
| _CreatedByText | _CreatedByText | |||
| _PublishStateText | _PublishStateText |
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_List_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_LIST_C
CREATE VIEW S_Ccl_List_C AS
SELECT
i_sccl_list_tp.CodeListID AS ActiveCodeListID,
i_sccl_list_tp.CodeListIDForEdit AS CodeListID,
i_sccl_list_tp.Description AS Description,
i_sccl_list_tp.Transported AS Transported,
i_sccl_list_tp.PublishState AS PublishState,
i_sccl_list_tp.CodeLength AS CodeLength,
i_sccl_list_tp.OriginalLanguage AS OriginalLanguage,
i_sccl_list_tp.OriginalRelease AS OriginalRelease,
i_sccl_list_tp.CreatedBy AS CreatedBy,
i_sccl_list_tp.CreatedAt AS CreatedAt,
i_sccl_list_tp.LastChangedBy AS LastChangedBy,
i_sccl_list_tp.LastChangedAt AS LastChangedAt,
i_sccl_list_tp.NumFinishedStep AS NumFinishedStep,
i_sccl_list_tp.NumTotalSteps AS NumTotalSteps
FROM i_sccl_list_tp
LEFT OUTER JOIN S_Ccl_Code_C AS _Code ON ActiveCodeListID = _Code.ActiveCodeListID -- association [0..*]
LEFT OUTER JOIN S_Ccl_Code_T_C AS _Text ON ActiveCodeListID = _Text.ActiveCodeListID -- association [0..*]
LEFT OUTER JOIN I_LanguageText AS _OriginalLanguageText ON _OriginalLanguageText.LanguageCode = OriginalLanguage AND _OriginalLanguageText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN S_Ccl_User AS _LastChangedByText ON _LastChangedByText.Name = LastChangedBy -- association [0..1]
LEFT OUTER JOIN S_Ccl_User AS _CreatedByText ON _CreatedByText.Name = CreatedBy -- association [0..1]
LEFT OUTER JOIN S_Ccl_Domain_Value_Description AS _PublishStateText ON _PublishStateText.domainname = 'SCCL_PUBLISH_STATE' AND _PublishStateText.code = PublishState AND _PublishStateText.language = $session.system_language -- association [0..1]
LEFT OUTER JOIN S_Ccl_Vh_Trans_Lang_Existing AS _ExistingTranslLangValueHelp ON _ExistingTranslLangValueHelp.ActiveCodeListID = ActiveCodeListID -- association [0..*]
LEFT OUTER JOIN S_Ccl_Vh_Trans_Lang_New AS _NewTranslLangValueHelp ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA