I_RIBCtrlObjCostCtr

DDL: I_RIBCTRLOBJCOSTCTR Type: view_entity COMPOSITE

RIB control object for cost center

I_RIBCtrlObjCostCtr is a Composite CDS View that provides data about "RIB control object for cost center" in SAP S/4HANA. It has 3 associations to related views.

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_PubSecHierarchy _HierarchyDirectory $projection.HierarchyIDForCostCenter = _HierarchyDirectory.HierarchyID
[0..*] I_CostCenterText _CostCenterText $projection.HierarchyIDForCostCenter = _CostCenterText.ControllingArea and $projection.CtrlObjForCostCenter = _CostCenterText.CostCenter
[0..*] I_CostCenterHierarchyNodeT _CostCenterHierarchyNodeT $projection.HierarchyIDForCostCenter = _CostCenterHierarchyNodeT.CostCenterHierarchy and $projection.CtrlObjForCostCenter = _CostCenterHierarchyNodeT.HierarchyNode

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.representativeKey CtrlObjForCostCenter view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label RIB control object for cost center view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY HierarchyIDForCostCenter HierarchyIDForCostCenter
KEY CtrlObjForCostCenter CtrlObjForCostCenter Control Object Cost Center
CostCenter _CostCenterText CostCenter Cost Center
HierarchyNode _CostCenterHierarchyNodeT HierarchyNode Node
CostCenterDescription
HierarchyNodeText
RIBProfile RIBProfile
_HierarchyDirectory _HierarchyDirectory
_CostCenterText _CostCenterText
_CostCenterHierarchyNodeT _CostCenterHierarchyNodeT

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 I_RIBCtrlObjCostCtr.
-- 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 I_RIBCtrlObjCostCtr AS
SELECT
  HierarchyIDForCostCenter,
  CtrlObjForCostCenter,
  _CostCenterText.CostCenter AS CostCenter,
  _CostCenterHierarchyNodeT.HierarchyNode AS HierarchyNode,
  _CostCenterText[1:Language = $session.system_language].CostCenterDescription AS CostCenterDescription,
  _CostCenterHierarchyNodeT[1:Language = $session.system_language].HierarchyNodeText AS HierarchyNodeText,
  RIBProfile
LEFT OUTER JOIN I_PubSecHierarchy AS _HierarchyDirectory ON HierarchyIDForCostCenter = _HierarchyDirectory.HierarchyID  -- association [0..1]
LEFT OUTER JOIN I_CostCenterText AS _CostCenterText ON HierarchyIDForCostCenter = _CostCenterText.ControllingArea AND CtrlObjForCostCenter = _CostCenterText.CostCenter  -- association [0..*]
LEFT OUTER JOIN I_CostCenterHierarchyNodeT AS _CostCenterHierarchyNodeT ON HierarchyIDForCostCenter = _CostCenterHierarchyNodeT.CostCenterHierarchy AND CtrlObjForCostCenter = _CostCenterHierarchyNodeT.HierarchyNode  -- association [0..*]
;