Fins_Rev_Rec_uprctr_View

DDL: FINS_REV_REC_UPRCTR_VIEW Type: view_entity Package: FINS_REV_REC_UTIL

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)

SourceAliasJoin Type
acdoca a from
finsc_ld_cmp v inner

Annotations (5)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
rldnr acdoca rldnr Ledger (Compat.)
belnr acdoca belnr SD Document
docln acdoca docln Matching Document Line Item
bukrs acdoca rbukrs Company Code
docyear acdoca gjahr Settlement Year
objnr acdoca objnr Val. Obj. No.
ps_posid acdoca ps_posid WBS Element
ps_psp_pnr acdoca ps_psp_pnr WBS Element
paobjnr acdoca paobjnr Profit. segment
aufnr acdoca aufnr SettlementOrder
kdauf acdoca kdauf SD Document
kdpos acdoca kdpos Sales Ord. Item
gjahr acdoca ryear Ref. Year1
poper acdoca poper Posting periods
fiscyearper acdoca fiscyearper Period/Year
budat acdoca budat Posting Date
hkont acdoca racct GL Account From
bttype acdoca bttype Business Transaction Type
bttype_tec
ukostl acdoca ukostl OrigCCtr
pernr acdoca pernr Personnel no.
rsrce acdoca rsrce Resource
uprctr acdoca uprctr Origin Profit Center

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view Fins_Rev_Rec_uprctr_View.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW Fins_Rev_Rec_uprctr_View AS
SELECT
  a.rldnr AS rldnr,
  a.belnr AS belnr,
  a.docln AS docln,
  a.rbukrs AS bukrs,
  a.gjahr AS docyear,
  a.objnr AS objnr,
  a.ps_posid AS ps_posid,
  a.ps_psp_pnr AS ps_psp_pnr,
  a.paobjnr AS paobjnr,
  a.aufnr AS aufnr,
  a.kdauf AS kdauf,
  a.kdpos AS kdpos,
  a.ryear AS gjahr,
  a.poper AS poper,
  a.fiscyearper AS fiscyearper,
  a.budat AS budat,
  a.racct AS hkont,
  a.bttype AS 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 AS ukostl,
  a.pernr AS pernr,
  a.rsrce AS rsrce,
  a.uprctr AS uprctr
FROM acdoca AS a
INNER JOIN finsc_ld_cmp AS v ON /* join condition not captured in parsed metadata */
;