I_ChmlCmplncPrpsAssgmt

DDL: I_CHMLCMPLNCPRPSASSGMT Type: view BASIC

Chemical Compliance Purpose Assignment

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

Data Sources (1)

SourceAliasJoin Type
ehfndv_cci_purp ehfndv_cci_purp from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1..1] I_CmplncPrps _Purpose $projection.CmplncPrpsUUID = _Purpose.CmplncPrpsUUID

Annotations (9)

NameValueLevelField
EndUserText.label Chemical Compliance Purpose Assignment view
AbapCatalog.sqlViewName ICCPRPSASSGMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncPrpsAssgmtUUID chmlcmplncprpsassgmtuuid
ChmlCmplncInfoUUID chmlcmplncinfouuid
CreationUTCDateTime
CreatedByUser
LastChangeUTCDateTime
LastChangedByUser
CmplncPrpsUUID cmplncprpsuuid
associations_ChmlCmplncInfo
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Purpose _Purpose
@EndUserText.label: 'Chemical Compliance Purpose Assignment'

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

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

@VDM.viewType: #BASIC

@ObjectModel:
{
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #L,
    serviceQuality: #B
  }
}

@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_ChmlCmplncPrpsAssgmt
  as select from ehfndv_cci_purp
  association [0..1] to I_ChmlCmplncInfo as _ChmlCmplncInfo    on $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
  association [0..1] to I_User           as _CreatedByUser     on $projection.CreatedByUser = _CreatedByUser.UserID
  association [0..1] to I_User           as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
  association [1..1] to I_CmplncPrps     as _Purpose           on $projection.CmplncPrpsUUID = _Purpose.CmplncPrpsUUID
{
  key chmlcmplncprpsassgmtuuid as ChmlCmplncPrpsAssgmtUUID,
      chmlcmplncinfouuid       as ChmlCmplncInfoUUID,

      @Semantics.systemDateTime.createdAt: true
      cast(creationutcdatetime as ehfnd_bo_crea_date_time preserving type )   as CreationUTCDateTime,
      @Semantics.user.createdBy: true
      cast(createdbyuser as ehfnd_bo_crea_uname preserving type )             as CreatedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      cast(lastchangeutcdatetime as ehfnd_bo_lchg_date_time preserving type ) as LastChangeUTCDateTime,
      @Semantics.user.lastChangedBy: true
      cast(lastchangedbyuser as ehfnd_bo_lchg_uname preserving type )         as LastChangedByUser,

      @ObjectModel.foreignKey.association: '_Purpose'   
      cmplncprpsuuid           as CmplncPrpsUUID, 

      -- associations
      _ChmlCmplncInfo,
      _CreatedByUser,
      _LastChangedByUser,
      _Purpose
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EHFNDV_CCI_PURP"
],
"ASSOCIATED":
[
"I_CHMLCMPLNCINFO",
"I_CMPLNCPRPS",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/