P_MatlStkRepProcUseInSubs
P_MatlStkRepProcUseInSubs is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_MatlStkSubscrpnConsignment) and exposes 2 fields with key field MaterialStockReportProcedUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlStkSubscrpnConsignment | _SubsForConsignment | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialStockReportProcedUUID | I_MatlStkSubscrpnConsignment | MaterialStockReportProcedUUID | |
| NumberOfEntries |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
@VDM:{
viewType: #COMPOSITE,
private:true
}
define view entity P_MatlStkRepProcUseInSubs
as select from I_MatlStkSubscrpnConsignment as _SubsForConsignment
{
key _SubsForConsignment.MaterialStockReportProcedUUID as MaterialStockReportProcedUUID,
count (*) as NumberOfEntries
}
where
_SubsForConsignment.IsMarkedForDeletion <> 'X'
group by
MaterialStockReportProcedUUID
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MATLSTKSUBSCRPNCONSIGNMENT"
],
"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