P_CommitmentItemSetNode

DDL: P_COMMITMENTITEMSETNODE SQL: PCISETNODE Type: view BASIC

P_CommitmentItemSetNode is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (setheader, setheadert) and exposes 5 fields with key field FinancialManagementArea.

Data Sources (2)

SourceAliasJoin Type
setheader header from
setheadert text left_outer

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCISETNODE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
VDM.private true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY FinancialManagementArea
nodevalue setheader setname Set Name
nodetxt setheadert descript Title
descriptasnltxtendasNodeValueText
nodeid

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 P_CommitmentItemSetNode.
-- 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: PCISETNODE

CREATE VIEW P_CommitmentItemSetNode AS
SELECT
  cast(header.subclass as fikrs ) AS FinancialManagementArea,
  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.subclass,'/'),header.setname) as nodid ) AS nodeid
FROM setheader AS header
LEFT OUTER JOIN setheadert AS text ON /* join condition not captured in parsed metadata */
;