C_ChmlCmplncPrimMatlDEX

DDL: C_CHMLCMPLNCPRIMMATLDEX Type: view_entity CONSUMPTION Package: EHFND_CNS_CCI

Chemical Compliance Primary Material Data Extraction

C_ChmlCmplncPrimMatlDEX is a Consumption CDS View (Dimension) that provides data about "Chemical Compliance Primary Material Data Extraction" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 17 fields with key field ChmlCmplncInfoUUID. Part of development package EHFND_CNS_CCI.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncInfo ChmlCmplncInfo from

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Chemical Compliance Primary Material Data Extraction view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.sapObjectNodeType.name ChemicalComplianceInfo view
VDM.viewType #CONSUMPTION view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Metadata.allowExtensions true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID I_ChmlCmplncInfo ChmlCmplncInfoUUID
ProdStewardshipRespUnit I_ChmlCmplncInfo ProdStewardshipRespUnit
DngrsGdsRespUnit I_ChmlCmplncInfo DngrsGdsRespUnit
ChmlCmplncInfoType I_ChmlCmplncInfo ChmlCmplncInfoType
ChmlCmplncInternalName I_ChmlCmplncInfo ChmlCmplncInternalName
MaterialIsBaseProduct I_ChmlCmplncInfo MaterialIsBaseProduct
MaterialIsSold I_ChmlCmplncInfo MaterialIsSold
MaterialIsTransported I_ChmlCmplncInfo MaterialIsTransported
MaterialIsSourced I_ChmlCmplncInfo MaterialIsSourced
MaterialIsProduced I_ChmlCmplncInfo MaterialIsProduced
MaterialIsDisposed I_ChmlCmplncInfo MaterialIsDisposed
MaterialIsEmissionRelevant I_ChmlCmplncInfo MaterialIsEmissionRelevant
Specification
SpecificationInternalID I_ChmlCmplncInfo SpecificationInternalID
ChmlCmplncProdIsResearched I_ChmlCmplncInfo ChmlCmplncProdIsResearched
ChmlCmplncMatlAssgmtUUID ChmlCmplncMatlAssgmt ChmlCmplncMatlAssgmtUUID
Material ChmlCmplncMatlAssgmt Material
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Chemical Compliance Primary Material Data Extraction'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #L,
  dataClass: #MIXED
}
@ObjectModel.supportedCapabilities: [ #EXTRACTION_DATA_SOURCE ]
@ObjectModel.sapObjectNodeType.name: 'ChemicalComplianceInfo'
@VDM.viewType: #CONSUMPTION
@Analytics: {
  dataCategory: #DIMENSION,
  internalName: #LOCAL,
  dataExtraction: {
    enabled: true,
    delta.changeDataCapture: {
      mapping: [{
        table: 'ehfndd_cci',
        role: #MAIN,
        viewElement: ['ChmlCmplncInfoUUID'],
        tableElement: ['uuid']
      }, {
        table: 'ehfndd_cci_mat',
        role: #LEFT_OUTER_TO_ONE_JOIN,
        viewElement: ['ChmlCmplncMatlAssgmtUUID'],
        tableElement: ['uuid']
      }]
    }
  }
}
@Metadata.allowExtensions: true
define view entity C_ChmlCmplncPrimMatlDEX
  as select from           I_ChmlCmplncInfo       as ChmlCmplncInfo
    left outer to one join I_ChmlCmplncMatlAssgmt as ChmlCmplncMatlAssgmt on  ChmlCmplncInfo.ChmlCmplncInfoUUID        = ChmlCmplncMatlAssgmt.ChmlCmplncInfoUUID
                                                                          and ChmlCmplncMatlAssgmt.MatlAssgmtIsPrimary = 'X'
{
  key ChmlCmplncInfo.ChmlCmplncInfoUUID,
      ChmlCmplncInfo.ProdStewardshipRespUnit,
      ChmlCmplncInfo.DngrsGdsRespUnit,
      ChmlCmplncInfo.ChmlCmplncInfoType,
      ChmlCmplncInfo.ChmlCmplncInternalName,
      ChmlCmplncInfo.MaterialIsBaseProduct,
      ChmlCmplncInfo.MaterialIsSold,
      ChmlCmplncInfo.MaterialIsTransported,
      ChmlCmplncInfo.MaterialIsSourced,
      ChmlCmplncInfo.MaterialIsProduced,
      ChmlCmplncInfo.MaterialIsDisposed,
      ChmlCmplncInfo.MaterialIsEmissionRelevant,
      cast( ChmlCmplncInfo.Specification as ehfnd_internal_nr_nc preserving type ) as Specification,
      ChmlCmplncInfo.SpecificationInternalID,
      ChmlCmplncInfo.ChmlCmplncProdIsResearched,
      ChmlCmplncMatlAssgmt.ChmlCmplncMatlAssgmtUUID,
      ChmlCmplncMatlAssgmt.Material
}