P_CCIPPAssmntWithReldUPAssmnt

DDL: P_CCIPPASSMNTWITHRELDUPASSMNT SQL: PCCPPRREUPR Type: view CONSUMPTION

PP Assmnt (IP and RE) for UP Assmnt (RE)

P_CCIPPAssmntWithReldUPAssmnt is a Consumption CDS View that provides data about "PP Assmnt (IP and RE) for UP Assmnt (RE)" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 3 fields with key fields CmplRqVersUUID, ChmlCmplncInfoUUID.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt CRR from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PCCPPRREUPR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #CONSUMPTION view
EndUserText.label PP Assmnt (IP and RE) for UP Assmnt (RE) view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CmplRqVersUUID I_CmplRqRslt CmplRqVersUUID
KEY ChmlCmplncInfoUUID I_CmplRqRslt ChmlCmplncInfoUUID
CmplRqRsltProcessingStatus I_CmplRqRslt CmplRqRsltProcessingStatus
@AbapCatalog.sqlViewName: 'PCCPPRREUPR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'PP Assmnt (IP and RE) for UP Assmnt (RE)'
define view P_CCIPPAssmntWithReldUPAssmnt as select from I_CmplRqRslt as CRR
 join I_CmplRqVers as ComplianceRequirementVersion on ComplianceRequirementVersion.CmplRqVersUUID = CRR.CmplRqVersUUID 
                                                      and ComplianceRequirementVersion.CmplRqApplicationComponent = 'DG' {

  key CRR.CmplRqVersUUID,
  key CRR.ChmlCmplncInfoUUID,
  CRR.CmplRqRsltProcessingStatus
} where (
          // Only consider In Process CRRs where the calculated status is not initial (means there is a released UP CRR)

          CRR.CmplRqRsltProcessingStatus = 'IP' and CRR.CmplRqRsltCalculatedStatus != '' ) or
          CRR.CmplRqRsltProcessingStatus = 'RE'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CMPLRQRSLT",
"I_CMPLRQVERS"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/