P_AssignedMaterialsCount
Number og assigned materials in a Materialgroup
P_AssignedMaterialsCount is a Consumption CDS View that provides data about "Number og assigned materials in a Materialgroup" in SAP S/4HANA. It reads from 1 data source (I_Material) and exposes 2 fields with key field MaterialGroup. Part of development package ODATA_SLC_PURG_CAT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Material | I_Material | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PASSGDMATLCNT | view | |
| EndUserText.label | Number og assigned materials in a Materialgroup | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialGroup | I_Material | MaterialGroup | |
| AssignedMaterialsCount |
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'PASSGDMATLCNT'
@EndUserText.label: 'Number og assigned materials in a Materialgroup'
define view P_AssignedMaterialsCount
as select from I_Material
{
key I_Material.MaterialGroup,
count(*) as AssignedMaterialsCount
} group by I_Material.MaterialGroup
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