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 Chemical Compliance Information PP
KEY DangerousGoodsPackingGroup DangerousGoodsPackingGroup Packing Group
KEY DangerousGoodsIdnNumber
Frequency

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_CmplRqRsltCntPGIDN.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: P_CRRCNTPGIDN

CREATE VIEW P_CmplRqRsltCntPGIDN AS
SELECT
  ChmlCmplncInfoUUID,
  DangerousGoodsPackingGroup,
  cast( concat( DangerousGoodsIdnNumberType, DangerousGoodsIdnNumber ) as ehdgm_dangerous_good_idn_comb ) AS DangerousGoodsIdnNumber,
  count(*) AS Frequency
FROM I_CmplRqRslt AS CRR
;