R_ChemicalComplianceInfoTP

DDL: R_CHEMICALCOMPLIANCEINFOTP Type: view_entity TRANSACTIONAL Package: EHFND_RAP_CCI

Chemical Compliance Info - TP

R_ChemicalComplianceInfoTP is a Transactional CDS View that provides data about "Chemical Compliance Info - TP" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 38 fields with key field ChmlCmplncInfoUUID. It has 12 associations to related views. Part of development package EHFND_RAP_CCI.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncInfo I_ChmlCmplncInfo from

Associations (12)

CardinalityTargetAliasCondition
[0..1] C_ChmlCmplncPrimMatl _MaterialDataPrimary _MaterialDataPrimary.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID
[0..*] I_ResponsibleUnitDngrsGdsText _ResponsibleUnitDngrsGdsText _ResponsibleUnitDngrsGdsText.ResponsibleUnit = $projection.DngrsGdsRespUnit
[0..*] I_ResponsibleUnitText _ResponsibleUnitText _ResponsibleUnitText.ResponsibleUnit = $projection.ProdStewardshipRespUnit -- Phrase ID
[1..1] I_ProdCmplncPhrs _ProdCmplncPhrs $projection.ChmlCmplncProdCatztnPhrsUUID = _ProdCmplncPhrs.ProdCmplncPhrsUUID -- UP
[0..1] I_ChmlCmplncProdAssgmt _UnpackagedProductAssgmt _UnpackagedProductAssgmt.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID and _UnpackagedProductAssgmt.ChmlCmplncInfoType = 'BU'
[0..1] I_ChmlComposition _MultiComponentComposition _MultiComponentComposition.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID and _MultiComponentComposition.ChmlCompositionType = 'MCPC' and _MultiComponentComposition.ChmlCompositionStatus = 'RE'
[0..*] R_ChmlCmplncMatlAssgmtTP _MaterialAssgmt
[0..*] R_ChmlCmplncPrpsAssgmtTP _PurposeAssgmt
[0..*] R_ChmlCmplncSuplrMatlAssgmtTP _SupplierAssgmt
[0..*] R_ChmlCmplncInfoPckgdProdTP _ToPackagedProductAssgmt
[0..*] R_ChmlCmplncBrnddProdNameTP _BrandedProductName
[0..1] R_ChmlCmplncInfoUnpckgdProdTP _ToUnpackagedProductAssgmt

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Chemical Compliance Info - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name ChemicalComplianceInfo view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID
CreationUTCDateTime CreationUTCDateTime
CreatedByUser CreatedByUser
LastChangeUTCDateTime LastChangeUTCDateTime
LastChangedByUser LastChangedByUser
ProdStewardshipRespUnit ProdStewardshipRespUnit
DngrsGdsRespUnit DngrsGdsRespUnit
ChmlCmplncInfoType ChmlCmplncInfoType
ChmlCmplncInternalName ChmlCmplncInternalName
MaterialIsBaseProduct MaterialIsBaseProduct
MaterialIsSold MaterialIsSold
MaterialIsTransported MaterialIsTransported
MaterialIsSourced MaterialIsSourced
MaterialIsProduced MaterialIsProduced
MaterialIsDisposed MaterialIsDisposed
MaterialIsEmissionRelevant MaterialIsEmissionRelevant
ChemicalComplianceInfo
SpecificationInternalID SpecificationInternalID
ChmlCmplncProdIsResearched ChmlCmplncProdIsResearched
MatlIsNotDngrsGdsRlvt MatlIsNotDngrsGdsRlvt
MatlIsNotProdMarketabilityRlvt MatlIsNotProdMarketabilityRlvt
SftyDataShtIsNotRequired MatlIsNotProdSafetyRlvt
MatlIsNotSupplierRlvt MatlIsNotSupplierRlvt
ProdCmplncPhrs _ProdCmplncPhrs ProdCmplncPhrs
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_MaterialAssgmt _MaterialAssgmt
_PurposeAssgmt _PurposeAssgmt
_SupplierAssgmt _SupplierAssgmt
_ToPackagedProductAssgmt _ToPackagedProductAssgmt
_ToUnpackagedProductAssgmt _ToUnpackagedProductAssgmt
_MaterialDataPrimary _MaterialDataPrimary
_ResponsibleUnitText _ResponsibleUnitText
_ResponsibleUnitDngrsGdsText _ResponsibleUnitDngrsGdsText
_UnpackagedProductAssgmt _UnpackagedProductAssgmt
_ProdCmplncPhrs _ProdCmplncPhrs
_MultiComponentComposition _MultiComponentComposition
_BrandedProductName _BrandedProductName
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.privilegedAssociations: [ '_CreatedByUser', '_LastChangedByUser' ]

