I_CostElementTP
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)
| Source | Alias | Join Type |
|---|---|---|
| P_GLAcctNotMarkForDeletion | _PostableGLAccount | left_outer |
| I_CostElement | I_CostElement | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA