FAA_CFG_AFABER

DDL: FAA_CFG_AFABER SQL: FAAV_CFG_AFABER Type: view

Intern: Representative Ledger fuer AfA-Bereiche

FAA_CFG_AFABER is a CDS View that provides data about "Intern: Representative Ledger fuer AfA-Bereiche" in SAP S/4HANA. It reads from 6 data sources and exposes 79 fields with key fields bukrs, afaber.

Data Sources (6)

SourceAliasJoin Type
finsc_ld_cmp ld_cmp inner
t093a quant left_outer
t093 t093 inner
t093a t093a inner
t093b t093b inner
fagl_tldgrp_map tldgrp_map inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName FAAV_CFG_AFABER view
EndUserText.label Intern: Representative Ledger fuer AfA-Bereiche view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 2 view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view

Fields (79)

KeyFieldSource TableSource FieldDescription
KEY bukrs t093c bukrs Value
KEY afaber t093 afaber Deprec. Area
afapl t093c afapl Chart of Depr.
lgjahr t093c lgjahr Highest F.Year
bukrsn t093c bukrsn Company Code
aprof t093c aprof Settlmt Profile
varbzd t093c varbzd Var. for Val.Date
afblrt t093c afblrt DocTyp DepPost
xrumpf t093c xrumpf Shortened FYear
xnoskonto t093c xnoskonto No Discount
revdmeth t093c revdmeth Revenue Dist.
xrebuw t093c xrebuw Enter Net BkVal
xvrsku t093c xvrsku Calc.insur.value
xzorg t093c xzorg Time-Indep.Org.Units
bkrakt t093c bkrakt Across Co.Codes
monmit t093c monmit Start 2nd Half Month
xanueb t093c xanueb Status Co.Code
xstore t093 xstore Real Dep. Area
buhbkt t093 buhbkt Ind.: G/L Acct.
ldgrp t093 ldgrp_gl Target Ledger Group
xafaber t093 xafaber As Real Area
xberep t093 xberep Area for reporting purposes only
gafaber t093 gafaber Cross-Syst.Area
vzansw t093 vzansw Acq. Value Sign
vzrest t093 vzrest Net Bk Val.Sign
vzinvz t093 vzinvz Investment Grants
vzawma t093 vzawma Transfer of Reserves
vznafa t093 vznafa Ordinary Depreciat.
vzsafa t093 vzsafa Special Depr.
vzaafa t093 vzaafa Unplanned Depreciat.
vzindw t093 vzindw Revaluation
vzzins t093 vzzins Interest
vzinda t093 vzinda Revaluation Ord.Dep.
corrbe t093 corrbe Modification area
abwber t093 abwber Alternat. Dep. Area
ABVOR1 t093 abvor1 Dep. Area Sign
afabe1 t093 afabe1 Deprec. area
ANTEI1 t093 antei1 Divisor for Propor.
ABVOR2 t093 abvor2 Dep. Area Sign
AFABE2 t093 afabe2 Deprec. area
ANTEI2 t093 antei2 Divisor for Propor.
ABVOR3 t093 abvor3 Dep. Area Sign
AFABE3 t093 afabe3 Deprec. area
ANTEI3 t093 antei3 Divisor for Propor.
ABVOR4 t093 abvor4 Dep. Area Sign
AFABE4 t093 afabe4 Deprec. area
ANTEI4 t093 antei4 Divisor for Propor.
afabe t093a afabe Deprec. Area
wrtafb
parafb
curtp
versn t093a versn Version
bertyp t093a bertyp Type of Area
xwrtid
xindid
xumhis t093a xumhis Gross Transf.Aff.Co.
afaberthenXelseendasxmenge
afarfo t093a afarfo Deprec.Sequence
waers t093b waers Transaction Currency
runden t093b runden No. of Places Round
RNDAHK t093b rndahk No.of Places Round.
BASRND t093b basrnd Rounding Basis
METRND t093b metrnd Rounding Method
ABGJA t093b abgja Closed FYear
XAKPL t093b xakpl Group Asset
periv t093b periv FYear Variant
KZRBWB_AFABE t093b kzrbwb_afabe Post Net Book Value
rep_ledger finsc_ld_cmp rldnr Ledger (Compat.)
curtpk finsc_ld_cmp curtpk Field Name
curtpo finsc_ld_cmp curtpo FreeDef Crcy 1
curtpv finsc_ld_cmp curtpv FreeDef Crcy 2
curtpb finsc_ld_cmp curtpb FreeDef Crcy 3
curtpc finsc_ld_cmp curtpc FreeDef Crcy 4
curtpd finsc_ld_cmp curtpd FreeDef Crcy 5
curtpe finsc_ld_cmp curtpe FreeDef Crcy 6
curtpf finsc_ld_cmp curtpf FreeDef Crcy 7
curtpg finsc_ld_cmp curtpg FreeDef Crcy 8
periv_ld finsc_ld_cmp periv FYear Variant
base_afabe

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 FAA_CFG_AFABER.
-- 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: FAAV_CFG_AFABER

