COKP3 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_COKP3 TYPE COKP3 .
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 |