CSN_EXPOSURE_CDS
CSN Entities
CSN_EXPOSURE_CDS is a CDS View that provides data about "CSN Entities" in SAP S/4HANA. It reads from 7 data sources and exposes 12 fields with key field EntityName. It has 3 associations to related views. Part of development package S_ESH_ENG_CSN.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| df14l | appl_comps | left_outer |
| ddldependency | dep | inner |
| dd03nd | elements | left_outer |
| esh_csn_cdscsn | esh_csn_cdscsn | from |
| ddheadanno | header_annos | left_outer |
| ddddlsrc | src | inner |
| dd02b | stob | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | abap.lang |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | df14t | _ac_text | _ac_text.fctr_id = appl_comps.fctr_id and _ac_text.as4local = 'A' and _ac_text.addon = '' |
| [0..*] | ddddlsrc02bt | _label_text | _label_text.ddlname = dep.ddlname and _label_text.strucobjn = stob.strucobjn and _label_text.as4local = stob.as4local |
| [0..*] | tdevct | _tdevct | _tdevct.devclass = esh_csn_cdscsn.software_component |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSNEXPCDSDEF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | CSN Entities | view | |
| Search.searchable | true | view | |
| EnterpriseSearch.enabled | true | view | |
| UI.headerInfo.title.value | ENTITYNAME | view | |
| Metadata.allowExtensions | true | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EntityName | esh_csn_cdscsn | cds_entity_name_raw | Entity Name |
| EntityLabel | Entity Label | |||
| ReleaseContract | esh_csn_cdscsn | release_contract | Release Contract | |
| ReleaseState | esh_csn_cdscsn | release_state | Release State | |
| ModelingPattern | esh_csn_cdscsn | modeling_pattern | Modeling Pattern | |
| HeaderAnnotationName | ddheadanno | name | Header Annotation Name | |
| HeaderAnnotationValue | ddheadanno | value | Header Annotation Value | |
| ApplicationComponent | esh_csn_cdscsn | application_component | Application Component | |
| ApplicationComponentText | Application Component Description | |||
| Field | dd03nd | fieldname | Field | |
| SoftwareComponent | esh_csn_cdscsn | software_component | Software Component | |
| ComponentText | Software Component Description |
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 CSN_EXPOSURE_CDS.
-- 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: CSNEXPCDSDEF
-- Parameters: P_Language : abap.lang
CREATE VIEW CSN_EXPOSURE_CDS AS
SELECT
esh_csn_cdscsn.cds_entity_name_raw AS EntityName,
_label_text[1: ddlanguage = $parameters.P_Language].ddtext AS EntityLabel,
esh_csn_cdscsn.release_contract AS ReleaseContract,
esh_csn_cdscsn.release_state AS ReleaseState,
esh_csn_cdscsn.modeling_pattern AS ModelingPattern,
header_annos.name AS HeaderAnnotationName,
header_annos.value AS HeaderAnnotationValue,
esh_csn_cdscsn.application_component AS ApplicationComponent,
_ac_text[1: langu = $parameters.P_Language].name AS ApplicationComponentText,
elements.fieldname AS Field,
esh_csn_cdscsn.software_component AS SoftwareComponent,
_tdevct[1: spras = $parameters.P_Language].ctext AS ComponentText
FROM esh_csn_cdscsn
INNER JOIN dd02b AS stob ON /* join condition not captured in parsed metadata */
INNER JOIN ddldependency AS dep ON /* join condition not captured in parsed metadata */
INNER JOIN ddddlsrc AS src ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS header_annos ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd03nd AS elements ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN df14l AS appl_comps ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN df14t AS _ac_text ON _ac_text.fctr_id = appl_comps.fctr_id AND _ac_text.as4local = 'A' AND _ac_text.addon = '' -- association [0..*]
LEFT OUTER JOIN ddddlsrc02bt AS _label_text ON _label_text.ddlname = dep.ddlname AND _label_text.strucobjn = stob.strucobjn AND _label_text.as4local = stob.as4local -- association [0..*]
LEFT OUTER JOIN tdevct AS _tdevct ON _tdevct.devclass = esh_csn_cdscsn.software_component -- 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