CREATE VIEW FAA_CFG_AFABER AS
SELECT
  t093c.bukrs AS bukrs,
  t093.afaber AS afaber,
  t093c.afapl AS afapl,
  t093c.lgjahr AS lgjahr,
  t093c.bukrsn AS bukrsn,
  t093c.aprof AS aprof,
  t093c.varbzd AS varbzd,
  t093c.afblrt AS afblrt,
  t093c.xrumpf AS xrumpf,
  t093c.xnoskonto AS xnoskonto,
  t093c.revdmeth AS revdmeth,
  t093c.xrebuw AS xrebuw,
  t093c.xvrsku AS xvrsku,
  t093c.xzorg AS xzorg,
  t093c.bkrakt AS bkrakt,
  t093c.monmit AS monmit,
  t093c.xanueb AS xanueb,
  t093.xstore AS xstore,
  t093.buhbkt AS buhbkt,
  t093.ldgrp_gl AS ldgrp,
  t093.xafaber AS xafaber,
  t093.xberep AS xberep,
  t093.gafaber AS gafaber,
  t093.vzansw AS vzansw,
  t093.vzrest AS vzrest,
  t093.vzinvz AS vzinvz,
  t093.vzawma AS vzawma,
  t093.vznafa AS vznafa,
  t093.vzsafa AS vzsafa,
  t093.vzaafa AS vzaafa,
  t093.vzindw AS vzindw,
  t093.vzzins AS vzzins,
  t093.vzinda AS vzinda,
  t093.corrbe AS corrbe,
  t093.abwber AS abwber,
  t093.abvor1 AS ABVOR1,
  t093.afabe1 AS afabe1,
  t093.antei1 AS ANTEI1,
  t093.abvor2 AS ABVOR2,
  t093.afabe2 AS AFABE2,
  t093.antei2 AS ANTEI2,
  t093.abvor3 AS ABVOR3,
  t093.afabe3 AS AFABE3,
  t093.antei3 AS ANTEI3,
  t093.abvor4 AS ABVOR4,
  t093.afabe4 AS AFABE4,
  t093.antei4 AS ANTEI4,
  t093a.afabe AS afabe,
  case t093.xstore when ' ' then ' ' else t093a.wrtafb end AS wrtafb,
  case t093.xstore when ' ' then ' ' else t093a.parafb end AS parafb,
  case t093.xstore when ' ' then ' ' else t093a.curtp end AS curtp,
  t093a.versn AS versn,
  t093a.bertyp AS bertyp,
  case t093.xstore when ' ' then ' ' else t093a.xwrtid end AS xwrtid,
  case t093.xstore when ' ' then ' ' else t093a.xindid end AS xindid,
  t093a.xumhis AS xumhis,
  case when quant.afabe is null and t093.afaber = '01' then 'X' when quant.afabe = t093.afaber then 'X' else '' end as xmenge AS afaberthenXelseendasxmenge,
  t093a.afarfo AS afarfo,
  t093b.waers AS waers,
  t093b.runden AS runden,
  t093b.rndahk AS RNDAHK,
  t093b.basrnd AS BASRND,
  t093b.metrnd AS METRND,
  t093b.abgja AS ABGJA,
  t093b.xakpl AS XAKPL,
  t093b.periv AS periv,
  t093b.kzrbwb_afabe AS KZRBWB_AFABE,
  ld_cmp.rldnr AS rep_ledger,
  ld_cmp.curtpk AS curtpk,
  ld_cmp.curtpo AS curtpo,
  ld_cmp.curtpv AS curtpv,
  ld_cmp.curtpb AS curtpb,
  ld_cmp.curtpc AS curtpc,
  ld_cmp.curtpd AS curtpd,
  ld_cmp.curtpe AS curtpe,
  ld_cmp.curtpf AS curtpf,
  ld_cmp.curtpg AS curtpg,
  ld_cmp.periv AS periv_ld,
  case t093.afabe1 when t093a.afabe then t093a.afabe else t093.afaber end AS base_afabe
INNER JOIN t093 ON /* join condition not captured in parsed metadata */
INNER JOIN t093a ON /* join condition not captured in parsed metadata */
INNER JOIN t093b ON /* join condition not captured in parsed metadata */
INNER JOIN fagl_tldgrp_map AS tldgrp_map ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_ld_cmp AS ld_cmp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t093a AS quant ON /* join condition not captured in parsed metadata */
;