I_ChmlCmplncSuplrMatlAssgmtTP

DDL: I_CHMLCMPLNCSUPLRMATLASSGMTTP Type: view TRANSACTIONAL

Chemical Compliance Supplier Material Assignment

I_ChmlCmplncSuplrMatlAssgmtTP is a Transactional CDS View that provides data about "Chemical Compliance Supplier Material Assignment" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncSuplrMatlAssgmt) and exposes 9 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncSuplrMatlAssgmt I_ChmlCmplncSuplrMatlAssgmt from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ChmlCmplncInfoTP _ChmlCmplncInfo _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID

Annotations (18)

NameValueLevelField
EndUserText.label Chemical Compliance Supplier Material Assignment view
AbapCatalog.sqlViewName ICCSMASSTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.writeDraftPersistence EHFNDW_CCI_CSM view
ObjectModel.writeActivePersistence EHFNDV_CCI_CSM view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view

Fields (9)

KeyFieldSource TableSource FieldDescription
UUIDofSupplierMaterialChmlSuplrMatlUUID
CreationUTCDateTime CreationUTCDateTime
CreatedByUser CreatedByUser
LastChangeUTCDateTime LastChangeUTCDateTime
LastChangedByUser LastChangedByUser
ChmlSuplrMatlIsOutdated
_ChmlCmplncInfo _ChmlCmplncInfo
_SupplierMaterial _SupplierMaterial
_SupplierStatus _SupplierStatus
@EndUserText.label: 'Chemical Compliance Supplier Material Assignment'

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

@AccessControl:
{
  authorizationCheck: #CHECK,
  // blocking of personal data required because of link to business partner / supplier

  personalData.blocking: #REQUIRED
}

@ClientHandling.algorithm: #SESSION_VARIABLE

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

@ObjectModel:
{
  modelCategory: #BUSINESS_OBJECT,
  transactionalProcessingEnabled: true,
  createEnabled: 'EXTERNAL_CALCULATION',
  updateEnabled: true,
  deleteEnabled: true,
  writeDraftPersistence: 'EHFNDW_CCI_CSM',
  writeActivePersistence: 'EHFNDV_CCI_CSM',
  semanticKey:  [ 'ChmlCmplncSuplrMatlAssgmtUUID' ],
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #M,
    serviceQuality: #B
  }
}

define view I_ChmlCmplncSuplrMatlAssgmtTP
  --Select data from basic view of supplier material assignment
  as select from I_ChmlCmplncSuplrMatlAssgmt

  --Nodes/Detaildata
  association [1..1] to I_ChmlCmplncInfoTP as _ChmlCmplncInfo on _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID
{
      --UUID of assignment
  key ChmlCmplncSuplrMatlAssgmtUUID,

      --Active UUID of supplier material assignment
      @ObjectModel.readOnly: true
      ChmlCmplncSuplrMatlAssgmtUUID             as ActvChmlCmplncSuplrAssgmtUUID,

      --UUID of chemical compliance info
      @ObjectModel.mandatory: true
      ChmlCmplncInfoUUID,

      --UUID of Supplier Material
      @ObjectModel.mandatory: true
      ChmlSuplrMatlUUID,

      CreationUTCDateTime,
      CreatedByUser,
      LastChangeUTCDateTime,
      LastChangedByUser,

      --Supplier Status per chemical compliance information
      @ObjectModel.mandatory: true
      ChmlSuplrMatlSuplrSts,

      --Supplier Material is outdated
      @ObjectModel.readOnly: true
      _SupplierMaterial.ChmlSuplrMatlIsOutdated,

      --Supplier (Business Partner)
      _SupplierMaterial.BusinessPartnerSupplier as BusinessPartnerSupplier,


      /* Associations */
      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _ChmlCmplncInfo,
      _SupplierMaterial,
      _SupplierStatus


}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHMLCMPLNCSUPLRMATLASSGMT",
"I_CHMLSUPLRMATL"
],
"ASSOCIATED":
[
"I_CHMLCMPLNCINFOTP",
"I_CHMLSUPLRMATL",
"I_CHMLSUPLRMATLSUPLRSTS"
],
"BASE":
[
"I_CHMLCMPLNCSUPLRMATLASSGMT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/