FGL_BCF_HIST_ALLP

DDL: FGL_BCF_HIST_ALLP SQL: BCFV_HIST_ALLP Type: view

Previous year

FGL_BCF_HIST_ALLP is a CDS View that provides data about "Previous year" in SAP S/4HANA. It reads from 1 data source (FGL_BCF_HIST_PREP) and exposes 103 fields with key fields belnr, docln, ryear, rbukrs, rldnr.

Data Sources (1)

SourceAliasJoin Type
FGL_BCF_HIST_PREP FGL_BCF_HIST_PREP from

Parameters (5)

NameTypeDefault
P_company_code bukrs
P_ledger fins_ledger
P_from_year gjahr_pos
P_to_year gjahr_pos
P_timestamp timestamp

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName BCFV_HIST_ALLP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
EndUserText.label Previous year view

Fields (103)

KeyFieldSource TableSource FieldDescription
KEY belnr belnr SD Document
KEY docln docln Matching Document Line Item
KEY ryear ryear Ref. Year1
KEY rbukrs rbukrs Company Code
KEY rldnr rldnr Ledger (Compat.)
timestamp
xbilk xbilk Checkbox
drcrk drcrk Debit/Credit
poper poper Posting periods
racct racct GL Account From
glu1_account glu1_account
vtkon vtkon
tsl tsl Trans. Currency
rtcur rtcur Currency
t001_waers t001_waers
rmvct rmvct Transact. Type
org_account org_account P&L account
allpossiblePLfieldsawtyp
awsys awsys Logical System
blart blart Rep. rec. doc. type
co_osl co_osl Value/Obj. Crcy
eprctr eprctr Elimination PrCtr
bsl bsl Exchange Key
csl csl Amount in Currency 4
dsl dsl Amount in Currency 5
esl esl Amount in Currency 6
fsl fsl Amount in Currency 7
gsl gsl Amount in Currency 8
hsl hsl Local Crcy Amt
kokrs kokrs Org. Value
ksl ksl GrpCurr
ktop2 ktop2 Alternative COA
ktopl ktopl G/L Chart of Accounts
osl osl Other Crcy Amnt
periv periv FYear Variant
pfsl pfsl Price Var. Fxd
pprctr pprctr Partner PC
prctr prctr Profit Centers
psegment psegment Partner Segment
psl psl Price Variance
rassc rassc Trading Partner
rbusa rbusa Business Area
rclnt rclnt Client
rcntr rcntr Cost Center
rco_ocur rco_ocur Object Currency
rfarea rfarea R FuncArea
rbcur rbcur Free Defined Crcy 3
rccur rccur Third Currency
rdcur rdcur Free Defined Crcy 5
recur recur Free Defined Crcy 6
rfcur rfcur Free Defined Crcy 7
rgcur rgcur Free Defined Crcy 8
rhcur rhcur Local Currency
rhoart rhoart Origin object
rkcur rkcur Ledger curr.
rocur rocur Free Defined Crcy 1
rrcty rrcty Record Type
rvcur rvcur Free Defined Crcy 4
rwcur rwcur Transaction Currency
sbusa sbusa Trdg Part.BA
scntr scntr Sender Cost Ctr
segment segment Segment number
sfarea sfarea Sender FnArea
vsl vsl Amount in Currency 2
wsl wsl OrigTrnsCrcyAmt
Publicsectorre_bukrs
re_account re_account Ex/Rv A/c in CL
fikrs fikrs FM Area
fistl fistl Funds Center
measure measure obsolete
rfund rfund Fund
rgrant_nbr rgrant_nbr Grant
rbudget_pd rbudget_pd Rec BudPer
sfund sfund Partner Fund
sgrant_nbr sgrant_nbr Partner Grant
sbudget_pd sbudget_pd Sender BudPer
bdgt_account bdgt_account Budget Account
JVAvname
egrup egrup Equity group
recid recid Statistical Key Figure Item
aufnr aufnr SettlementOrder
btype btype ProcurementType
prodper prodper Production Month
cbrunid cbrunid Cutback Run ID (JVA)
jvactivity jvactivity JVA Activity
pvname pvname Variant
pegrup pegrup Partner EG (JVA)
hbkid hbkid House Bank
hktid hktid House Bank Account
werks werks Receiving Plant
bukrs_sender bukrs_sender Sender CoCode
racct_sender racct_sender Sender GL Account
vptnr vptnr Partner
RealEstateswenr
sgenr sgenr Building
sgrnr sgrnr Land
Accrualacritmtype
acrobjtype acrobjtype Accrual Object Type
acrobj_id acrobj_id Accrual Object
acrsobj_id acrsobj_id Accrual Subobject
valobjtype valobjtype Type of Fin.Val.Obj.
valobj_id valobj_id Fin Valuation Object
valsobj_id valsobj_id Fin.Val.Sub.Object

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 FGL_BCF_HIST_ALLP.
-- 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: BCFV_HIST_ALLP
-- Parameters: P_company_code : bukrs, P_ledger : fins_ledger, P_from_year : gjahr_pos, P_to_year : gjahr_pos, P_timestamp : timestamp

CREATE VIEW FGL_BCF_HIST_ALLP AS
SELECT
  belnr,
  docln,
  ryear,
  rbukrs,
  rldnr,
  $parameters.P_timestamp AS timestamp,
  xbilk,
  drcrk,
  poper,
  racct,
  glu1_account,
  vtkon,
  tsl,
  rtcur,
  t001_waers,
  rmvct,
  org_account,
  awsys,
  blart,
  co_osl,
  eprctr,
  bsl,
  csl,
  dsl,
  esl,
  fsl,
  gsl,
  hsl,
  kokrs,
  ksl,
  ktop2,
  ktopl,
  osl,
  periv,
  pfsl,
  pprctr,
  prctr,
  psegment,
  psl,
  rassc,
  rbusa,
  rclnt,
  rcntr,
  rco_ocur,
  rfarea,
  rbcur,
  rccur,
  rdcur,
  recur,
  rfcur,
  rgcur,
  rhcur,
  rhoart,
  rkcur,
  rocur,
  rrcty,
  rvcur,
  rwcur,
  sbusa,
  scntr,
  segment,
  sfarea,
  vsl,
  wsl,
  re_account,
  fikrs,
  fistl,
  measure,
  rfund,
  rgrant_nbr,
  rbudget_pd,
  sfund,
  sgrant_nbr,
  sbudget_pd,
  bdgt_account,
  egrup,
  recid,
  aufnr,
  btype,
  prodper,
  cbrunid,
  jvactivity,
  pvname,
  pegrup,
  hbkid,
  hktid,
  werks,
  bukrs_sender,
  racct_sender,
  vptnr,
  sgenr,
  sgrnr,
  acrobjtype,
  acrobj_id,
  acrsobj_id,
  valobjtype,
  valobj_id,
  valsobj_id
FROM FGL_BCF_HIST_PREP
;