P_NetStkMTM_QrepVersion
P_NetStkMTM_QrepVersion is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_LoadDataCaptureEvent, I_LoadDataCaptureHdr, I_RepositoryGrade) and exposes 3 fields with key field LDCId.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_LoadDataCaptureEvent | LDCevnt | inner |
| I_LoadDataCaptureHdr | LDChdr | inner |
| I_RepositoryGrade | Qrephdr | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PACMQREPVERSION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.preserveKey | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LDCId | I_LoadDataCaptureHdr | LDCId | |
| LoadDataCaptureEventType | ||||
| QuantityRepositoryVersionVersion |
@AbapCatalog.sqlViewName: 'PACMQREPVERSION'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AbapCatalog.preserveKey:true
define view P_NetStkMTM_QrepVersion
as select from I_RepositoryGrade as Qrephdr
inner join I_LoadDataCaptureEvent as LDCevnt on LDCevnt.LDCEventKey = Qrephdr.LDCEventKey
inner join I_LoadDataCaptureHdr as LDChdr on LDCevnt.LDCKey = LDChdr.LDCKey
{
key LDChdr.LDCId, -- UIS ID
key LDCevnt.LoadDataCaptureEventType, -- Event Type
Qrephdr.QuantityRepositoryVersion -- Version
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LOADDATACAPTUREEVENT",
"I_LOADDATACAPTUREHDR",
"I_REPOSITORYGRADE"
],
"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