P_CmplRqRsltCntPGIDN

DDL: P_CMPLRQRSLTCNTPGIDN SQL: P_CRRCNTPGIDN Type: view COMPOSITE

P_CmplRqRsltCntPGIDN is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 4 fields with key fields ChmlCmplncInfoUUID, DangerousGoodsPackingGroup, DangerousGoodsIdnNumber.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt CRR from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName P_CRRCNTPGIDN 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 #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID
KEY DangerousGoodsPackingGroup DangerousGoodsPackingGroup
KEY DangerousGoodsIdnNumber
Frequency
@AbapCatalog.sqlViewName: 'P_CRRCNTPGIDN'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #COMPOSITE
define view P_CmplRqRsltCntPGIDN as select from I_CmplRqRslt as CRR
  join I_CmplRqRsltDngrsGdsBscDets as DangerousGoodsDetails on DangerousGoodsDetails.CmplRqRsltUUID = CRR.CmplRqRsltUUID {
  key ChmlCmplncInfoUUID,  
  key DangerousGoodsPackingGroup,
  key cast( concat( DangerousGoodsIdnNumberType, DangerousGoodsIdnNumber ) as ehdgm_dangerous_good_idn_comb ) as DangerousGoodsIdnNumber,
  count(*) as Frequency
} where CmplRqRsltProcessingStatus = 'RE'
 group by ChmlCmplncInfoUUID, DangerousGoodsPackingGroup, DangerousGoodsIdnNumberType, DangerousGoodsIdnNumber
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CMPLRQRSLT",
"I_CMPLRQRSLTDNGRSGDSBSCDETS"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/