C_EHSLocationClassifierDEX
Location Classifier Data Extractor
C_EHSLocationClassifierDEX is a Consumption CDS View (Dimension) that provides data about "Location Classifier Data Extractor" in SAP S/4HANA. It reads from 1 data source (I_EHSLocClassifier) and exposes 7 fields with key field EHSLocClassifierUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSLocClassifier | EHSLocClassifier | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_EHSLocationRevisionBasic | _EHSLocationRevisionBasic | $projection.EHSLocationUUID = _EHSLocationRevisionBasic.EHSLocationUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Location Classifier Data Extractor | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Metadata.allowExtensions | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSLocClassifierUUID | I_EHSLocClassifier | EHSLocClassifierUUID | |
| EHSLocationID | EHSLocationRoot | EHSLocationID | ||
| EHSLocClassifierID | EHSClassifierRoot | EHSLocClassifierID | ||
| EHSLocClassifierCentralID | EHSClassifierRoot | EHSLocClassifierCentralID | ||
| EHSLocationUUID | EHSLocationRoot | EHSLocationUUID | ||
| LocationMigrationSource | EHSLocationRoot | LocationMigrationSource | ||
| _EHSLocationRevisionBasic | _EHSLocationRevisionBasic |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Location Classifier Data Extractor'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #M,
dataClass: #MIXED
}
@ObjectModel.supportedCapabilities: [ #EXTRACTION_DATA_SOURCE ]
@VDM.viewType: #CONSUMPTION
@Analytics: {
dataCategory: #DIMENSION,
internalName: #LOCAL,
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
mapping: [{
table: 'ehfndd_loc_clsf',
role: #MAIN,
viewElement: ['EHSLocClassifierUUID'],
tableElement: ['db_key']
}, {
table: 'ehfndd_clsf_rt',
role: #LEFT_OUTER_TO_ONE_JOIN,
viewElement: ['EHSLocClassifierID', 'EHSLocClassifierCentralID'],
tableElement: ['bco_id', 'bco_key']
}, {
table: 'ehfndd_loc_root',
role: #LEFT_OUTER_TO_ONE_JOIN,
viewElement: ['EHSLocationUUID'],
tableElement: ['db_key']
}]
}
}
}
@Metadata.allowExtensions: true
define view entity C_EHSLocationClassifierDEX
as select from I_EHSLocClassifier as EHSLocClassifier
left outer to one join I_EHSClassifierRoot as EHSClassifierRoot on EHSLocClassifier.EHSLocClassifierRefUUID = EHSClassifierRoot.EHSClassifierUUID
left outer to one join I_EHSLocationRoot as EHSLocationRoot on EHSLocClassifier.EHSLocationUUID = EHSLocationRoot.EHSLocationUUID
association [0..*] to I_EHSLocationRevisionBasic as _EHSLocationRevisionBasic on $projection.EHSLocationUUID = _EHSLocationRevisionBasic.EHSLocationUUID
{
key EHSLocClassifier.EHSLocClassifierUUID,
EHSLocationRoot.EHSLocationID,
EHSClassifierRoot.EHSLocClassifierID,
EHSClassifierRoot.EHSLocClassifierCentralID,
EHSLocationRoot.EHSLocationUUID,
EHSLocationRoot.LocationMigrationSource,
// Needed for DCL
_EHSLocationRevisionBasic
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EHSCLASSIFIERROOT",
"I_EHSLOCATIONROOT",
"I_EHSLOCCLASSIFIER"
],
"ASSOCIATED":
[
"I_EHSLOCATIONREVISIONBASIC"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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