C_EHSLocationClassifierDEX

DDL: C_EHSLOCATIONCLASSIFIERDEX Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
I_EHSLocClassifier EHSLocClassifier from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_EHSLocationRevisionBasic _EHSLocationRevisionBasic $projection.EHSLocationUUID = _EHSLocationRevisionBasic.EHSLocationUUID

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/