FGL_GLSI_ACD

DDL: FGL_GLSI_ACD SQL: FGLV_GLSI_ACD Type: view

View of G/L-entities on ACDOCA - generated.

FGL_GLSI_ACD is a CDS View that provides data about "View of G/L-entities on ACDOCA - generated." in SAP S/4HANA. It reads from 3 data sources (acdoca, finsc_ld_cmp, finsc_ledger_rep) and exposes 67 fields.

Data Sources (3)

SourceAliasJoin Type
acdoca a from
finsc_ld_cmp lc inner
finsc_ledger_rep lr inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName FGLV_GLSI_ACD view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label View of G/L-entities on ACDOCA - generated. view

Fields (67)

KeyFieldSource TableSource FieldDescription
rclnt acdoca rclnt Client
ryear acdoca ryear Ref. Year1
docnr acdoca belnr SD Document
rldnr finsc_ledger_rep rldnr Ledger (Compat.)
rbukrs acdoca rbukrs Company Code
docln acdoca docln Matching Document Line Item
activ
rmvct acdoca rmvct Transact. Type
rtcur acdoca rtcur Currency
runit acdoca runit Unit/Area
awtyp acdoca awtyp Reference Document Type
rrcty acdoca rrcty Record Type
rvers
logsys acdoca awsys Logical System
racct acdoca racct GL Account From
cost_elem
rcntr acdoca rcntr Cost Center
prctr acdoca prctr Profit Centers
rfarea acdoca rfarea R FuncArea
rbusa acdoca rbusa Business Area
kokrs acdoca kokrs Org. Value
segment acdoca segment Segment number
scntr acdoca scntr Sender Cost Ctr
pprctr acdoca pprctr Partner PC
sfarea acdoca sfarea Sender FnArea
sbusa acdoca sbusa Trdg Part.BA
rassc acdoca rassc Trading Partner
psegment acdoca psegment Partner Segment
tsl acdoca tsl Trans. Currency
hsl acdoca hsl Local Crcy Amt
msl acdoca msl Stat. KeyFig. Qty
wsl acdoca wsl OrigTrnsCrcyAmt
fsl acdoca fsl Amount in Currency 7
vsl acdoca vsl Amount in Currency 2
drcrk acdoca drcrk Debit/Credit
poper acdoca poper Posting periods
rwcur acdoca rwcur Transaction Currency
gjahr acdoca gjahr Settlement Year
budat acdoca budat Posting Date
belnr acdoca belnr SD Document
buzei acdoca buzei Posting View Item
bschl acdoca bschl Posting Key
bstat acdoca bstat Document Status
linetype acdoca linetype Type of line
xsplitmod acdoca xsplitmod Changed
usnam acdoca usnam User Name
timestamp acdoca timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
_dataaging acdoca _dataaging Data Aging
fikrs acdoca fikrs FM Area
rfund acdoca rfund Fund
rgrant_nbr acdoca rgrant_nbr Grant
rbudget_pd acdoca rbudget_pd Rec BudPer
sfund acdoca sfund Partner Fund
sgrant_nbr acdoca sgrant_nbr Partner Grant
sbudget_pd acdoca sbudget_pd Sender BudPer
re_bukrs acdoca re_bukrs Company Code
re_account acdoca re_account Ex/Rv A/c in CL
vname acdoca vname Volatility Name
egrup acdoca egrup Equity group
recid acdoca recid Statistical Key Figure Item
mig_source acdoca mig_source Migr. Source
mig_docln acdoca mig_docln Migr. Line Item ID
rhcur acdoca rhcur Local Currency
rfcur acdoca rfcur Free Defined Crcy 7
rvcur acdoca rvcur Free Defined Crcy 4
fcsl acdoca fcsl Amount in FunctCrcy
rfccur acdoca rfccur Functional Currency

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_GLSI_ACD.
-- 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: FGLV_GLSI_ACD

CREATE VIEW FGL_GLSI_ACD AS
SELECT
  a.rclnt AS rclnt,
  a.ryear AS ryear,
  a.belnr AS docnr,
  lr.rldnr AS rldnr,
  a.rbukrs AS rbukrs,
  a.docln AS docln,
  cast(cast(a.bttype as abap.char(4)) as acti1) AS activ,
  a.rmvct AS rmvct,
  a.rtcur AS rtcur,
  a.runit AS runit,
  a.awtyp AS awtyp,
  a.rrcty AS rrcty,
  cast('001' as abap.char(3)) AS rvers,
  a.awsys AS logsys,
  a.racct AS racct,
  case when a.co_buzei <> '000' then a.racct else '' end AS cost_elem,
  a.rcntr AS rcntr,
  a.prctr AS prctr,
  a.rfarea AS rfarea,
  a.rbusa AS rbusa,
  a.kokrs AS kokrs,
  a.segment AS segment,
  a.scntr AS scntr,
  a.pprctr AS pprctr,
  a.sfarea AS sfarea,
  a.sbusa AS sbusa,
  a.rassc AS rassc,
  a.psegment AS psegment,
  a.tsl AS tsl,
  a.hsl AS hsl,
  a.msl AS msl,
  a.wsl AS wsl,
  a.fsl AS fsl,
  a.vsl AS vsl,
  a.drcrk AS drcrk,
  a.poper AS poper,
  a.rwcur AS rwcur,
  a.gjahr AS gjahr,
  a.budat AS budat,
  a.belnr AS belnr,
  a.buzei AS buzei,
  a.bschl AS bschl,
  a.bstat AS bstat,
  a.linetype AS linetype,
  a.xsplitmod AS xsplitmod,
  a.usnam AS usnam,
  a.timestamp AS timestamp,
  a._dataaging AS _dataaging,
  a.fikrs AS fikrs,
  a.rfund AS rfund,
  a.rgrant_nbr AS rgrant_nbr,
  a.rbudget_pd AS rbudget_pd,
  a.sfund AS sfund,
  a.sgrant_nbr AS sgrant_nbr,
  a.sbudget_pd AS sbudget_pd,
  a.re_bukrs AS re_bukrs,
  a.re_account AS re_account,
  a.vname AS vname,
  a.egrup AS egrup,
  a.recid AS recid,
  a.mig_source AS mig_source,
  a.mig_docln AS mig_docln,
  a.rhcur AS rhcur,
  a.rfcur AS rfcur,
  a.rvcur AS rvcur,
  a.fcsl AS fcsl,
  a.rfccur AS rfccur
FROM acdoca AS a
INNER JOIN finsc_ledger_rep AS lr ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_ld_cmp AS lc ON /* join condition not captured in parsed metadata */
;