@EndUserText.label: 'Chemical Compliance Info - TP'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.sapObjectNodeType.name: 'ChemicalComplianceInfo'
@ObjectModel.usageType: { dataClass: #MIXED, sizeCategory: #L, serviceQuality: #C }

@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #TRANSACTIONAL

define root view entity R_ChemicalComplianceInfoTP
  as select from I_ChmlCmplncInfo

  composition [0..*] of R_ChmlCmplncMatlAssgmtTP      as _MaterialAssgmt
  composition [0..*] of R_ChmlCmplncPrpsAssgmtTP      as _PurposeAssgmt
  composition [0..*] of R_ChmlCmplncSuplrMatlAssgmtTP as _SupplierAssgmt
  composition [0..*] of R_ChmlCmplncInfoPckgdProdTP   as _ToPackagedProductAssgmt
  composition [0..*] of R_ChmlCmplncBrnddProdNameTP   as _BrandedProductName
  composition [0..1] of R_ChmlCmplncInfoUnpckgdProdTP as _ToUnpackagedProductAssgmt

  -- Material Data for Primary Material
  association [0..1] to C_ChmlCmplncPrimMatl          as _MaterialDataPrimary         on  _MaterialDataPrimary.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID

  association [0..*] to I_ResponsibleUnitDngrsGdsText as _ResponsibleUnitDngrsGdsText on  _ResponsibleUnitDngrsGdsText.ResponsibleUnit = $projection.DngrsGdsRespUnit

  association [0..*] to I_ResponsibleUnitText         as _ResponsibleUnitText         on  _ResponsibleUnitText.ResponsibleUnit = $projection.ProdStewardshipRespUnit

  -- Phrase ID
  association [1..1] to I_ProdCmplncPhrs              as _ProdCmplncPhrs              on  $projection.ChmlCmplncProdCatztnPhrsUUID = _ProdCmplncPhrs.ProdCmplncPhrsUUID

  -- UP
  /*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/
  association [0..1] to I_ChmlCmplncProdAssgmt        as _UnpackagedProductAssgmt     on  _UnpackagedProductAssgmt.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID  
                                                                                      and _UnpackagedProductAssgmt.ChmlCmplncInfoType = 'BU'

  association [0..1] to I_ChmlComposition             as _MultiComponentComposition   on  _MultiComponentComposition.ChmlCmplncInfoUUID    = $projection.ChmlCmplncInfoUUID
                                                                                      and _MultiComponentComposition.ChmlCompositionType   = 'MCPC'
                                                                                      and _MultiComponentComposition.ChmlCompositionStatus = 'RE'
{
  key ChmlCmplncInfoUUID,

      CreationUTCDateTime,
      CreatedByUser,
      LastChangeUTCDateTime,
      LastChangedByUser,
      // Responsible Unit

      ProdStewardshipRespUnit,
      // Responsible Unit for Dangerous Goods

      DngrsGdsRespUnit,
      ChmlCmplncInfoType,
      // Internal Name

      ChmlCmplncInternalName,
      MaterialIsBaseProduct,
      MaterialIsSold,
      MaterialIsTransported,
      MaterialIsSourced,
      MaterialIsProduced,
      MaterialIsDisposed,
      MaterialIsEmissionRelevant,
      // Internal Number

      cast(Specification as ehfnd_internal_nr preserving type)                             as ChemicalComplianceInfo,

      SpecificationInternalID,
      ChmlCmplncProdIsResearched,
      MatlIsNotDngrsGdsRlvt,
      MatlIsNotProdMarketabilityRlvt,
      MatlIsNotProdSafetyRlvt                                                              as SftyDataShtIsNotRequired,
      MatlIsNotSupplierRlvt,

      --- Product Categorization
      cast(ChmlCmplncProdCatztnPhrsUUID as ehfnd_chm_prod_catztnphrs_uuid preserving type) as ChmlCmplncProdCatztnPhrsUUID,
      _ProdCmplncPhrs.ProdCmplncPhrs,

      --- Multi-Component Product
      MatlIsMultiComponentProduct,

      /* Associations */
      _CreatedByUser,
      _LastChangedByUser,
      _MaterialAssgmt,
      _PurposeAssgmt,
      _SupplierAssgmt,
      _ToPackagedProductAssgmt,
      _ToUnpackagedProductAssgmt,
      _MaterialDataPrimary,
      _ResponsibleUnitText,
      _ResponsibleUnitDngrsGdsText,
      _UnpackagedProductAssgmt,
      _ProdCmplncPhrs,
      _MultiComponentComposition,
      _BrandedProductName
}