Fields (21)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ChartOfAccounts | ChartOfAccounts | 1 |
| KEY | CompanyCode | CompanyCode | 4 |
| KEY | ControllingArea | ControllingArea | 1 |
| KEY | FiscalYearPeriod | FiscalYearPeriod | 2 |
| KEY | GLAccount | GLAccount | 1 |
| KEY | Ledger | Ledger | 5 |
| KEY | OrderCategory | OrderCategory | 1 |
| KEY | OrderID | OrderID | 4 |
| KEY | OrderItem | OrderItem | 7 |
| KEY | OrderType | OrderType | 1 |
| KEY | OriginCostCenter | OriginCostCenter | 1 |
| KEY | OriginCostCtrActivityType | OriginCostCtrActivityType | 1 |
| KEY | OriginProduct | OriginProduct | 1 |
| KEY | Plant | Plant | 1 |
| KEY | Product | Product | 1 |
| KEY | ProductGroup | ProductGroup | 1 |
| KEY | ProfitCenter | ProfitCenter | 1 |
| KEY | StorageLocation | StorageLocation | 1 |
| KEY | SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | 7 |
| AmountInDisplayCurrency | CostVarianceInDspCrcy | 2 | |
| NonSplitVarcAmtInDspCrcy | NonSplitVarcAmtInDspCrcy | 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 _VARIANCECOST (
CHARTOFACCOUNTS,
COMPANYCODE,
CONTROLLINGAREA,
FISCALYEARPERIOD,
GLACCOUNT,
LEDGER,
ORDERCATEGORY,
ORDERID,
ORDERITEM,
ORDERTYPE,
ORIGINCOSTCENTER,
ORIGINCOSTCTRACTIVITYTYPE,
ORIGINPRODUCT,
PLANT,
PRODUCT,
PRODUCTGROUP,
PROFITCENTER,
STORAGELOCATION,
SUBLEDGERACCTLINEITEMTYPE,
AMOUNTINDISPLAYCURRENCY,
NONSPLITVARCAMTINDSPCRCY,
PRIMARY KEY (CHARTOFACCOUNTS, COMPANYCODE, CONTROLLINGAREA, FISCALYEARPERIOD, GLACCOUNT, LEDGER, ORDERCATEGORY, ORDERID, ORDERITEM, ORDERTYPE, ORIGINCOSTCENTER, ORIGINCOSTCTRACTIVITYTYPE, ORIGINPRODUCT, PLANT, PRODUCT, PRODUCTGROUP, PROFITCENTER, STORAGELOCATION, SUBLEDGERACCTLINEITEMTYPE)
);
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