P_ChmlCmplncPrpsSdsRqmtCt
P_ChmlCmplncPrpsSdsRqmtCt is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_CmplncPrps) and exposes 2 fields with key field CmplncPrpsUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplncPrps | Purpose | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCCPRPSSDSRQMTCT | 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmplncPrpsUUID | I_CmplncPrps | CmplncPrpsUUID | |
| NmbrOfChmlCmplncDataShtRqmts |
@AbapCatalog:
{
sqlViewName: 'PCCPRPSSDSRQMTCT',
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_ChmlCmplncPrpsSdsRqmtCt
as select from I_CmplncPrps as Purpose
join I_CmplncPrpsRqmtAssgmt as PrpsCRAssgnmt on PrpsCRAssgnmt.CmplncPrpsUUID = Purpose.CmplncPrpsUUID
join I_CmplRqVers as CRVersion on PrpsCRAssgnmt.CmplRqUUID = CRVersion.CmplRqUUID
{
key Purpose.CmplncPrpsUUID as CmplncPrpsUUID,
cast( count( distinct CRVersion.CmplRqUUID ) as ehfnd_cci_number_of_cr_sds ) as NmbrOfChmlCmplncDataShtRqmts
}
where
CRVersion.CmplRqApplicationComponent = 'SDS'
and PrpsCRAssgnmt.CmplncPrpsRqmtAssgmtIsObslt <> 'X'
group by
Purpose.CmplncPrpsUUID
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CMPLNCPRPS",
"I_CMPLNCPRPSRQMTASSGMT",
"I_CMPLRQVERS"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA