P_InternalOrderGroupLeaf

DDL: P_INTERNALORDERGROUPLEAF Type: view COMPOSITE

P_InternalOrderGroupLeaf is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_Setleaf) and exposes 12 fields with key fields SetClass, SetSubClass, SetID, SetLineNumber.

Data Sources (1)

SourceAliasJoin Type
I_Setleaf I_Setleaf from

Annotations (6)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PWUIOGRPLEAF view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY SetClass SetClass Set Class
KEY SetSubClass SetSubClass Subclass
KEY SetID SetID SETID
KEY SetLineNumber SetLineNumber Set Line
SetNodeIsLeaf
SetRangeSign SetRangeSign SIGN
SetRangeOption SetRangeOption Option
SetRangeFromValue SetRangeFromValue Valid-From Date
SetRangeToValue SetRangeToValue Valid To
_Set _Set
_SetClass _SetClass
_SetSubClass _SetSubClass

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_InternalOrderGroupLeaf.
-- 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 P_InternalOrderGroupLeaf AS
SELECT
  SetClass,
  SetSubClass,
  SetID,
  SetLineNumber,
  '1' AS SetNodeIsLeaf,
  SetRangeSign,
  SetRangeOption,
  SetRangeFromValue,
  SetRangeToValue
FROM I_Setleaf
;