P_MasterDataNoteItemCount
Number of Notes
P_MasterDataNoteItemCount is a Composite CDS View that provides data about "Number of Notes" in SAP S/4HANA. It reads from 1 data source (I_MasterDataNote) and exposes 3 fields with key fields MasterDataNoteObjectType, MasterDataNoteObjectIdentifier. It has 1 association to related views. Part of development package MDC_NOTES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MasterDataNote | Note | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MasterDataNoteItem | _NoteItem | _NoteItem.MasterDataNoteUUID = Note.MasterDataNoteUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Number of Notes | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataNoteObjectType | I_MasterDataNote | MasterDataNoteObjectType | |
| KEY | MasterDataNoteObjectIdentifier | I_MasterDataNote | MasterDataNoteObjectIdentifier | |
| NumberOfNotes |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Number of Notes'
@Metadata.ignorePropagatedAnnotations: true
@VDM.private:true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
define view entity P_MasterDataNoteItemCount
as select from I_MasterDataNote as Note
association [0..*] to I_MasterDataNoteItem as _NoteItem on _NoteItem.MasterDataNoteUUID = Note.MasterDataNoteUUID
{
key Note.MasterDataNoteObjectType,
key Note.MasterDataNoteObjectIdentifier,
count( distinct _NoteItem.MasterDataNoteItemUUID ) as NumberOfNotes
}
group by
Note.MasterDataNoteObjectType,
Note.MasterDataNoteObjectIdentifier
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