C_ChmlCmplncInfoQuickView

DDL: C_CHMLCMPLNCINFOQUICKVIEW Type: view_entity CONSUMPTION Package: EHFND_CNS_CCI

Chemical Compliance Quickinfo

C_ChmlCmplncInfoQuickView is a Consumption CDS View that provides data about "Chemical Compliance Quickinfo" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 20 fields. It has 1 association to related views. It is exposed through 10 OData services (UI_DNGRSGDSLOGSPACKGINSTRN, UI_DNGRSGDSMULTICOMPONENTPROD, UI_EHS_FND_CCM_MANAGE, ...). It is used in 2 Fiori applications: Manage Water Hazard Class, Assess Regulatory Data. Part of development package EHFND_CNS_CCI.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncInfo I_ChmlCmplncInfo from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncProdAssgmt _ChmlCmplncProdAssgmt I_ChmlCmplncInfo.ChmlCmplncInfoUUID = _ChmlCmplncProdAssgmt.ChmlCmplncInfoUUID and _ChmlCmplncProdAssgmt.ChmlCmplncInfoType = 'BU'

Annotations (8)

NameValueLevelField
EndUserText.label Chemical Compliance Quickinfo view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey Specification view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
Metadata.allowExtensions true view

OData Services (10)

ServiceBindingVersionContractRelease
UI_DNGRSGDSLOGSPACKGINSTRN UI_DNGRSGDSLOGSPACKGINSTRN V4 C1 NOT_RELEASED
UI_DNGRSGDSMULTICOMPONENTPROD UI_DNGRSGDSMULTICOMPONENTPROD V4 C1 NOT_RELEASED
UI_EHS_FND_CCM_MANAGE UI_EHS_FND_CCM_MANAGE V4 C1 NOT_RELEASED
UI_EHS_FND_COMPLIANCE_VIEW_MAN UI_EHS_FND_COMPLIANCE_VIEW_MAN V4 C1 NOT_RELEASED
UI_EHS_FND_CRR_DYN_MAN UI_EHS_FND_CRR_DYN_MAN V2 C1 NOT_RELEASED
UI_EHS_FND_CRR_OVERVIEW UI_EHS_FND_CRR_OVERVIEW V2 C1 NOT_RELEASED
UI_EHSDS_HANDL_STORAGE UI_EHSDS_HANDL_STORAGE V4 C1 NOT_RELEASED
UI_PCKGDDANGEROUSGOOD_MANAGE UI_PCKGDDANGEROUSGOOD_MANAGE V4 C1 NOT_RELEASED
UI_PRODCMPLNCREQUEST_MANAGE UI_PRODCMPLNCREQUEST_MANAGE V4 C1 NOT_RELEASED
UI_UNPCKGDDNGRSGOOD_MANAGE UI_UNPCKGDDNGRSGOOD_MANAGE V4 C1 NOT_RELEASED

Fiori Apps (2)

App IDApp NameTypeDescription
F5756 Manage Water Hazard Class Transactional Manage Water Hazard Class
F7081 Assess Regulatory Data Transactional, Reuse Component The app serves only as the technical basis for app variants of the apps for assessing products against compliance requirements based on the "Regulatory Data Assessment" compliance pattern (see related apps).

Manage Water Hazard Class

Business Role: Product Stewardship Specialist - Product Compliance

With this feature, you can assess products, raw materials and substances according to the applicable water hazard class regulations and manage the compliance assessments.

Assess Regulatory Data

Business Role: Product Stewardship Specialist - Product Compliance

Fields (20)

KeyFieldSource TableSource FieldDescription
SemanticObject
ChmlCmplncInternalName
ChmlCmplncProdCatztnPhrsUUID ChmlCmplncProdCatztnPhrsUUID
ChmlCmplncProdCatztnPhrs1Text
ChmlCmplncProdCatztnPhrsIsHidn
CASNumberIsHidden
ChmlCmplncInfoTypeName
MaterialIsSold MaterialIsSold
MaterialIsProduced MaterialIsProduced
MaterialIsSourced MaterialIsSourced
MaterialIsDisposed MaterialIsDisposed
MaterialIsEmissionRelevant MaterialIsEmissionRelevant
MatlIsMultiComponentProduct MatlIsMultiComponentProduct
ChmlCmplncCurLogsRole
char255asChmlCmplncTypeImageURL
ChmlCmplncProdUUIDasChmlCmplncProdUUID
ChmlCmplncInfoNavgnLink _ChmlCmplncProdAssgmt ChmlCmplncProdUUID
UnpckgdChmlCmplncInfoIsHidn
PckgdChmlCmplncInfoIsHidn
ProdStewardshipRespUnit ProdStewardshipRespUnit
@EndUserText.label: 'Chemical Compliance Quickinfo'

@AccessControl:
{
  authorizationCheck: #MANDATORY
}

@VDM.viewType: #CONSUMPTION

@ObjectModel: {
  representativeKey: 'Specification',
  usageType:
  {
    dataClass: #MIXED,
    sizeCategory: #L,
    serviceQuality: #C
  }
}

@Metadata.allowExtensions: true

/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ]  } */
define view entity C_ChmlCmplncInfoQuickView
  as select from I_ChmlCmplncInfo

  --Cardinality is okay as one PP has only one UP assigned
  association [0..1] to I_ChmlCmplncProdAssgmt as _ChmlCmplncProdAssgmt on  I_ChmlCmplncInfo.ChmlCmplncInfoUUID      = _ChmlCmplncProdAssgmt.ChmlCmplncInfoUUID
                                                                        and _ChmlCmplncProdAssgmt.ChmlCmplncInfoType = 'BU'

