P_CnsldtnDataWCnsldtnLogicYTD

DDL: P_CNSLDTNDATAWCNSLDTNLOGICYTD SQL: PCDATACLOGICYTD Type: view COMPOSITE Package: FCIN_UC

Consolidation: Consolidated Data with Reporting Logic

P_CnsldtnDataWCnsldtnLogicYTD is a Composite CDS View that provides data about "Consolidation: Consolidated Data with Reporting Logic" in SAP S/4HANA. It reads from 1 data source (acdocu) and exposes 108 fields. Part of development package FCIN_UC.

Data Sources (1)

SourceAliasJoin Type
acdocu acdocu from

Annotations (12)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PCDATACLOGICYTD view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (108)

KeyFieldSource TableSource FieldDescription
rclnt rclnt Client
gl_sirid
rldnr rldnr Ledger (Compat.)
rrcty rrcty Record Type
rvers rvers Version: Tax rt
ryear ryear Ref. Year1
rtcur rtcur Currency
rhcur rhcur Local Currency
rkcur rkcur Ledger curr.
runit runit Unit/Area
drcrk
poper poper Posting periods
fiscyearper fiscyearper Period/Year
docct docct Document Categ.
docnr docnr Well doc.no.
docln docln Matching Document Line Item
rcomp rcomp Trading Partner
rdimen rdimen Dimension
rbunit rbunit Consolidation Unit
ritclg ritclg Consolidation COA
ritem ritem Reporting Item
rbuptr rbuptr Partner Unit
rcongr rcongr Consolidation Group
robukrs robukrs Orig. CC
sityp sityp Trip Schedule Type
subit subit Subitem
plevl plevl Posting Level
rpflg rpflg Apportionment
rtflg rtflg Currency Translation Indicator
docty docty Document Type
yracq yracq Year of Acquisition
pracq pracq Period of Acquisition
coicu coicu Investee Unit
uppcu uppcu Investor Unit
updhp
tsl tsl Trans. Currency
hsl hsl Local Crcy Amt
ksl ksl GrpCurr
msl msl Stat. KeyFig. Qty
sgtxt sgtxt Text
autom autom Automatic Call
activ activ Transaction
bvorg bvorg Intercompany Transac
budat budat Posting Date
wsdat wsdat Value Date
refdocnr refdocnr Reference
refryear refryear Reference year
refdocln refdocln Reference Item
refdocct refdocct Ref. Doc. Cat.
refactiv refactiv Ref. Transactn
cpudt cpudt Imported On
cputm cputm Time
usnam usnam User Name
rvsdocnr rvsdocnr Reversed With
orndocnr orndocnr Reversed doc.
coiac coiac Investment Activity
coinr coinr Investment Activity Number
revyear revyear Year of reversal doc
awtyp awtyp Reference Document Type
aworg aworg Refer. Org.Unit
logsys logsys Source system
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
racct racct GL Account From
rcntr rcntr Cost Center
prctr prctr Profit Centers
rfarea rfarea R FuncArea
rbusa rbusa Business Area
kokrs kokrs Org. Value
segment segment Segment number
scntr scntr Sender Cost Ctr
pprctr pprctr Partner PC
sfarea sfarea Sender FnArea
sbusa sbusa Trdg Part.BA
rassc rassc Trading Partner
psegment psegment Partner Segment
rmvct rmvct Transact. Type
matnr matnr Vehicle Model
werks werks Receiving Plant
kunnr kunnr Stock customer
lifnr lifnr Vendor no.
ps_posid ps_posid WBS Element
ps_pspid ps_pspid Project def.
fkart fkart Ship. cost type
vkorg vkorg SD Sales Org.
vtweg vtweg RefDistCh-Cust/Mat.
spart spart Source supplier
matnr_copa matnr_copa Product Sold
matkl matkl Product Sold Group
kdgrp kdgrp Customer group
land1 land1 Trip Ctry/Reg
brsch brsch Industry
bzirk bzirk Sales District
kunre kunre Bill-to Party
kunwe kunwe Ship-to Party
konzs konzs Group
zuonr zuonr Finance Project
aufnr aufnr SettlementOrder
xblnr xblnr Reference
matkl_mm matkl_mm Material Group
ps_psp_pnr ps_psp_pnr WBS Element
ktopl ktopl G/L Chart of Accounts
adhocitem adhocitem Ad Hoc Item
adhocset adhocset Ad Hoc Set
adhocsetitem adhocsetitem Ad Hoc Set Item
rcode rcode Result
orig_ref orig_ref Origin Ref.
orig_type orig_type Origin Type
bunnr bunnr Document Bundle No.

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 P_CnsldtnDataWCnsldtnLogicYTD.
-- 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.
-- SQL view name: PCDATACLOGICYTD

CREATE VIEW P_CnsldtnDataWCnsldtnLogicYTD AS
SELECT
  rclnt,
  ' ' AS gl_sirid,
  rldnr,
  rrcty,
  rvers,
  ryear,
  rtcur,
  rhcur,
  rkcur,
  runit,
  '' AS drcrk,
  poper,
  fiscyearper,
  docct,
  docnr,
  docln,
  rcomp,
  rdimen,
  rbunit,
  ritclg,
  ritem,
  rbuptr,
  rcongr,
  robukrs,
  sityp,
  subit,
  plevl,
  rpflg,
  rtflg,
  docty,
  yracq,
  pracq,
  coicu,
  uppcu,
  '000' AS updhp,
  tsl,
  hsl,
  ksl,
  msl,
  sgtxt,
  autom,
  activ,
  bvorg,
  budat,
  wsdat,
  refdocnr,
  refryear,
  refdocln,
  refdocct,
  refactiv,
  cpudt,
  cputm,
  usnam,
  rvsdocnr,
  orndocnr,
  coiac,
  coinr,
  revyear,
  awtyp,
  aworg,
  logsys,
  timestamp,
  racct,
  rcntr,
  prctr,
  rfarea,
  rbusa,
  kokrs,
  segment,
  scntr,
  pprctr,
  sfarea,
  sbusa,
  rassc,
  psegment,
  rmvct,
  matnr,
  werks,
  kunnr,
  lifnr,
  ps_posid,
  ps_pspid,
  fkart,
  vkorg,
  vtweg,
  spart,
  matnr_copa,
  matkl,
  kdgrp,
  land1,
  brsch,
  bzirk,
  kunre,
  kunwe,
  konzs,
  zuonr,
  aufnr,
  xblnr,
  matkl_mm,
  ps_psp_pnr,
  ktopl,
  adhocitem,
  adhocset,
  adhocsetitem,
  rcode,
  orig_ref,
  orig_type,
  bunnr
FROM acdocu
;