C_SetLeafForCIObjP

DDL: C_SETLEAFFORCIOBJP SQL: CSLEAFCIOBJP Type: view CONSUMPTION

Set Leaf for Commitment Item

C_SetLeafForCIObjP is a Consumption CDS View that provides data about "Set Leaf for Commitment Item" in SAP S/4HANA. It reads from 1 data source (I_Setleaf) and exposes 15 fields with key fields SetClass, SetSubClass, CommitmentItemGroup, SetLineNumber, CommitmentItem. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Setleaf I_Setleaf from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_SetHeader _SetHeader $projection.SetClass = _SetHeader.SetClass and $projection.SetSubClass = _SetHeader.SetSubClass and $projection.CommitmentItemGroup = _SetHeader.SetID
[0..*] C_CommitmentItem_ObjP _CommitmentItem $projection.SetSubClass = _CommitmentItem.FinancialManagementArea and ( _CommitmentItem.CommitmentItem between $projection.SetRangeFromValue and $projection.SetRangeToValue )
[0..*] C_CommitmentItemGroup_Objp _CommitmentItemGroup $projection.CommitmentItemGroup = _CommitmentItemGroup.CommitmentItemGroup and _CommitmentItemGroup.SetClass = '0311' and $projection.SetSubClass = _CommitmentItemGroup.SetSubClass

Annotations (11)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
AbapCatalog.sqlViewName CSLEAFCIOBJP view
AbapCatalog.compiler.compareFilter true view
UI.headerInfo.typeName Commitment Item Group view
UI.headerInfo.typeNamePlural Commitment Item Groups view
EndUserText.label Set Leaf for Commitment Item view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY SetClass SetClass Set Class
KEY SetSubClass SetSubClass Financial Management Area
KEY CommitmentItemGroup SetID Commitment Item Group
KEY SetLineNumber SetLineNumber Set Line
KEY CommitmentItem _CommitmentItem CommitmentItem Commitment item
SetRangeSign SetRangeSign SIGN
SetRangeOption SetRangeOption Option
SetRangeFromValue SetRangeFromValue Valid-From Date
SetRangeToValue SetRangeToValue Valid To
CreatedByUser _CommitmentItemGroup CreatedByUser Created By
CreationDate _CommitmentItemGroup CreationDate Creation Date
FinancialManagementArea _CommitmentItem FinancialManagementArea FM Area
CommitmentItemAuthznGrp _CommitmentItem CommitmentItemAuthznGrp
CmtmtItemFinMgmtAreaForAuthzn _CommitmentItem CmtmtItemFinMgmtAreaForAuthzn
SetDescription _CommitmentItemGroup SetDescription Group Description

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 C_SetLeafForCIObjP.
-- 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: CSLEAFCIOBJP

CREATE VIEW C_SetLeafForCIObjP AS
SELECT
  SetClass,
  SetSubClass,
  SetID AS CommitmentItemGroup,
  SetLineNumber,
  _CommitmentItem.CommitmentItem AS CommitmentItem,
  SetRangeSign,
  SetRangeOption,
  SetRangeFromValue,
  SetRangeToValue,
  _CommitmentItemGroup.CreatedByUser AS CreatedByUser,
  _CommitmentItemGroup.CreationDate AS CreationDate,
  _CommitmentItem.FinancialManagementArea AS FinancialManagementArea,
  _CommitmentItem.CommitmentItemAuthznGrp AS CommitmentItemAuthznGrp,
  _CommitmentItem.CmtmtItemFinMgmtAreaForAuthzn AS CmtmtItemFinMgmtAreaForAuthzn,
  _CommitmentItemGroup.SetDescription AS SetDescription
FROM I_Setleaf
LEFT OUTER JOIN I_SetHeader AS _SetHeader ON SetClass = _SetHeader.SetClass AND SetSubClass = _SetHeader.SetSubClass AND CommitmentItemGroup = _SetHeader.SetID  -- association [0..1]
LEFT OUTER JOIN C_CommitmentItem_ObjP AS _CommitmentItem ON SetSubClass = _CommitmentItem.FinancialManagementArea AND ( _CommitmentItem.CommitmentItem between SetRangeFromValue AND SetRangeToValue )  -- association [0..*]
LEFT OUTER JOIN C_CommitmentItemGroup_Objp AS _CommitmentItemGroup ON CommitmentItemGroup = _CommitmentItemGroup.CommitmentItemGroup AND _CommitmentItemGroup.SetClass = '0311' AND SetSubClass = _CommitmentItemGroup.SetSubClass  -- association [0..*]
;