FCO_ABR_SETLDOCTOTAL

DDL: FCO_ABR_SETLDOCTOTAL Type: view_entity

Settlement documents total

FCO_ABR_SETLDOCTOTAL is a CDS View that provides data about "Settlement documents total" in SAP S/4HANA. It reads from 1 data source (auak) and exposes 36 fields.

Data Sources (1)

SourceAliasJoin Type
auak auak from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Settlement documents total view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (36)

KeyFieldSource TableSource FieldDescription
lednr auak lednr Ledger
objnr auak objnr Val. Obj. No.
cobjnr Child ON
gjahr auak gjahr Settlement Year
wrttp auak wrttp Value Type
versn auak versn Version
Kokrs auak kokrs Org. Value
perbz auak perbz Settlement Type
Datei auas datei Structure
Key01 auas key01 Key field
Twaer auas twaer Trans. Currency
ControllingAreaCurrency I_ControllingArea ControllingAreaCurrency
Meinh auas meinh Unit of Measure
clednr
cgjahr
cwrttp
cversn
ckstar
Wtgbtr
Wkgbtr
Wkfbtr
Wogbtr
Pagbtr
Pafbtr
Megbtr
Mefbtr
Wagbtr
Wvgbtr
Wbgbtr
Wcgbtr
Wdgbtr
Wegbtr
Wfgbtr
Wggbtr
Whgbtr
Wsgbtr

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 FCO_ABR_SETLDOCTOTAL.
-- 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 FCO_ABR_SETLDOCTOTAL AS
SELECT
  auak.lednr AS lednr,
  auak.objnr AS objnr,
  substring(auas.key01,3,22) AS cobjnr,
  auak.gjahr AS gjahr,
  auak.wrttp AS wrttp,
  auak.versn AS versn,
  auak.kokrs AS Kokrs,
  auak.perbz AS perbz,
  auas.datei AS Datei,
  auas.key01 AS Key01,
  auas.twaer AS Twaer,
  I_ControllingArea.ControllingAreaCurrency AS ControllingAreaCurrency,
  auas.meinh AS Meinh,
  substring(auas.key01,1,2) AS clednr,
  substring(auas.key01,25,4) AS cgjahr,
  cast(substring(auas.key01,29,2) as co_wrttp) AS cwrttp,
  substring(auas.key01,31,3) AS cversn,
  substring(auas.key01,34,10) AS ckstar,
  sum(auas.wtgbtr) AS Wtgbtr,
  sum(auas.wkgbtr) AS Wkgbtr,
  sum(auas.wkfbtr) AS Wkfbtr,
  sum(auas.wogbtr) AS Wogbtr,
  sum(auas.pagbtr) AS Pagbtr,
  sum(auas.pafbtr) AS Pafbtr,
  sum(auas.megbtr) AS Megbtr,
  sum(auas.mefbtr) AS Mefbtr,
  sum(auas.wagbtr) AS Wagbtr,
  sum(auas.wvgbtr) AS Wvgbtr,
  sum(auas.wbgbtr) AS Wbgbtr,
  sum(auas.wcgbtr) AS Wcgbtr,
  sum(auas.wdgbtr) AS Wdgbtr,
  sum(auas.wegbtr) AS Wegbtr,
  sum(auas.wfgbtr) AS Wfgbtr,
  sum(auas.wggbtr) AS Wggbtr,
  sum(auas.whgbtr) AS Whgbtr,
  sum(auas.wsgbtr) AS Wsgbtr
FROM auak
;