I_COSTELEMENT

CDS View

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)

ViewTypeJoinVDMDescription
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)

KeyField CDS FieldsUsed 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)
);