Fields (21)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ChartOfAccounts | ChartOfAccounts | 1 |
| KEY | CompanyCode | CompanyCode | 10 |
| KEY | ControllingArea | ControllingArea | 4 |
| KEY | ControllingKeySubNumber | ControllingKeySubNumber | 1 |
| KEY | CostElement | CostElement | 2 |
| KEY | CostOriginGroup | CostOriginGroup | 2 |
| KEY | GLAccount | GLAccount | 1 |
| KEY | Material | Material | 2 |
| KEY | OrderID | OrderID | 3 |
| KEY | OrderItem | OrderItem | 2 |
| KEY | OrderOperation | OrderOperation | 1 |
| KEY | PartnerCostCenter | PartnerCostCenter | 1 |
| KEY | PartnerCostCtrActivityType | PartnerCostCtrActivityType | 1 |
| KEY | PlanningCategory | PlanningCategory | 1 |
| KEY | Plant | Plant | 5 |
| KEY | Product | Product | 1 |
| KEY | UnitOfMeasure | UnitOfMeasure | 2 |
| KEY | WorkCenterInternalID | WorkCenterInternalID | 1 |
| CompanyCodeCurrency | CompanyCodeCurrency | 1 | |
| ControllingObject | ControllingObject | 1 | |
| DisplayCurrency | DisplayCurrency | 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.
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE _COSTS (
CHARTOFACCOUNTS,
COMPANYCODE,
CONTROLLINGAREA,
CONTROLLINGKEYSUBNUMBER,
COSTELEMENT,
COSTORIGINGROUP,
GLACCOUNT,
MATERIAL,
ORDERID,
ORDERITEM,
ORDEROPERATION,
PARTNERCOSTCENTER,
PARTNERCOSTCTRACTIVITYTYPE,
PLANNINGCATEGORY,
PLANT,
PRODUCT,
UNITOFMEASURE,
WORKCENTERINTERNALID,
COMPANYCODECURRENCY,
CONTROLLINGOBJECT,
DISPLAYCURRENCY,
PRIMARY KEY (CHARTOFACCOUNTS, COMPANYCODE, CONTROLLINGAREA, CONTROLLINGKEYSUBNUMBER, COSTELEMENT, COSTORIGINGROUP, GLACCOUNT, MATERIAL, ORDERID, ORDERITEM, ORDEROPERATION, PARTNERCOSTCENTER, PARTNERCOSTCTRACTIVITYTYPE, PLANNINGCATEGORY, PLANT, PRODUCT, UNITOFMEASURE, WORKCENTERINTERNALID)
);
Learn More
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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