I_ChmlCmplncInfo

DDL: I_CHMLCMPLNCINFO Type: view BASIC

Chemical Compliance Information

I_ChmlCmplncInfo is a Basic CDS View that provides data about "Chemical Compliance Information" in SAP S/4HANA. It reads from 1 data source (ehfndv_cci) and exposes 35 fields with key field ChmlCmplncInfoUUID. It has 13 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndv_cci ehfndv_cci from

Associations (13)

CardinalityTargetAliasCondition
[0..*] I_ChmlCmplncProdAssgmt _ProductAssignment $projection.ChmlCmplncInfoUUID = _ProductAssignment.ChmlCmplncInfoUUID
[0..*] I_ChmlCmplncPrpsAssgmt _PurposeAssignment $projection.ChmlCmplncInfoUUID = _PurposeAssignment.ChmlCmplncInfoUUID
[0..*] I_ChmlCmplncMktReq _MarketRequest $projection.ChmlCmplncInfoUUID = _MarketRequest.ChmlCmplncInfoUUID
[0..*] I_ChmlCmplncMktCvrg _MarketCoverage $projection.ChmlCmplncInfoUUID = _MarketCoverage.ChmlCmplncInfoUUID
[0..*] I_ChmlCmplncMatlAssgmt _MaterialAssignment $projection.ChmlCmplncInfoUUID = _MaterialAssignment.ChmlCmplncInfoUUID
[0..*] I_ChmlCmplncApplAssgmt _Application $projection.ChmlCmplncInfoUUID = _Application.ChmlCmplncInfoUUID
[0..*] I_ChmlCmplncSuplrMatlAssgmt _SuplrMatlAssignment $projection.ChmlCmplncInfoUUID = _SuplrMatlAssignment.ChmlCmplncInfoUUID
[0..1] I_ChmlCmplncWasteData _WasteData $projection.ChmlCmplncInfoUUID = _WasteData.ChmlCmplncInfoUUID
[0..1] I_ChmlCmplncMatlAssgmt _PrimaryMaterial $projection.ChmlCmplncInfoUUID = _PrimaryMaterial.ChmlCmplncInfoUUID and _PrimaryMaterial.MatlAssgmtIsPrimary = 'X'
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1..1] I_ResponsibleUnit _RespUnitForProductStewardship $projection.ProdStewardshipRespUnit = _RespUnitForProductStewardship.ResponsibleUnit
[1..1] I_ResponsibleUnitDngrsGds _RespUnitForDangerousGoods $projection.DngrsGdsRespUnit = _RespUnitForDangerousGoods.ResponsibleUnit

Annotations (11)

NameValueLevelField
EndUserText.label Chemical Compliance Information view
AbapCatalog.sqlViewName ICCMPLCNINFO view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey ChmlCmplncInfoUUID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID chmlcmplncinfouuid
CreationUTCDateTime
CreatedByUser
LastChangeUTCDateTime
LastChangedByUser
ProdStewardshipRespUnit prodstewardshiprespunit
DngrsGdsRespUnit dngrsgdsrespunit
ChmlCmplncInfoType chmlcmplncinfotype
ChmlCmplncInternalName chmlcmplncinternalname
MaterialIsBaseProduct materialisbaseproduct
MaterialIsSold materialissold
MaterialIsTransported materialistransported
MaterialIsSourced materialissourced
MaterialIsProduced materialisproduced
MaterialIsDisposed materialisdisposed
MaterialIsEmissionRelevant materialisemissionrelevant
Specification specification
SpecificationInternalID specificationinternalid
ChmlCmplncProdIsResearched chmlcmplncprodisresearched
MatlIsNotProdMarketabilityRlvt matlisnotprodmarketabilityrlvt
MatlIsNotProdSafetyRlvt matlisnotprodsafetyrlvt
MatlIsNotSupplierRlvt matlisnotsupplierrlvt
associations_ProductAssignment
_PurposeAssignment _PurposeAssignment
_MarketRequest _MarketRequest
_MarketCoverage _MarketCoverage
_MaterialAssignment _MaterialAssignment
_PrimaryMaterial _PrimaryMaterial
_Application _Application
_SuplrMatlAssignment _SuplrMatlAssignment
_WasteData _WasteData
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_RespUnitForProductStewardship _RespUnitForProductStewardship
_RespUnitForDangerousGoods _RespUnitForDangerousGoods
@EndUserText.label: 'Chemical Compliance Information'

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

@AccessControl:
{
  authorizationCheck: #CHECK,
  privilegedAssociations:  [ '_CreatedByUser', '_LastChangedByUser' ]
}

@VDM.viewType: #BASIC

@ObjectModel:
{
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #L,
    serviceQuality: #B
  },
  representativeKey: 'ChmlCmplncInfoUUID'
}

