I_ChmlCmplncReq

DDL: I_CHMLCMPLNCREQ Type: view BASIC

Chemical Compliance Request

I_ChmlCmplncReq is a Basic CDS View that provides data about "Chemical Compliance Request" in SAP S/4HANA. It reads from 1 data source (ehfndv_crq) and exposes 49 fields with key field ChmlCmplncRequestUUID. It has 20 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndv_crq ehfndv_crq from

Associations (20)

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
[0..1] I_User _RequesterUser $projection.ChmlCmplncReqRequester = _RequesterUser.UserID
[0..1] I_Product _Product $projection.Material = _Product.Product
[0..1] I_BusinessUserBasic _BusinessUserRequester $projection.ChmlCmplncReqBPRequester = _BusinessUserRequester.BusinessPartner
[0..1] I_BusinessUserBasic _BusinessUserProcessor $projection.ChmlCmplncReqBPProcessor = _BusinessUserProcessor.BusinessPartner
[0..1] I_ChmlCmplncReqCmplncProc _ChmlCmplncReqCmplncProc $projection.ChmlCmplncReqCmplncProc = _ChmlCmplncReqCmplncProc.ChmlCmplncReqCmplncProc
[0..1] I_ChmlCmplncBusProc _BusinessProcess $projection.ChmlCmplncBusinessProcess = _BusinessProcess.ChmlCmplncBusinessProcess
[0..1] I_ChmlCmplncReqOriginType _OriginType $projection.ChmlCmplncRequestOriginType = _OriginType.ChmlCmplncRequestOriginType
[0..1] I_ChmlCmplncReqOriginProc _OriginProcess $projection.ChmlCmplncReqOriginProc = _OriginProcess.ChmlCmplncReqOriginProc
[0..1] I_ChmlCmplncReqStatus _RequestStatus $projection.ChmlCmplncRequestPrgrsStatus = _RequestStatus.ChmlCmplncReqStatus
[0..1] I_ChemicalCustomerMaterial _ChemicalCustomerMaterial $projection.ChemicalCustomerMaterialUUID = _ChemicalCustomerMaterial.ChemicalCustomerMaterialUUID
[0..*] I_ChmlCmplncReqMkt _RequestedMarket $projection.ChmlCmplncRequestUUID = _RequestedMarket.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqApplication _RequestedApplication $projection.ChmlCmplncRequestUUID = _RequestedApplication.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqPrpsAssgmt _RequestedPurpose $projection.ChmlCmplncRequestUUID = _RequestedPurpose.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqSlsOrg _RequestedSlsOrg $projection.ChmlCmplncRequestUUID = _RequestedSlsOrg.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqPlnt _RequestedPlnt $projection.ChmlCmplncRequestUUID = _RequestedPlnt.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqRouteSegment _RouteSegment $projection.ChmlCmplncRequestUUID = _RouteSegment.ChmlCmplncRequestUUID
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (10)