{
      --Specification
      @ObjectModel.text.element: [ 'ChmlCmplncInternalName' ]
  key cast( Specification as ehfnd_compliance_view preserving type )             as Specification,

      @ObjectModel.virtualElement:true
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_TYPE_IMAGE_CALC_EXT'
      cast( '' as /ui2/semantic_object )                                         as SemanticObject,

      @Semantics.text:true
      cast ( ChmlCmplncInternalName as ehfnd_cci_internal_name preserving type ) as ChmlCmplncInternalName,

      -- Product
      ChmlCmplncInfoUUID                                                         as ChmlCmplncInfoUUID,

      @ObjectModel.text.element: [ 'ChmlCmplncProdCatztnPhrs1Text' ]
      ChmlCmplncProdCatztnPhrsUUID                                               as ChmlCmplncProdCatztnPhrsUUID,

      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_PRODCAT_PHRS_EXIT'
      @ObjectModel.readOnly: true
      cast('' as ehfnd_phrs_text )                                               as ChmlCmplncProdCatztnPhrs1Text,

      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_QV_CALC_EXT'
      @ObjectModel.readOnly: true
      cast('' as ehfnd_boole preserving type )                                   as ChmlCmplncProdCatztnPhrsIsHidn,

      -----------------------------------------------------------------------------------------------------------------------------------------------------------------
      -- Cas Number
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------
      --Concatenated list of CAS Number for world
      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_QV_CALC_EXT'
      @ObjectModel.readOnly: true
      cast( '' as  ehfnd_chm_cas_no_world )                                      as CASNumber,

      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_QV_CALC_EXT'
      @ObjectModel.readOnly: true
      cast('' as ehfnd_boole preserving type )                                   as CASNumberIsHidden,

      -----------------------------------------------------------------------------------------------------------------------------------------------------------------
      -- CCI Type and Roles
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------
      --Chemical Compliance Information Type
      @ObjectModel.text.element: [ 'ChmlCmplncInfoTypeName' ]
      ChmlCmplncInfoType                                                         as ChmlCmplncInfoType,

      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_QV_CALC_EXT'
      @ObjectModel.readOnly: true
      cast( '' as  ehfnd_cci_type_name )                                         as ChmlCmplncInfoTypeName,

      -- Logistics Roles
      MaterialIsTransported                                                      as MaterialIsTransported,
      MaterialIsSold                                                             as MaterialIsSold,
      MaterialIsProduced                                                         as MaterialIsProduced,
      MaterialIsSourced                                                          as MaterialIsSourced,
      MaterialIsDisposed                                                         as MaterialIsDisposed,
      MaterialIsEmissionRelevant                                                 as MaterialIsEmissionRelevant,
      MatlIsMultiComponentProduct                                                as MatlIsMultiComponentProduct,

      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_CHGROLE_CALC_EXIT'
      @ObjectModel.readOnly: true
      cast('' as ehfnd_cci_log_role_info)                                        as ChmlCmplncCurLogsRole,

      --R&D Indicator: Product is in research
      ChmlCmplncProdIsResearched                                                 as ChmlCmplncProdIsResearched,

      --R&D Indicator: Field is hidden in case it is false
      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_QV_CALC_EXT'
      @ObjectModel.readOnly: true
      cast('' as ehfnd_boole preserving type )                                   as MaterialIsResearchedIsHidden,


      -------------------------------------------------------------------------------------------------------
      -- Type Image URL
      -------------------------------------------------------------------------------------------------------
      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_TYPE_IMAGE_CALC_EXT'
      @ObjectModel.readOnly: true
      cast( '' as abap.char( 255 ) )                                             as ChmlCmplncTypeImageURL,

      -----------------------------------------------------------------------------------------------------------------------------------------------------------------
      -- UP
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------
      _ChmlCmplncProdAssgmt.ChmlCmplncProdUUID                                   as ChmlCmplncProdUUID,

      _ChmlCmplncProdAssgmt.ChmlCmplncProdUUID                                   as ChmlCmplncInfoNavgnLink,

      -- Unpackaged Product -- Internal Number
      @ObjectModel.text.element: [ 'ChmlCmplncInfoUnpckgdProdName' ]
      cast( _ChmlCmplncProdAssgmt._ChmlCmplncInfoProduct.Specification
       as ehfnd_compliance_view_up       preserving type )                       as UnpckgdChemicalComplianceInfo,

      -- Unpackaged Product -- Internal Name
      @Semantics.text:true
      cast ( _ChmlCmplncProdAssgmt._ChmlCmplncInfoProduct.ChmlCmplncInternalName
      as ehfnd_cci_unpckgdprod_name preserving type )                            as ChmlCmplncInfoUnpckgdProdName,

      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_QV_CALC_EXT'
      @ObjectModel.readOnly: true
      cast('' as ehfnd_boole preserving type )                                   as UnpckgdChmlCmplncInfoIsHidn,


      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EHFND_CCI_QV_CALC_EXT'
      @ObjectModel.readOnly: true
      cast('' as ehfnd_boole preserving type )                                   as PckgdChmlCmplncInfoIsHidn,

      ProdStewardshipRespUnit

}