Fins_Rev_Rec_uprctr_View
pernr - origin prctr
Fins_Rev_Rec_uprctr_View is a CDS View that provides data about "pernr - origin prctr" in SAP S/4HANA. It reads from 2 data sources (acdoca, finsc_ld_cmp) and exposes 23 fields. Part of development package FINS_REV_REC_UTIL.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | a | from |
| finsc_ld_cmp | v | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | pernr - origin prctr | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| rldnr | acdoca | rldnr | ||
| belnr | acdoca | belnr | ||
| docln | acdoca | docln | ||
| bukrs | acdoca | rbukrs | ||
| docyear | acdoca | gjahr | ||
| objnr | acdoca | objnr | ||
| ps_posid | acdoca | ps_posid | ||
| ps_psp_pnr | acdoca | ps_psp_pnr | ||
| paobjnr | acdoca | paobjnr | ||
| aufnr | acdoca | aufnr | ||
| kdauf | acdoca | kdauf | ||
| kdpos | acdoca | kdpos | ||
| gjahr | acdoca | ryear | ||
| poper | acdoca | poper | ||
| fiscyearper | acdoca | fiscyearper | ||
| budat | acdoca | budat | ||
| hkont | acdoca | racct | ||
| bttype | acdoca | bttype | ||
| bttype_tec | ||||
| ukostl | acdoca | ukostl | ||
| pernr | acdoca | pernr | ||
| rsrce | acdoca | rsrce | ||
| uprctr | acdoca | uprctr |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'pernr - origin prctr'
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MIXED
//ACDOCA based list of
//- document number and item
//- account assignment object
//- personal number
//- resource
//- origin cost center
//- origin profit center
//- business transaction type
//- GL account
//Used in class cl_fins_trr_pernr_util
//Selects from ACDOCA all items which are no revenue recognition items
define view entity Fins_Rev_Rec_uprctr_View
as select
from acdoca as a
inner join finsc_ld_cmp as v on a.rbukrs = v.bukrs
and a.rldnr = v.rldnr --- Ledger space is obsolete or a.rldnr = '' )
{
a.rldnr as rldnr,
a.belnr,
a.docln,
a.rbukrs as bukrs,
a.gjahr as docyear,
a.accasty,
a.objnr,
a.ps_posid,
a.ps_psp_pnr,
a.paobjnr,
a.aufnr,
a.kdauf,
a.kdpos,
a.ryear as gjahr,
a.poper,
a.fiscyearper,
a.budat,
a.racct as hkont,
a.bttype,
cast( case a.bttype when 'RFCV' then a.bttype else ( case a.vrgng when '' then a.vorgn when 'COIE' then a.vorgn when 'COIN' then a.vorgn else a.vrgng end ) end as fins_trr_bttype ) as bttype_tec,
a.ukostl,
a.pernr,
a.rsrce,
a.uprctr
}
where
(
a.objnr <> ''
and a.glaccount_type <> 'X'
and not(
a.accasty is null
or a.accasty = ''
)
or(
a.mig_source = 'C'
and a.bstat = 'C'
)
or(
a.mig_source = ' '
and a.bstat = 'C'
)
)
and a.vorgn <> 'TBRR'
and(
a.mig_source <> ' '
or(
a.mig_source = ' '
and not(
a.bstat = 'C'
and a.poper = '000'
)
)
)
;
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