FAC_CDS_SET_CE_GLACC_NODE

DDL: FAC_CDS_SET_CE_GLACC_NODE SQL: FACV_SET_CEGAEDG Type: view

Cost Element Group and GL Account Group

FAC_CDS_SET_CE_GLACC_NODE is a CDS View that provides data about "Cost Element Group and GL Account Group" in SAP S/4HANA. It reads from 2 data sources (setheader, setheadert) and exposes 6 fields. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
setheader header from
setheadert text left_outer

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SetClassText _SetClassText $projection.setclass = _SetClassText.SetClass

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName FACV_SET_CEGAEDG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Cost Element Group and GL Account Group view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (6)

KeyFieldSource TableSource FieldDescription
nodevalue setheader setname Set Name
nodetxt setheadert descript Title
descriptasnltxtendasNodeValueText
nodeid
setclass setheader setclass Set Class
SetClassShortDescription

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 FAC_CDS_SET_CE_GLACC_NODE.
-- 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: FACV_SET_CEGAEDG

CREATE VIEW FAC_CDS_SET_CE_GLACC_NODE AS
SELECT
  header.setname AS nodevalue,
  text.descript AS nodetxt,
  case when text.descript is null or text.descript = '' then cast( header.setname as nltxt ) else cast( concat( header.setname, concat(' (',concat( text.descript, ')' ) ) ) as nltxt ) end as NodeValueText AS descriptasnltxtendasNodeValueText,
  cast( concat( concat(header.setclass,'/' ),concat( concat(header.subclass,'/'),header.setname) ) as nodid ) AS nodeid,
  header.setclass AS setclass,
  _SetClassText[ 1: Language = $session.system_language ].SetClassShortDescription AS SetClassShortDescription
FROM setheader AS header
LEFT OUTER JOIN setheadert AS text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SetClassText AS _SetClassText ON setclass = _SetClassText.SetClass  -- association [0..*]
;