NameValueLevelField
EndUserText.label Chemical Compliance Request view
AbapCatalog.sqlViewName ICCMPLCNREQ 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
ObjectModel.representativeKey ChmlCmplncRequestUUID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncRequestUUID chmlcmplncrequestuuid
CreationUTCDateTime
CreatedByUser
LastChangeUTCDateTime
LastChangedByUser
ChmlCmplncRequestDueDate chmlcmplncrequestduedate
ChmlCmplncReqCmplncProc chmlcmplncreqcmplncproc
ChmlCmplncRequestOriginType chmlcmplncrequestorigintype
ChmlCmplncReqOriginProc chmlcmplncreqoriginproc
ChmlCmplncRequestPrgrsStatus chmlcmplncrequestprgrsstatus
ChmlCmplncBusinessProcess chmlcmplncbusinessprocess
ChmlCmplncReqBPProcessor chmlcmplncreqbpprocessor
ChmlCmplncReqBPRequester chmlcmplncreqbprequester
ChmlCmplncReqRequester chmlcmplncreqrequester
ChmlCmplncInfoUUID chmlcmplncinfouuid
ChmlCmplncProdUUID chmlcmplncproduuid
ChemicalCustomerMaterialUUID chemicalcustomermaterialuuid
Material material
SalesDocument salesdocument
SalesDocumentItem salesdocumentitem
ChmlCmplncReqLogisticDocCat chmlcmplncreqlogisticdoccat
ChmlCmplncRequestRemark chmlcmplncrequestremark
ChmlCmplncReqDetails chmlcmplncreqdetails
ProdCmplncLogsDocument prodcmplnclogsdocument
ProdCmplncLogsDocumentUUID prodcmplnclogsdocumentuuid
ProdCmplncLogsDocumentItem prodcmplnclogsdocumentitem
BusinessSystemName businesssystemname
DngrsGoodsModeOfTransport dngrsgoodsmodeoftransport
Supplier supplier
associations_CreatedByUser
_LastChangedByUser _LastChangedByUser
_Product _Product
_ChmlCmplncInfo _ChmlCmplncInfo
_ChemicalCustomerMaterial _ChemicalCustomerMaterial
_RequesterUser _RequesterUser
_BusinessUserRequester _BusinessUserRequester
_BusinessUserProcessor _BusinessUserProcessor
_ChmlCmplncReqCmplncProc _ChmlCmplncReqCmplncProc
_BusinessProcess _BusinessProcess
_OriginType _OriginType
_OriginProcess _OriginProcess
_RequestStatus _RequestStatus
_RequestedMarket _RequestedMarket
_RequestedApplication _RequestedApplication
_RequestedPurpose _RequestedPurpose
_RequestedSlsOrg _RequestedSlsOrg
_RequestedPlnt _RequestedPlnt
_RouteSegment _RouteSegment
_Supplier _Supplier
@EndUserText.label: 'Chemical Compliance Request'

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

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

@VDM.viewType: #BASIC

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

