I_CHMLCMPLNCPRPSASSGMTTP

CDS View

Chemical Compliance Purpose Assignment

I_CHMLCMPLNCPRPSASSGMTTP is a CDS View in S/4HANA. Chemical Compliance Purpose Assignment. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
C_ChmlCmplncPrpsAssgmtTP view from CONSUMPTION Chemical Compliance Purpose Assignment
C_CmbndChmlCmplncPrpsAssgmtTP view from CONSUMPTION Cmbnd Chml Compliance Purpose Assgmt TP
C_RawChmlCmplncPrpsAssgmtTP view from CONSUMPTION Chemical Compliance Purpose Assignment
@EndUserText.label: 'Chemical Compliance Purpose Assignment'

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

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

--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE

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

@ObjectModel:
{
  modelCategory: #BUSINESS_OBJECT,
  transactionalProcessingEnabled: true,
  createEnabled: true,
  updateEnabled: true,
  deleteEnabled: true,
  writeDraftPersistence: 'EHFNDW_CCI_PURP',
  writeActivePersistence: 'EHFNDV_CCI_PURP',
  semanticKey:  [ 'ChmlCmplncPrpsAssgmtUUID' ],
  
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #L,
    serviceQuality: #B
  }
}

define view I_ChmlCmplncPrpsAssgmtTP
  as select from I_ChmlCmplncPrpsAssgmt
  association [1..1] to I_ChmlCmplncInfoTP as _ChmlCmplncInfo on _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID
{
  key ChmlCmplncPrpsAssgmtUUID,
      @ObjectModel.mandatory: true
      ChmlCmplncInfoUUID,
      CreationUTCDateTime,
      CreatedByUser,
      LastChangeUTCDateTime,
      LastChangedByUser,
      @ObjectModel.mandatory: true       
      CmplncPrpsUUID,    
      _Purpose.CmplncPrps,  
            
      /* Associations */
      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _ChmlCmplncInfo,                   
      _Purpose,
      _CreatedByUser,
      _LastChangedByUser
}