I_ChmlCmplncPrpsAssgmtTP

DDL: I_CHMLCMPLNCPRPSASSGMTTP Type: view TRANSACTIONAL

Chemical Compliance Purpose Assignment

I_ChmlCmplncPrpsAssgmtTP is a Transactional CDS View that provides data about "Chemical Compliance Purpose Assignment" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncPrpsAssgmt) and exposes 11 fields with key field ChmlCmplncPrpsAssgmtUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncPrpsAssgmt I_ChmlCmplncPrpsAssgmt from

Associations (1)

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

Annotations (17)

NameValueLevelField
EndUserText.label Chemical Compliance Purpose Assignment view
AbapCatalog.sqlViewName ICCPRPSASSGMTTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK 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 true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.writeDraftPersistence EHFNDW_CCI_PURP view
ObjectModel.writeActivePersistence EHFNDV_CCI_PURP view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncPrpsAssgmtUUID ChmlCmplncPrpsAssgmtUUID
ChmlCmplncInfoUUID ChmlCmplncInfoUUID
CreationUTCDateTime CreationUTCDateTime
CreatedByUser CreatedByUser
LastChangeUTCDateTime LastChangeUTCDateTime
LastChangedByUser LastChangedByUser
CmplncPrpsUUID CmplncPrpsUUID
_ChmlCmplncInfo _ChmlCmplncInfo
_Purpose _Purpose
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
@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,      
            
      /* Associations */
      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _ChmlCmplncInfo,                   
      _Purpose,
      _CreatedByUser,
      _LastChangedByUser
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHMLCMPLNCPRPSASSGMT"
],
"ASSOCIATED":
[
"I_CHMLCMPLNCINFOTP",
"I_CMPLNCPRPS",
"I_USER"
],
"BASE":
[
"I_CHMLCMPLNCPRPSASSGMT"
],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/