@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_ChmlCmplncReq
  as select from ehfndv_crq

  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 [0..1] to I_User                      as _RequesterUser            on $projection.ChmlCmplncReqRequester = _RequesterUser.UserID
  association [0..1] to I_Product                   as _Product                  on $projection.Material = _Product.Product
  association [0..1] to I_BusinessUserBasic         as _BusinessUserRequester    on $projection.ChmlCmplncReqBPRequester = _BusinessUserRequester.BusinessPartner
  association [0..1] to I_BusinessUserBasic         as _BusinessUserProcessor    on $projection.ChmlCmplncReqBPProcessor = _BusinessUserProcessor.BusinessPartner
  association [0..1] to I_ChmlCmplncReqCmplncProc   as _ChmlCmplncReqCmplncProc  on $projection.ChmlCmplncReqCmplncProc = _ChmlCmplncReqCmplncProc.ChmlCmplncReqCmplncProc
  association [0..1] to I_ChmlCmplncBusProc         as _BusinessProcess          on $projection.ChmlCmplncBusinessProcess = _BusinessProcess.ChmlCmplncBusinessProcess
  association [0..1] to I_ChmlCmplncReqOriginType   as _OriginType               on $projection.ChmlCmplncRequestOriginType = _OriginType.ChmlCmplncRequestOriginType
  association [0..1] to I_ChmlCmplncReqOriginProc   as _OriginProcess            on $projection.ChmlCmplncReqOriginProc = _OriginProcess.ChmlCmplncReqOriginProc
  association [0..1] to I_ChmlCmplncReqStatus       as _RequestStatus            on $projection.ChmlCmplncRequestPrgrsStatus = _RequestStatus.ChmlCmplncReqStatus
  association [0..1] to I_ChemicalCustomerMaterial  as _ChemicalCustomerMaterial on $projection.ChemicalCustomerMaterialUUID = _ChemicalCustomerMaterial.ChemicalCustomerMaterialUUID
  association [0..*] to I_ChmlCmplncReqMkt          as _RequestedMarket          on $projection.ChmlCmplncRequestUUID = _RequestedMarket.ChmlCmplncRequestUUID
  association [0..*] to I_ChmlCmplncReqApplication  as _RequestedApplication     on $projection.ChmlCmplncRequestUUID = _RequestedApplication.ChmlCmplncRequestUUID
  association [0..*] to I_ChmlCmplncReqPrpsAssgmt   as _RequestedPurpose         on $projection.ChmlCmplncRequestUUID = _RequestedPurpose.ChmlCmplncRequestUUID
  association [0..*] to I_ChmlCmplncReqSlsOrg       as _RequestedSlsOrg          on $projection.ChmlCmplncRequestUUID = _RequestedSlsOrg.ChmlCmplncRequestUUID
  association [0..*] to I_ChmlCmplncReqPlnt         as _RequestedPlnt            on $projection.ChmlCmplncRequestUUID = _RequestedPlnt.ChmlCmplncRequestUUID
  association [0..*] to I_ChmlCmplncReqRouteSegment as _RouteSegment             on $projection.ChmlCmplncRequestUUID = _RouteSegment.ChmlCmplncRequestUUID
  association [0..1] to I_Supplier                  as _Supplier                 on $projection.Supplier = _Supplier.Supplier
{
  key 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,


      chmlcmplncrequestduedate                                                as ChmlCmplncRequestDueDate,
      chmlcmplncreqcmplncproc                                                 as ChmlCmplncReqCmplncProc,
      chmlcmplncrequestorigintype                                             as ChmlCmplncRequestOriginType,
      chmlcmplncreqoriginproc                                                 as ChmlCmplncReqOriginProc,
      chmlcmplncrequestprgrsstatus                                            as ChmlCmplncRequestPrgrsStatus,
      chmlcmplncbusinessprocess                                               as ChmlCmplncBusinessProcess,
      chmlcmplncreqbpprocessor                                                as ChmlCmplncReqBPProcessor,
      chmlcmplncreqbprequester                                                as ChmlCmplncReqBPRequester,
      chmlcmplncreqrequester                                                  as ChmlCmplncReqRequester,

      chmlcmplncinfouuid                                                      as ChmlCmplncInfoUUID,
      chmlcmplncproduuid                                                      as ChmlCmplncProdUUID,
      chemicalcustomermaterialuuid                                            as ChemicalCustomerMaterialUUID,

      material                                                                as Material,
      salesdocument                                                           as SalesDocument,
      salesdocumentitem                                                       as SalesDocumentItem,
      chmlcmplncreqlogisticdoccat                                             as ChmlCmplncReqLogisticDocCat,

      chmlcmplncrequestremark                                                 as ChmlCmplncRequestRemark,

      chmlcmplncreqdetails                                                    as ChmlCmplncReqDetails,

      prodcmplnclogsdocument                                                  as ProdCmplncLogsDocument,
      prodcmplnclogsdocumentuuid                                              as ProdCmplncLogsDocumentUUID,
      prodcmplnclogsdocumentitem                                              as ProdCmplncLogsDocumentItem,
      businesssystemname                                                      as BusinessSystemName,
      dngrsgoodsmodeoftransport                                               as DngrsGoodsModeOfTransport,

      supplier                                                                as Supplier,


      -- associations
      _CreatedByUser,
      _LastChangedByUser,
      _Product,
      _ChmlCmplncInfo,
      _ChemicalCustomerMaterial,
      _RequesterUser,
      _BusinessUserRequester,
      _BusinessUserProcessor,
      _ChmlCmplncReqCmplncProc,
      _BusinessProcess,
      _OriginType,
      _OriginProcess,
      _RequestStatus,
      _RequestedMarket,
      _RequestedApplication,
      _RequestedPurpose,
      _RequestedSlsOrg,
      _RequestedPlnt,
      _RouteSegment,
      _Supplier

}