I_CHMLCMPLNCREQPRPSASSGMT

CDS View

Chemical Compliance Request Purpose Assignment

I_CHMLCMPLNCREQPRPSASSGMT is a CDS View in S/4HANA. Chemical Compliance Request Purpose Assignment. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
I_ChmlCmplncReqPrps view from COMPOSITE Chemical Compliance Request Purposes
I_ChmlCmplncReqPrpsAssgmtTP view from TRANSACTIONAL Chemical Compliance Purpose Assignment
@EndUserText.label: 'Chemical Compliance Request Purpose Assignment'

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

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

@VDM.viewType: #BASIC

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

@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_ChmlCmplncReqPrpsAssgmt
  as select from ehfndv_crq_purp
  association [1..1] to I_ChmlCmplncReq as _ChmlCmplncReq     on $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID
  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,
      chmlcmplncrequestuuid                                                   as ChmlCmplncRequestUUID,

      @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,

      chmlcmplncreqchgtype                                                    as ChmlCmplncReqChgType,

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