P_CmplRqRsltCntPGIDN

DDL: P_CMPLRQRSLTCNTPGIDN SQL: P_CRRCNTPGIDN Type: view COMPOSITE Package: EHDGM_CNS_UNPACKAGED_PRODUCT

Count CRRs bc CCI, Processing Status and DG Classication

P_CmplRqRsltCntPGIDN is a Composite CDS View that provides data about "Count CRRs bc CCI, Processing Status and DG Classication" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 4 fields with key fields ChmlCmplncInfoUUID, DangerousGoodsPackingGroup, DangerousGoodsIdnNumber. Part of development package EHDGM_CNS_UNPACKAGED_PRODUCT.

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