P_ChmlCmplncReqUnprocessedCT
Count of unprocessed requests per Product
P_ChmlCmplncReqUnprocessedCT is a Consumption CDS View that provides data about "Count of unprocessed requests per Product" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncReq) and exposes 1 field. Part of development package EHFND_BO_CCI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncReq | I_ChmlCmplncReq | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCCREQUPCT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CountthefoundrequestscountasrecordCount |
--Count the number of unprocessed chemical compliance requests
--status = NEW
@AbapCatalog:
{
sqlViewName: 'PCCREQUPCT',
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #C
--VDM view type
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_ChmlCmplncReqUnprocessedCT
--Select data from basic view 'Chemical Compliance Request'
as select from I_ChmlCmplncReq
{
--UUID of Chemical Compliance Information/Unpackaged Product (referenced by Chemical Compliance Request)
ChmlCmplncProdUUID,
--Count the found requests
count(*) as recordCount
}
-- avoid processing of all compliance requests in the system because of empty unpackaged product relation
where ChmlCmplncProdUUID is not null and ChmlCmplncProdUUID <> hextobin('00000000000000000000000000000000')
--Only with status NEW (= unprocessed)
and ChmlCmplncRequestPrgrsStatus = 'NEW'
--grouped by Unpackaged Product
group by
ChmlCmplncProdUUID
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