@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_ChmlCmplncInfo
  as select from ehfndv_cci

  association [0..*] to I_ChmlCmplncProdAssgmt       as _ProductAssignment             on  $projection.ChmlCmplncInfoUUID      = _ProductAssignment.ChmlCmplncInfoUUID
  association [0..*] to I_ChmlCmplncPrpsAssgmt       as _PurposeAssignment             on  $projection.ChmlCmplncInfoUUID      = _PurposeAssignment.ChmlCmplncInfoUUID
  association [0..*] to I_ChmlCmplncMktReq           as _MarketRequest                 on  $projection.ChmlCmplncInfoUUID      = _MarketRequest.ChmlCmplncInfoUUID
  association [0..*] to I_ChmlCmplncMktCvrg          as _MarketCoverage                on  $projection.ChmlCmplncInfoUUID      = _MarketCoverage.ChmlCmplncInfoUUID
  association [0..*] to I_ChmlCmplncMatlAssgmt       as _MaterialAssignment            on  $projection.ChmlCmplncInfoUUID      = _MaterialAssignment.ChmlCmplncInfoUUID
  association [0..*] to I_ChmlCmplncApplAssgmt       as _Application                   on  $projection.ChmlCmplncInfoUUID      = _Application.ChmlCmplncInfoUUID
  association [0..*] to I_ChmlCmplncSuplrMatlAssgmt  as _SuplrMatlAssignment           on  $projection.ChmlCmplncInfoUUID      = _SuplrMatlAssignment.ChmlCmplncInfoUUID
  /*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/
  association [0..1] to I_ChmlCmplncWasteData        as _WasteData                     on  $projection.ChmlCmplncInfoUUID      = _WasteData.ChmlCmplncInfoUUID
  /*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
  association [0..1] to I_ChmlCmplncMatlAssgmt       as _PrimaryMaterial               on  $projection.ChmlCmplncInfoUUID      = _PrimaryMaterial.ChmlCmplncInfoUUID
                                                                                            and _PrimaryMaterial.MatlAssgmtIsPrimary = 'X'
  association [0..1] to I_User                       as _CreatedByUser                 on  $projection.CreatedByUser           = _CreatedByUser.UserID
  association [0..1] to I_User                       as _LastChangedByUser             on  $projection.LastChangedByUser       = _LastChangedByUser.UserID
  association [1..1] to I_ResponsibleUnit            as _RespUnitForProductStewardship on  $projection.ProdStewardshipRespUnit = _RespUnitForProductStewardship.ResponsibleUnit
  association [1..1] to I_ResponsibleUnitDngrsGds    as _RespUnitForDangerousGoods     on  $projection.DngrsGdsRespUnit        = _RespUnitForDangerousGoods.ResponsibleUnit  
  
{
  key chmlcmplncinfouuid                                                      as ChmlCmplncInfoUUID,

      @Semantics.systemDateTime.createdAt: true
      cast(creationutcdatetime as ehfnd_bo_crea_date_time preserving type )   as CreationUTCDateTime,
      @ObjectModel.readOnly: true
      @Semantics.user.createdBy: true
      cast(createdbyuser as ehfnd_bo_crea_uname preserving type )             as CreatedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      cast(lastchangeutcdatetime as ehfnd_bo_lchg_date_time preserving type ) as LastChangeUTCDateTime,
      @ObjectModel.readOnly: true
      @Semantics.user.lastChangedBy: true
      cast(lastchangedbyuser as ehfnd_bo_lchg_uname preserving type )         as LastChangedByUser,

      @ObjectModel.foreignKey.association: '_RespUnitForProductStewardship'
      prodstewardshiprespunit                                                 as ProdStewardshipRespUnit,

      @ObjectModel.foreignKey.association: '_RespUnitForDangerousGoods'
      dngrsgdsrespunit                                                        as DngrsGdsRespUnit,

      chmlcmplncinfotype                                                      as ChmlCmplncInfoType,
      chmlcmplncinternalname                                                  as ChmlCmplncInternalName,
      materialisbaseproduct                                                   as MaterialIsBaseProduct,
      materialissold                                                          as MaterialIsSold,
      materialistransported                                                   as MaterialIsTransported,
      materialissourced                                                       as MaterialIsSourced,
      materialisproduced                                                      as MaterialIsProduced,
      materialisdisposed                                                      as MaterialIsDisposed,
      materialisemissionrelevant                                              as MaterialIsEmissionRelevant,
      specification                                                           as Specification,
      specificationinternalid                                                 as SpecificationInternalID,
      chmlcmplncprodisresearched                                              as ChmlCmplncProdIsResearched,

      -- indicators to disable essential checks
      matlisnotdngrsgdsrlvt                                                   as MatlIsNotDngrsGdsRlvt,
      matlisnotprodmarketabilityrlvt                                          as MatlIsNotProdMarketabilityRlvt,
      matlisnotprodsafetyrlvt                                                 as MatlIsNotProdSafetyRlvt,
      matlisnotsupplierrlvt                                                   as MatlIsNotSupplierRlvt,
          
      -- associations
      _ProductAssignment,
      _PurposeAssignment,
      _MarketRequest,
      _MarketCoverage,
      _MaterialAssignment,
      _PrimaryMaterial,
      _Application,
      _SuplrMatlAssignment,
      _WasteData,
      _CreatedByUser,
      _LastChangedByUser,
      _RespUnitForProductStewardship,
      _RespUnitForDangerousGoods
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EHFNDV_CCI"
],
"ASSOCIATED":
[
"I_CHMLCMPLNCAPPLASSGMT",
"I_CHMLCMPLNCMATLASSGMT",
"I_CHMLCMPLNCMKTCVRG",
"I_CHMLCMPLNCMKTREQ",
"I_CHMLCMPLNCPRODASSGMT",
"I_CHMLCMPLNCPRPSASSGMT",
"I_CHMLCMPLNCSUPLRMATLASSGMT",
"I_CHMLCMPLNCWASTEDATA",
"I_RESPONSIBLEUNIT",
"I_RESPONSIBLEUNITDNGRSGDS",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/