I_ChmlCmplncInfoVH

DDL: I_CHMLCMPLNCINFOVH Type: view COMPOSITE Package: EHFND_BO_CCI

Value Help for Chemical Compliance Information

I_ChmlCmplncInfoVH is a Composite CDS View that provides data about "Value Help for Chemical Compliance Information" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 16 fields with key field ChmlCmplncInfoUUID. Part of development package EHFND_BO_CCI.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncInfo ChemicalComplianceInfo from

Annotations (14)

NameValueLevelField
EndUserText.label Value Help for Chemical Compliance Information view
AbapCatalog.sqlViewName ICCMPLCNINFOVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey ChmlCmplncInfoUUID view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID I_ChmlCmplncInfo ChmlCmplncInfoUUID
Material PrimaryMaterial Material
ProductName
ChmlCmplncInternalName I_ChmlCmplncInfo ChmlCmplncInternalName
ProdStewardshipRespUnit I_ChmlCmplncInfo ProdStewardshipRespUnit
DngrsGdsRespUnit I_ChmlCmplncInfo DngrsGdsRespUnit
ChmlCmplncInfoType I_ChmlCmplncInfo ChmlCmplncInfoType
MaterialIsSold I_ChmlCmplncInfo MaterialIsSold
MaterialIsTransported I_ChmlCmplncInfo MaterialIsTransported
MaterialIsSourced I_ChmlCmplncInfo MaterialIsSourced
MaterialIsProduced I_ChmlCmplncInfo MaterialIsProduced
MaterialIsDisposed I_ChmlCmplncInfo MaterialIsDisposed
MaterialIsEmissionRelevant I_ChmlCmplncInfo MaterialIsEmissionRelevant
MatlIsMultiComponentProduct I_ChmlCmplncInfo MatlIsMultiComponentProduct
ChmlCmplncProdIsResearched I_ChmlCmplncInfo ChmlCmplncProdIsResearched
Specification I_ChmlCmplncInfo Specification
@EndUserText.label: 'Value Help for Chemical Compliance Information'

@AbapCatalog:
{
  sqlViewName: 'ICCMPLCNINFOVH',
  compiler.compareFilter: true
}

@AccessControl:{
  authorizationCheck: #CHECK,
  // blocking of personal data not required (no personal data fields exposed for material)

  personalData.blocking: #NOT_REQUIRED
}

@VDM.viewType: #COMPOSITE

@ObjectModel:
{
  dataCategory: #VALUE_HELP,

  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #L,
    serviceQuality: #C
  },
  representativeKey: 'ChmlCmplncInfoUUID',
  semanticKey: ['ChmlCmplncInfoCombinedName']
}

@Metadata.ignorePropagatedAnnotations: true

@ClientHandling.algorithm: #SESSION_VARIABLE

@UI:{
  presentationVariant: [{
    sortOrder: [{ by: 'ChmlCmplncInfoCombinedName', direction: #ASC }]
  }]
}

@Search.searchable: true

define view I_ChmlCmplncInfoVH
  as select from           I_ChmlCmplncInfo       as ChemicalComplianceInfo

  -- Join data from primary material assignment
    left outer to one join I_ChmlCmplncMatlAssgmt as PrimaryMaterial on  ChemicalComplianceInfo.ChmlCmplncInfoUUID = PrimaryMaterial.ChmlCmplncInfoUUID
                                                                     and PrimaryMaterial.MatlAssgmtIsPrimary       = 'X'
  -- Join data from from primary material
    left outer to one join I_Product              as MaterialData    on PrimaryMaterial.Material = MaterialData.Product

{
      @UI.hidden: true
  key ChemicalComplianceInfo.ChmlCmplncInfoUUID,

      PrimaryMaterial.Material,

      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.7
      @Search.ranking: #HIGH
      //      @UI.hidden: true

      MaterialData._Text[1: Language = $session.system_language].ProductName,

      -- Name of Chemical Compliance Information (either material name of primary material or internal name)
      @Consumption.filter.hidden: true
      cast(
        case
          when MaterialData._Text[1: Language = $session.system_language].ProductName is not null
            then MaterialData._Text[1: Language = $session.system_language].ProductName
          when MaterialData._Text[1: Language = $session.system_language].ProductName is null
            then ChemicalComplianceInfo.ChmlCmplncInternalName
        end
      as ehfnd_cci_product_name preserving type)        as ChmlCmplncInfoCombinedName,

      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.7
      @Search.ranking: #HIGH
      ChemicalComplianceInfo.ChmlCmplncInternalName,

      // needed for DCL

      @UI.hidden: true
      ChemicalComplianceInfo.ProdStewardshipRespUnit    as ProdStewardshipRespUnit,

      @UI.hidden: true
      ChemicalComplianceInfo.DngrsGdsRespUnit           as DngrsGdsRespUnit,

      @UI.hidden: true
      ChemicalComplianceInfo.ChmlCmplncInfoType         as ChmlCmplncInfoType,

      @UI.hidden: true
      ChemicalComplianceInfo.MaterialIsSold             as MaterialIsSold,

      @UI.hidden: true
      ChemicalComplianceInfo.MaterialIsTransported      as MaterialIsTransported,

      @UI.hidden: true
      ChemicalComplianceInfo.MaterialIsSourced          as MaterialIsSourced,

      @UI.hidden: true
      ChemicalComplianceInfo.MaterialIsProduced         as MaterialIsProduced,

      @UI.hidden: true
      ChemicalComplianceInfo.MaterialIsDisposed         as MaterialIsDisposed,

      @UI.hidden: true
      ChemicalComplianceInfo.MaterialIsEmissionRelevant as MaterialIsEmissionRelevant,

      @UI.hidden: true
      ChemicalComplianceInfo.MatlIsMultiComponentProduct as MatlIsMultiComponentProduct,

      @UI.hidden: true
      ChemicalComplianceInfo.ChmlCmplncProdIsResearched as ChmlCmplncProdIsResearched,

      @UI.hidden: true
      ChemicalComplianceInfo.Specification              as Specification
}