I_ChmlSuplrMatlCmplRqRslt

DDL: I_CHMLSUPLRMATLCMPLRQRSLT SQL: ICSUPLRMATLCRR Type: view COMPOSITE

Compliance Requirement Results for Supplier Material

I_ChmlSuplrMatlCmplRqRslt is a Composite CDS View that provides data about "Compliance Requirement Results for Supplier Material" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 6 fields.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt CmplRqRslt from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICSUPLRMATLCRR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Compliance Requirement Results for Supplier Material view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view

Fields (6)

KeyFieldSource TableSource FieldDescription
CmplRqRsltUUID
ChmlSuplrMatlUUIDasChmlSuplrMatlUUID
CreationDateTime
CmplRqVersUUID
Processor
_SupplierMaterial
@AbapCatalog.sqlViewName: 'ICSUPLRMATLCRR'

@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@EndUserText.label: 'Compliance Requirement Results for Supplier Material'

--Access Control: Authorizations Checks
@AccessControl:
{
  authorizationCheck: #CHECK,
  // blocking of personal data not required (no personal data fields exposed for supplier material)

  personalData.blocking: #NOT_REQUIRED
}

--Client Handling of the view
@ClientHandling:
{
  type: #INHERITED,
  algorithm: #SESSION_VARIABLE
}

--VDM view type
@VDM.viewType: #COMPOSITE

@ObjectModel:
{
  usageType:
  {
    dataClass: #MIXED,
    sizeCategory: #XL,
    serviceQuality: #C
  }
}

// view returns CR results from supplier material (all CRs from raw materials are propagated to the supplier material)

// there are only preliminary CRRs for supplier materials

define view I_ChmlSuplrMatlCmplRqRslt
  --Select data from composite view "Compliance Requirment Results" (combined with different status)
  as select from I_CmplRqRslt as CmplRqRslt

{
      --UUID of Compliance Requirement Result (preliminary)
  key CmplRqRslt.CmplRqRsltUUID,

      --UUID of Supplier Material
      CmplRqRslt.ChmlSuplrMatlUUID                        as ChmlSuplrMatlUUID,

      --Preliminary Status of Compliance Requirement Result
      CmplRqRslt.CmplRqRsltManualStatus                   as CmplRqRsltPrelimCmplncSts,

      --Create date/time of Compliance Requirement Result
      CmplRqRslt.CreationDateTime,

      --UUID of Compliance Requirement Version
      CmplRqRslt.CmplRqVersUUID,

      --Processor of Compliance Requirement Result
      CmplRqRslt.Processor,

      --expose supplier material for DCL
      CmplRqRslt._SupplierMaterial
}
where
      ChmlSuplrMatlUUID          is not null
  and ChmlSuplrMatlUUID          <> hextobin( '00000000000000000000000000000000' )
  and CmplRqRsltProcessingStatus = 'IP'