P_ChmlCmplncCRRGrpByCRVers

DDL: P_CHMLCMPLNCCRRGRPBYCRVERS SQL: PCCCRRGRP Type: view COMPOSITE Package: EHFND_BO_CCI

CRRs for CCIs Grouped by CR Version

P_ChmlCmplncCRRGrpByCRVers is a Composite CDS View that provides data about "CRRs for CCIs Grouped by CR Version" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 3 fields with key fields ChmlCmplncInfoUUID, CmplRqVersUUID. Part of development package EHFND_BO_CCI.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt I_CmplRqRslt from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCCCRRGRP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID
KEY CmplRqVersUUID CmplRqVersUUID
_ChmlCmplncInfo _ChmlCmplncInfo
@AbapCatalog.sqlViewName: 'PCCCRRGRP'

@AbapCatalog.compiler.compareFilter: true

@AccessControl:{
  authorizationCheck: #NOT_REQUIRED
}


@ClientHandling:{
  type: #INHERITED,
  algorithm: #SESSION_VARIABLE
}

@VDM.viewType: #COMPOSITE
@VDM.private: true

/*----------------------------------------------------------------------------------------------------------------------
    Purpose:
      This view returns one record per CR version and CCI
------------------------------------------------------------------------------------------------------------------------*/

define view P_ChmlCmplncCRRGrpByCRVers
  as select from I_CmplRqRslt
{
  key ChmlCmplncInfoUUID,
  key CmplRqVersUUID,
  
  _ChmlCmplncInfo
}
where ChmlCmplncInfoUUID is not null
 and CmplRqRsltProcessingStatus <> 'OD'
group by
  ChmlCmplncInfoUUID,
  CmplRqVersUUID