I_COSTELEMENT
Cost Element
I_COSTELEMENT is a CDS View in S/4HANA. Cost Element. It contains 14 fields. 6 CDS views read from this table.
CDS Views using this table (6)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_ActyTypeAllocCostElementVH | view | from | CONSUMPTION | Allocation cost element value help |
| C_CostRevnReassgmtAllocAcctVH | view | from | CONSUMPTION | Account for Allocation VH |
| I_ActiveCostElementWithDraft | view | from | COMPOSITE | Active Cost Element With Draft Info |
| I_CostElementTP | view | from | TRANSACTIONAL | G/L Account in CtrlgArea (Draft 2.0) |
| P_CostElementByCompanyCode | view | from | COMPOSITE | |
| R_CostElementGroupHierarchy | view | inner | COMPOSITE | Cost Element Group Hierarchy |
Fields (14)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ChartOfAccounts | ChartOfAccounts | 2 |
| KEY | ControllingArea | ControllingArea,ControllingAreaForEdit | 3 |
| KEY | CostElement | CostElement | 1 |
| KEY | GLAccount | GLAccount | 2 |
| AcctAssignmentIsStatistical | AcctAssignmentIsStatistical | 1 | |
| ConsumptionQtyIsRecorded | ConsumptionQtyIsRecorded | 1 | |
| CostElementCategory | CostElementCategory | 1 | |
| CreatedByUser | CreatedByUser | 1 | |
| CreationDate | CreationDate | 1 | |
| FunctionalArea | FunctionalArea | 1 | |
| LastChangeDateTime | LastChangeDateTime | 1 | |
| UnitOfMeasure | UnitOfMeasure | 1 | |
| ValidityEndDate | ValidityEndDate | 1 | |
| ValidityStartDate | ValidityStartDate | 1 |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Cost Element
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE I_COSTELEMENT (
CHARTOFACCOUNTS,
CONTROLLINGAREA,
COSTELEMENT,
GLACCOUNT,
ACCTASSIGNMENTISSTATISTICAL,
CONSUMPTIONQTYISRECORDED,
COSTELEMENTCATEGORY,
CREATEDBYUSER,
CREATIONDATE,
FUNCTIONALAREA,
LASTCHANGEDATETIME,
UNITOFMEASURE,
VALIDITYENDDATE,
VALIDITYSTARTDATE,
PRIMARY KEY (CHARTOFACCOUNTS, CONTROLLINGAREA, COSTELEMENT, GLACCOUNT)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- 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
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA