I_CostElementTP

DDL: I_COSTELEMENTTP SQL: ICOELTP Type: view TRANSACTIONAL

G/L Account in CtrlgArea (Draft 2.0)

I_CostElementTP is a Transactional CDS View that provides data about "G/L Account in CtrlgArea (Draft 2.0)" in SAP S/4HANA. It reads from 2 data sources (P_GLAcctNotMarkForDeletion, I_CostElement) and exposes 20 fields with key fields ChartOfAccounts, GLAccount, ControllingArea. It has 5 associations to related views.

Data Sources (2)

SourceAliasJoin Type
P_GLAcctNotMarkForDeletion _PostableGLAccount left_outer
I_CostElement I_CostElement from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_GLAcctInChtAcctsTP _GLAcctInChtAcctsTP $projection.ChartOfAccounts = _GLAcctInChtAcctsTP.ChartOfAccounts and $projection.GLAccount = _GLAcctInChtAcctsTP.GLAccount
[0..1] I_ControllingArea _ControllingArea $projection.ControllingAreaForEdit = _ControllingArea.ControllingArea and $projection.ChartOfAccountsForEdit = _ControllingArea.ChartOfAccounts
[0..1] I_CostElementCategory _CostElementCategory $projection.CostElementCategory = _CostElementCategory.CostElementCategory
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea

Annotations (12)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName ICOELTP view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label G/L Account in CtrlgArea (Draft 2.0) view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.writeDraftPersistence CSKB_DRAFT_20 view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
Search.searchable true view
VDM.viewType #TRANSACTIONAL view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_CostElement ChartOfAccounts Node Class
KEY GLAccount I_CostElement GLAccount General Ledger
KEY ControllingArea I_CostElement ControllingArea Controlling Area
ControllingAreaForEdit I_CostElement ControllingArea Controlling Area
ChartOfAccountsForEdit _GLAcctInChtAcctsTP ChartOfAccounts Node Class
GLAccountForEdit _GLAcctInChtAcctsTP GLAccountForEdit G/L Account
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
CostElementCategory CostElementCategory
ConsumptionQtyIsRecorded ConsumptionQtyIsRecorded Record Quantity
UnitOfMeasure UnitOfMeasure Unit Protected Qty
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
FunctionalArea FunctionalArea Sendr Fctl Area
AcctAssignmentIsStatistical AcctAssignmentIsStatistical
_ControllingArea _ControllingArea
_CostElementCategory _CostElementCategory
_FunctionalArea _FunctionalArea
_UnitOfMeasure _UnitOfMeasure
_GLAcctInChtAcctsTP _GLAcctInChtAcctsTP

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_CostElementTP.
-- 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: ICOELTP

CREATE VIEW I_CostElementTP AS
SELECT
  I_CostElement.ChartOfAccounts AS ChartOfAccounts,
  I_CostElement.GLAccount AS GLAccount,
  I_CostElement.ControllingArea AS ControllingArea,
  I_CostElement.ControllingArea AS ControllingAreaForEdit,
  _GLAcctInChtAcctsTP.ChartOfAccounts AS ChartOfAccountsForEdit,
  _GLAcctInChtAcctsTP.GLAccountForEdit AS GLAccountForEdit,
  ValidityStartDate,
  ValidityEndDate,
  CostElementCategory,
  ConsumptionQtyIsRecorded,
  UnitOfMeasure,
  CreationDate,
  CreatedByUser,
  FunctionalArea,
  AcctAssignmentIsStatistical
FROM I_CostElement
LEFT OUTER JOIN P_GLAcctNotMarkForDeletion AS _PostableGLAccount ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GLAcctInChtAcctsTP AS _GLAcctInChtAcctsTP ON ChartOfAccounts = _GLAcctInChtAcctsTP.ChartOfAccounts AND GLAccount = _GLAcctInChtAcctsTP.GLAccount  -- association [1..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingAreaForEdit = _ControllingArea.ControllingArea AND ChartOfAccountsForEdit = _ControllingArea.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_CostElementCategory AS _CostElementCategory ON CostElementCategory = _CostElementCategory.CostElementCategory  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
;