S_Ccl_Code_C
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)
| Source | Alias | Join Type |
|---|---|---|
| i_SCcl_Code_TP | i_SCcl_Code_TP | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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