P_ChmlCmplncPrpsAssgmtCt

DDL: P_CHMLCMPLNCPRPSASSGMTCT Type: view CONSUMPTION

P_ChmlCmplncPrpsAssgmtCt is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_ChmlCmplncPrpsAssgmt) and exposes 2 fields with key field ChemicalComplianceUUID.

Data Sources (1)

SourceAliasJoin Type
P_ChmlCmplncPrpsAssgmt P_ChmlCmplncPrpsAssgmt from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PCCPRPSASSGMTCT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ChemicalComplianceUUID ChemicalComplianceUUID Chemical Compliance Information PP
NmbrOfChmlCmplncPurposes

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_ChmlCmplncPrpsAssgmtCt.
-- 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.

CREATE VIEW P_ChmlCmplncPrpsAssgmtCt AS
SELECT
  ChemicalComplianceUUID,
  count( distinct ChemicalCmplncPrpsAssgmtUUID ) AS NmbrOfChmlCmplncPurposes
FROM P_ChmlCmplncPrpsAssgmt
;