I_ChmlCmplncReqPlnt

DDL: I_CHMLCMPLNCREQPLNT Type: view BASIC

Chemical Compliance Request Plant

I_ChmlCmplncReqPlnt is a Basic CDS View that provides data about "Chemical Compliance Request Plant" in SAP S/4HANA. It reads from 1 data source (ehfndv_crq_plant) and exposes 10 fields with key field ChmlCmplncReqPlntUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndv_crq_plant ehfndv_crq_plant from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Plant _Plant $projection.ActivePlant = _Plant.Plant
[1..1] I_ChmlCmplncReq _ChmlCmplncReq $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID

Annotations (9)

NameValueLevelField
EndUserText.label Chemical Compliance Request Plant view
AbapCatalog.sqlViewName ICRQPLNT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY 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 (10)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncReqPlntUUID chmlcmplncreqplntuuid
ChmlCmplncRequestUUID chmlcmplncrequestuuid
CreationUTCDateTime
CreatedByUser
LastChangeUTCDateTime
LastChangedByUser
ActivePlant activeplant
ChmlCmplncReqChgType chmlcmplncreqchgtype
_Plant _Plant
_ChmlCmplncReq _ChmlCmplncReq
@EndUserText.label: 'Chemical Compliance Request Plant'

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

@AccessControl:
{
  authorizationCheck: #MANDATORY
}

@VDM.viewType: #BASIC

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

@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_ChmlCmplncReqPlnt
  as select from ehfndv_crq_plant
  association [0..1] to I_Plant         as _Plant         on $projection.ActivePlant = _Plant.Plant
  association [1..1] to I_ChmlCmplncReq as _ChmlCmplncReq on $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID
{

  key chmlcmplncreqplntuuid                                                   as ChmlCmplncReqPlntUUID,
      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,

      activeplant                                                             as ActivePlant,

      chmlcmplncreqchgtype                                                    as ChmlCmplncReqChgType,
      
      _Plant,
      _ChmlCmplncReq
}