P_DMVCGLAccItemProfitCenter
P_DMVCGLAccItemProfitCenter is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ACDOCA) and exposes 19 fields with key fields awtyp, aworg, awref, awitem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ACDOCA | _acdoca | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PDMVCGLACCPRCTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | awtyp | P_ACDOCA | awtyp | |
| KEY | aworg | P_ACDOCA | aworg | |
| KEY | awref | P_ACDOCA | awref | |
| KEY | awitem | P_ACDOCA | awitem | |
| matnr | P_ACDOCA | matnr | ||
| belnr | P_ACDOCA | belnr | ||
| kalnr | P_ACDOCA | kalnr | ||
| qsprocess | P_ACDOCA | qsprocess | ||
| prctr | P_ACDOCA | prctr | ||
| ktosl | P_ACDOCA | ktosl | ||
| bwkey | P_ACDOCA | bwkey | ||
| paobjnr | P_ACDOCA | paobjnr | ||
| budat | P_ACDOCA | budat | ||
| rldnr | P_ACDOCA | rldnr | ||
| rbukrs | P_ACDOCA | rbukrs | ||
| gjahr | P_ACDOCA | gjahr | ||
| docln | P_ACDOCA | docln | ||
| mlptyp | P_ACDOCA | mlptyp | ||
| timestamp | P_ACDOCA | timestamp |
@AbapCatalog.sqlViewName: 'PDMVCGLACCPRCTR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #COMPOSITE
@VDM.private:true
define view P_DMVCGLAccItemProfitCenter
as select from P_ACDOCA as _acdoca
left outer to one join I_ProfitCenter as _ProfitCenter on _acdoca.prctr = _ProfitCenter.ProfitCenter
{
key _acdoca.awtyp as awtyp,
key _acdoca.aworg as aworg,
key _acdoca.awref as awref,
key _acdoca.awitem as awitem,
_acdoca.matnr as matnr,
_acdoca.belnr as belnr,
_acdoca.kalnr as kalnr,
_acdoca.qsprocess as qsprocess,
_acdoca.prctr as prctr,
_acdoca.ktosl as ktosl,
_acdoca.bwkey as bwkey,
_acdoca.paobjnr as paobjnr,
_acdoca.budat as budat,
_acdoca.rldnr as rldnr,
_acdoca.rbukrs as rbukrs,
_acdoca.gjahr as gjahr,
_acdoca.docln as docln,
_acdoca.mlptyp as mlptyp,
_acdoca.timestamp as timestamp
// _cepc.zbu as zbu,
// _cepc.zod as zod
}
where
//
// = '0L'
// and(
// _acdoca.mlptyp = 'BB'
// or _acdoca.mlptyp = 'B+'
// or _acdoca.mlptyp = 'V+'
// or _acdoca.mlptyp = 'VK'
// or _acdoca.mlptyp = 'BF'
// or _acdoca.mlptyp = 'VF'
// )
// and _acdoca.ktosl <> 'PRD'
_acdoca.kalnr <> '000000000000'
and _ProfitCenter.ValidityEndDate = '99991231'
// and _ProfitCenter.ControllingArea = 'A000'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PROFITCENTER",
"P_ACDOCA"
],
"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