ACE_ACEDSOI_CMPATBL

DDL: ACE_ACEDSOI_CMPATBL SQL: ACEV_ACEDSOI Type: view

Compatibility view for ACEDSOI

ACE_ACEDSOI_CMPATBL is a CDS View that provides data about "Compatibility view for ACEDSOI" in SAP S/4HANA. It reads from 10 data sources and exposes 30 fields with key fields comp, bukrs, objid, subid, acrtype.

Data Sources (10)

SourceAliasJoin Type
acesobj_item _item from
acesobj_item _item union_all
acesobj _sobj left_outer
acesobj _sobj left_outer
fagl_tldgrp_map fagl_tldgrp_map left_outer
finsc_ledger finsc_ledger left_outer
tacc_trgt_ldgr tacc_trgt_ldgr left_outer
tace_combination tace_combination inner
tace_itemtypel tace_itemtypel inner
tace_itemtypel tace_itemtypel inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ACEV_ACEDSOI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Compatibility view for ACEDSOI view
AbapCatalog.preserveKey true view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY comp acesobj_item comp Legal competence
KEY bukrs acesobj_item bukrs Value
KEY objid acesobj objid Work Center
KEY subid acesobj subid Topic ID
KEY acrtype tace_itemtypel acrtype Accrual Type
KEY accrule
KEY date_to
date_from
timestmp acesobj_item timestmp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
amount acesobj_item total_accr_amnt_wsl Total A/D Amt (TC)
currency acesobj_item rwcurttl Transaction Currency
quantity acesobj_item quantity Value
unit acesobj_item unit UoM
acrmethod acesobj_item acrmethod Accr/Defrl Method
itemtype
comp Legal competence
KEY bukrs acesobj_item bukrs Value
KEY objid acesobj objid Work Center
KEY subid acesobj subid Topic ID
KEY acrtype tace_itemtypel acrtype Accrual Type
KEY accrule
KEY date_to
date_from
timestmp acesobj_item timestmp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
amount acesobj_item total_accr_amnt_wsl Total A/D Amt (TC)
currency acesobj_item rwcurttl Transaction Currency
quantity acesobj_item quantity Value
unit acesobj_item unit UoM
acrmethod acesobj_item acrmethod Accr/Defrl Method
xobsolete acesobj_item xobsolete Obsolete

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 ACE_ACEDSOI_CMPATBL.
-- 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: ACEV_ACEDSOI

CREATE VIEW ACE_ACEDSOI_CMPATBL AS
SELECT
  _item.comp AS comp,
  _item.bukrs AS bukrs,
  _sobj.objid AS objid,
  _sobj.subid AS subid,
  tace_itemtypel.acrtype AS acrtype,
  case when tace_combination.accrule <> '' then tace_combination.accrule else finsc_ledger.acc_principle end AS accrule,
  max( _item.date_to ) AS date_to,
  min( _item.date_from ) AS date_from,
  _item.timestmp AS timestmp,
  _item.total_accr_amnt_wsl AS amount,
  _item.rwcurttl AS currency,
  _item.quantity AS quantity,
  _item.unit AS unit,
  _item.acrmethod AS acrmethod,
  _item.xobsolete AS itemtype,
  _item.xobsolete AS xobsolete
FROM acesobj_item AS _item
LEFT OUTER JOIN acesobj AS _sobj ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fagl_tldgrp_map ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_ledger ON /* join condition not captured in parsed metadata */
INNER JOIN tace_itemtypel ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tacc_trgt_ldgr ON /* join condition not captured in parsed metadata */
INNER JOIN tace_combination ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): acesobj_item
;