COKP2 is an SAP Structure so does not store data like a database table does but can be used to process "CO Object: Control Data for Primary Planning" Information within sap ABAP programs. This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_COKP2 TYPE COKP2 .
Below is the documentation avaialable and full details of the fields which make up this Structure.
You can view further information about this via relevant transactions such as SE11 or SE80. Also check out the Comments section below to view or add related contributions and example screen shots.
Field | Component Type | Data Type | length (Decimals) | Check table | Description | Conversion Routine |
.INCLUDE | COKP | CO Object: Control Data for Primary Planning | ||||
MANDT | MANDT | CLNT | 3 | T000 | Client | |
LEDNR | LEDNR | CHAR | 2 | Ledger for Controlling objects | ALPHA | |
OBJNR | J_OBJNR | CHAR | 22 | ONR00 | Object number | |
GJAHR | GJAHR | NUMC | 4 | Fiscal Year | GJAHR | |
WRTTP | CO_WRTTP | CHAR | 2 | Value Type | ALPHA | |
VERSN | VERSN | CHAR | 3 | TKA09 | Version | ALPHA |
KSTAR | KSTAR | CHAR | 10 | CSKA | Cost Element | ALPHA |
HRKFT | CO_SUBKEY | CHAR | 14 |
* | CO key subnumber | |
VRGNG | CO_VORGANG | CHAR | 4 |
* | CO Business Transaction | |
VBUND | RASSC | CHAR | 6 | T880 | Company ID of trading partner | ALPHA |
PARGB | PARGB | CHAR | 4 | TGSB | Trading partner's business area | |
BEKNZ | BEKNZ | CHAR | 1 | Debit/credit indicator | BEKNZ | |
TWAER | TWAER | CUKY | 5 | TCURC | Transaction Currency | |
RZTYP | RZTYP | CHAR | 1 | Dependency type for dependency planning | ||
RZVAR | RZVAR | CHAR | 10 | Depend.source type | ||
RZMNG | RZMNG | QUAN | 15(3) | Dependency qty | ||
RSTLA | RSTLA | CHAR | 1 | Dependency control activity | ||
LKSTAR | LKSTAR | CHAR | 1 | Ind.: CElem. is control CElem? | ||
RZKST | RZKST | CURR | 15(2) | Dependent planned costs per unit of activity | ||
RSTKA | RSTKA | CHAR | 1 | Dependency control cost element | ||
RZKOA | KSTAR | CHAR | 10 | CSKA | Cost Element | ALPHA |
RZFKT | RZFKT | DEC | 9(2) | Recipe factor | ||
RZPRZ | RZPRZ | DEC | 9(2) | Depend.percentage | ||
WSWKF | CO_WSWKF | CHAR | 1 | Valuation type for planned fixed costs | ||
WSWKV | CO_WSWKV | CHAR | 1 | Valuation type for plan variable costs | ||
WSWKG | CO_WSWKG | CHAR | 1 | Value computation type for total planned costs | ||
WSMEF | CO_WSMEF | CHAR | 1 | Value computation type for planned fixed quantity | ||
WSMEV | CO_WSMEV | CHAR | 1 | Valuation type for variable plan quantity | ||
WSMEG | CO_WSMEG | CHAR | 1 | Value computation type for total planned qty | ||
FMWKF | CO_FMWKF | CHAR | 3 | Formula Number Planned Fixed Costs | ||
FMWKV | CO_FMWKV | CHAR | 3 | Formula Number: Planned Variable Costs | ||
FMWKG | CO_FMWKG | CHAR | 3 | Formula Number Total Planned Costs | ||
FMMEF | CO_FMMEF | CHAR | 3 | Formula Number Fixed Plan Quantity | ||
FMMEV | CO_FMMEV | CHAR | 3 | Formula Number: Planned Variable Quantity | ||
FMMEG | CO_FMMEG | CHAR | 3 | Formula Number Total Planned Quantity | ||
KKART | CO_KKART | CHAR | 4 | Costing variant | ||
KALNR | CO_KALNR | NUMC | 12 | Cost Estimate Number | ||
TXFLG | TXFLG | CHAR | 1 | Text indicator | ||
FCWKF | CO_FCWKF | CHAR | 4 | T821S | Distribution Key: Plan Fixed Costs | |
FCWKV | CO_FCWKV | CHAR | 4 | T821S | Distribution Key: Variable Plan Costs | |
FCWKG | CO_FCWKG | CHAR | 4 | T821S | Distribution Key: Total Plan Costs | |
FCWOF | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCWOV | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCWOG | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCWTF | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCWTV | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCWTG | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCMEF | CO_FCMEF | CHAR | 4 | T821S | Distribution Key: Fixed Plan Quantity | |
FCMEV | CO_FCMEV | CHAR | 4 | T821S | Distribution Key: Variable Plan Quantity | |
FCMEG | CO_FCMEG | CHAR | 4 | T821S | Distribution Key: Total Planned Quantity | |
FCRKF | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCRKV | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCRKG | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCROF | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCROV | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCROG | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCREF | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCREV | CO_FCXXX | CHAR | 4 | T821S | Distribution key | |
FCREG | CO_FCXXX | CHAR | 4 | T821S | Distribution key |
Key field | |
Non-key field |
CSKS-Cost Center Master Data
COKA1-CO Object: Control Data for Cost Elements
COKP1-CO Object: Control Data for Primary Planning
HEAD11-SAPscript: Text Header
LINE11-SAPscript: Text Lines
CKHS1-Header: Unit Costing (Control + Totals)
CKHT1-Texts for CKHS
HEAD12-SAPscript: Text Header
LINE12-SAPscript: Text Lines
CKIS1-Individual Calculation/Verification Item Gen.
CKIT1-Texts for CKIS
CKIP1-Periodic Values for Unit Costing Item
COSP1-CO Object: Cost Totals for External Postings
COVJ11-CO Object: Line Items with Doc Header (by Year)
COKS1-CO Object: Control Data for Secondary Planning
HEAD13-SAPscript: Text Header
LINE13-SAPscript: Text Lines
COSS1-CO Object: Cost Totals for Internal Postings
COVJ12-CO Object: Line Items with Doc Header (by Year)
COKR1-CO Object: Control Data for Statistical Key Figs
HEAD14-SAPscript: Text Header
LINE14-SAPscript: Text Lines
COSR1-CO Object: Statistical Key Figure Totals
COVJR1-CO Object: Line Items Stat. Key Figures (by Year)
CSSL-Cost Center/Activity Type
COKA2-CO Object: Control Data for Cost Elements
COKP2-CO Object: Control Data for Primary Planning
HEAD21-SAPscript: Text Header
LINE21-SAPscript: Text Lines
COSP2-CO Object: Cost Totals for External Postings
COVJ21-CO Object: Line Items with Doc Header (by Year)
COKS2-CO Object: Control Data for Secondary Planning
HEAD22-SAPscript: Text Header
LINE22-SAPscript: Text Lines
COSS2-CO Object: Cost Totals for Internal Postings
COVJ22-CO Object: Line Items with Doc Header (by Year)
COKL2-CO Object: Control Data for Activity Types
HEAD23-SAPscript: Text Header
LINE23-SAPscript: Text Lines
COSL2-CO Object: Activity Type Totals
COVJL2-CO Object: Line Items for Activity Types (by Year)
COST2-CO Object: Price Totals
COVJT2-CO Object: Line Items for Prices (by Fiscal Year)
COKR2-CO Object: Control Data for Statistical Key Figs
HEAD24-SAPscript: Text Header
LINE24-SAPscript: Text Lines
COSR2-CO Object: Statistical Key Figure Totals
COVJR2-CO Object: Line Items Stat. Key Figures (by Year)
CSKS-Cost Center Master Data
CSKT-Cost Center Texts
CDHDR-Change Document Header
CDPOS-Change Document Items
THEAD-SAPscript: Text Header
TLINE-SAPscript: Text Lines
BPHI1-Cross-Hierarchy Data Control
BPTR1-Object Data Control
BPJA1-Totals Record for Total Year Value Control
BPVJ1-Table Generated for View BPVJ1
BPPE1-Totals Record for Period Values Control
BPVP1-Table Generated for View BPVP1
COKA1-CO Object: Control Data for Cost Elements
COKP1-CO Object: Control Data for Primary Planning
HEAD11-SAPscript: Text Header
LINE11-SAPscript: Text Lines
CKHS1-Header: Unit Costing (Control + Totals)
CKHT1-Texts for CKHS
HEAD12-SAPscript: Text Header
LINE12-SAPscript: Text Lines
CKIS1-Individual Calculation/Verification Item Gen.
CKIT1-Texts for CKIS
CKIP1-Periodic Values for Unit Costing Item
COSP1-CO Object: Cost Totals for External Postings
COVP11-CO Object: Line Items with Doc. Header (by Period)
COVJ11-CO Object: Line Items with Doc Header (by Year)
COVO1-CO Object: Open Items for Line Items (w/o doc.Hdr)
COKS1-CO Object: Control Data for Secondary Planning
HEAD13-SAPscript: Text Header
LINE13-SAPscript: Text Lines
COSS1-CO Object: Cost Totals for Internal Postings
COVP12-CO Object: Line Items with Doc. Header (by Period)
COVJ12-CO Object: Line Items with Doc Header (by Year)
COKR1-CO Object: Control Data for Statistical Key Figs
HEAD14-SAPscript: Text Header
LINE14-SAPscript: Text Lines
COSR1-CO Object: Statistical Key Figure Totals
COVPR1-CO Object: Stat. Key Figure Line Items by Period
COVJR1-CO Object: Line Items Stat. Key Figures (by Year)
COSB1-CO Object: Total Variances/Results Analyses
COVPB1-CO Object: Variance/Accrual Line Items by Period
CSSL-Cost Center/Activity Type
COKA2-CO Object: Control Data for Cost Elements
COKP2-CO Object: Control Data for Primary Planning
HEAD21-SAPscript: Text Header
LINE21-SAPscript: Text Lines
COSP2-CO Object: Cost Totals for External Postings
COVP21-CO Object: Line Items with Doc. Header (by Period)
COVJ21-CO Object: Line Items with Doc Header (by Year)
COKS2-CO Object: Control Data for Secondary Planning
HEAD22-SAPscript: Text Header
LINE22-SAPscript: Text Lines
COSS2-CO Object: Cost Totals for Internal Postings
COVP22-CO Object: Line Items with Doc. Header (by Period)
COVJ22-CO Object: Line Items with Doc Header (by Year)
COKR2-CO Object: Control Data for Statistical Key Figs
HEAD24-SAPscript: Text Header
LINE24-SAPscript: Text Lines
COSR2-CO Object: Statistical Key Figure Totals
COVPR2-CO Object: Stat. Key Figure Line Items by Period
COVJR2-CO Object: Line Items Stat. Key Figures (by Year)
COKL2-CO Object: Control Data for Activity Types
HEAD23-SAPscript: Text Header
LINE23-SAPscript: Text Lines
COSL2-CO Object: Activity Type Totals
COVPL2-CO Object: Activity Type Line Items by Period
COVJL2-CO Object: Line Items for Activity Types (by Year)
COSB2-CO Object: Total Variances/Results Analyses
COVPB2-CO Object: Variance/Accrual Line Items by Period
COST2-CO Object: Price Totals
COVPT2-CO Object: Line Items for Prices (by Period)
COVJT2-CO Object: Line Items for Prices (by Fiscal Year)
COKP2 - CO Object: Control Data for Primary Planning COKP1 - CO Object: Control Data for Primary Planning COKP - CO Object: Control Data for Primary Planning COKL_V - Part of Table COKL for Valuation COKL_KEY - Key Fields in Table COKL COKL_CI - Section of COKL for updating costing components iteration