P_Stockmaterial
Stock Champion Material
P_Stockmaterial is a Composite CDS View that provides data about "Stock Champion Material" in SAP S/4HANA. It reads from 2 data sources (mara, marc) and exposes 3 fields with key fields Material, Plant. Part of development package ODATA_PP_SC.
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSTOCKMATERIAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
@AbapCatalog.sqlViewName: 'PSTOCKMATERIAL'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ObjectModel.usageType: {serviceQuality: #D, sizeCategory: #XL, dataClass: #MASTER}
define view P_Stockmaterial
as select from mara as _Material
inner join marc as _Plant on _Material.matnr = _Plant.matnr
{
key _Material.matnr as Material,
key _Plant.werks as Plant,
matkl as MaterialGroup
}
where _Material.xchpf = 'X';
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