ESH_N_ACTIVITY_TYPE_CSLA
Activity master
ESH_N_ACTIVITY_TYPE_CSLA is a CDS View that provides data about "Activity master" in SAP S/4HANA. It reads from 1 data source (csla) and exposes 21 fields with key fields kokrs, lstar, datbi. It has 9 associations to related views. Part of development package BSESH_CO_OM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| csla | csla | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | ESH_N_ACTIVITY_TYPE_CSSL | _TO_CSSL | $projection.kokrs = _TO_CSSL.kokrs and $projection.lstar = _TO_CSSL.lstar |
| [0..*] | cslt | _TO_CSLT | $projection.kokrs = _TO_CSLT.kokrs and $projection.lstar = _TO_CSLT.lstar and $projection.datbi = _TO_CSLT.datbi |
| [0..*] | dd07t | _CSLA2DD07T | $projection.latyp = _CSLA2DD07T.domvalue_l and _CSLA2DD07T.domname = 'LATYP' |
| [0..*] | ESH_N_UNIT_OF_MEASURE_T006A | _CSLA2T006A | $projection.leinh = _CSLA2T006A.msehi |
| [1..1] | tka01 | _CSLA2TKA01 | $projection.kokrs = _CSLA2TKA01.kokrs |
| [1..1] | ESH_N_TKA10_TKA10 | _CSLA2TKA10 | $projection.tarkz = _CSLA2TKA10.tarkz |
| [0..*] | tkt05 | _CSLA2TKT05 | $projection.kstty = _CSLA2TKT05.kosar |
| [1..1] | ESH_N_USER_USER | _CSLA2USER | $projection.usnam = _CSLA2USER.bname |
| [0..*] | ESH_N_XFELD_3_XFELD | _CSLA2XFELD | $projection.sprkz = _CSLA2XFELD.domvalue_l |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ESH_L_ACTIV_CSLA | view | |
| EndUserText.label | Activity master | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #INHERITED | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | kokrs | kokrs | Org. Value | |
| KEY | lstar | lstar | Activity Type | |
| KEY | datbi | datbi | Validity period | |
| datab | datab | Validity period | ||
| leinh | leinh | Unit | ||
| latyp | latyp | ATyp category | ||
| ersda | ersda | Entry Date | ||
| usnam | usnam | User Name | ||
| kstty | kstty | CCtr Categories | ||
| vksta | vksta | Alloc. CElem | ||
| sprkz | sprkz | Lock indicator | ||
| tarkz | tarkz | Price indicator | ||
| _TO_CSSL | _TO_CSSL | |||
| _TO_CSLT | _TO_CSLT | |||
| _CSLA2DD07T | _CSLA2DD07T | |||
| _CSLA2T006A | _CSLA2T006A | |||
| _CSLA2TKA01 | _CSLA2TKA01 | |||
| _CSLA2TKA10 | _CSLA2TKA10 | |||
| _CSLA2TKT05 | _CSLA2TKT05 | |||
| _CSLA2USER | _CSLA2USER | |||
| _CSLA2XFELD | _CSLA2XFELD |
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 ESH_N_ACTIVITY_TYPE_CSLA.
-- 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: ESH_L_ACTIV_CSLA
CREATE VIEW ESH_N_ACTIVITY_TYPE_CSLA AS
SELECT
kokrs,
lstar,
datbi,
datab,
leinh,
latyp,
ersda,
usnam,
kstty,
vksta,
sprkz,
tarkz
FROM csla
LEFT OUTER JOIN ESH_N_ACTIVITY_TYPE_CSSL AS _TO_CSSL ON kokrs = _TO_CSSL.kokrs AND lstar = _TO_CSSL.lstar -- association [0..*]
LEFT OUTER JOIN cslt AS _TO_CSLT ON kokrs = _TO_CSLT.kokrs AND lstar = _TO_CSLT.lstar AND datbi = _TO_CSLT.datbi -- association [0..*]
LEFT OUTER JOIN dd07t AS _CSLA2DD07T ON latyp = _CSLA2DD07T.domvalue_l AND _CSLA2DD07T.domname = 'LATYP' -- association [0..*]
LEFT OUTER JOIN ESH_N_UNIT_OF_MEASURE_T006A AS _CSLA2T006A ON leinh = _CSLA2T006A.msehi -- association [0..*]
LEFT OUTER JOIN tka01 AS _CSLA2TKA01 ON kokrs = _CSLA2TKA01.kokrs -- association [1..1]
LEFT OUTER JOIN ESH_N_TKA10_TKA10 AS _CSLA2TKA10 ON tarkz = _CSLA2TKA10.tarkz -- association [1..1]
LEFT OUTER JOIN tkt05 AS _CSLA2TKT05 ON kstty = _CSLA2TKT05.kosar -- association [0..*]
LEFT OUTER JOIN ESH_N_USER_USER AS _CSLA2USER ON usnam = _CSLA2USER.bname -- association [1..1]
LEFT OUTER JOIN ESH_N_XFELD_3_XFELD AS _CSLA2XFELD ON sprkz = _CSLA2XFELD.domvalue_l -- 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