I_InternalOrderCostElementVH

DDL: I_INTERNALORDERCOSTELEMENTVH Type: view_entity COMPOSITE

Cost Element

I_InternalOrderCostElementVH is a Composite CDS View that provides data about "Cost Element" in SAP S/4HANA. It reads from 1 data source (I_CostElementOnControllingArea) and exposes 8 fields with key fields ControllingArea, CostElement, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CostElementOnControllingArea I_CostElementOnControllingArea from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CostElementText _CostElementText $projection.ChartOfAccounts = _CostElementText.ChartOfAccounts and $projection.CostElement = _CostElementText.CostElement

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Cost Element view
Search.searchable true view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
UI.textArrangement #TEXT_LAST view
Consumption.ranked true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea Controlling Area
KEY CostElement CostElement G/L Account
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
CostElementDescription
CostElementCategory CostElementCategory CElem category
ChartOfAccounts ChartOfAccounts Node Class
_CostElementCategory _CostElementCategory

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_InternalOrderCostElementVH.
-- 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_InternalOrderCostElementVH AS
SELECT
  ControllingArea,
  CostElement,
  ValidityEndDate,
  ValidityStartDate,
  _CostElementText[1: Language = $session.system_language].CostElementDescription AS CostElementDescription,
  CostElementCategory,
  ChartOfAccounts
FROM I_CostElementOnControllingArea
LEFT OUTER JOIN I_CostElementText AS _CostElementText ON ChartOfAccounts = _CostElementText.ChartOfAccounts AND CostElement = _CostElementText.CostElement  -- association [0..*]
;