P_DMVCGLAccLineItemEdge
P_DMVCGLAccLineItemEdge is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_ACDOCA, P_DMVCActivityMaterialEdge) and exposes 6 fields with key fields MaterialValueChainNodeFrom, MaterialValueChainNodeTo, AccountingDocument, LedgerGLLineItem, CompanyCode.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_ACDOCA | _Acdoca | inner |
| P_DMVCActivityMaterialEdge | P_DMVCActivityMaterialEdge | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_DateFrom | calendardate | |
| P_DateTo | calendardate | |
| P_CurrencyType | fins_curtype | |
| P_Ledger | fins_ledger |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGLITMEDGE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
@AbapCatalog.sqlViewName: 'PGLITMEDGE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private:true
define view P_DMVCGLAccLineItemEdge
with parameters
P_DateFrom : calendardate,
P_DateTo : calendardate,
P_CurrencyType : fins_curtype,
P_Ledger : fins_ledger
as select from P_DMVCActivityMaterialEdge(P_DateFrom : $parameters.P_DateFrom,
P_DateTo : $parameters.P_DateTo,
P_CurrencyType : $parameters.P_CurrencyType,
P_Ledger : $parameters.P_Ledger) as _Edge
inner join P_ACDOCA as _Acdoca on ( _Acdoca.kalnr = _Edge.MaterialValueChainNodeFrom and
_Acdoca.qsprocess = _Edge.MaterialValueChainNodeTo )
or ( _Acdoca.kalnr = _Edge.MaterialValueChainNodeTo and
_Acdoca.qsprocess = _Edge.MaterialValueChainNodeFrom )
{
key MaterialValueChainNodeFrom,
key MaterialValueChainNodeTo,
key _Acdoca.belnr as AccountingDocument,
key _Acdoca.docln as LedgerGLLineItem,
key _Acdoca.rbukrs as CompanyCode,
Currency
}
where
_Acdoca.budat >= $parameters.P_DateFrom
and _Acdoca.budat <= $parameters.P_DateTo
and _Acdoca.rldnr = $parameters.P_Ledger
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_ACDOCA",
"P_DMVCACTIVITYMATERIALEDGE"
],
"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