KAKO SAP (Capacity Header Segment) Table details
Dictionary Type: Table
Description: Capacity Header Segment
Description: Capacity Header Segment
Table field list including key, data, relationships and ABAP select examples
KAKO is a standard SAP Table which is used to store Capacity Header Segment data and is available within R/3 SAP systems depending on the version and release level.
The KAKO table consists of various fields, each holding specific information or linking keys about Capacity Header Segment data available in SAP. These include KAPID (Capacity ID), AZMAX (Number of individual capacities), AZNOR (Number of individual capacities), BASNE (Denominator of the base capacity).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP KAKO table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
KAPID | Capacity ID | KAPID | NUMC | 8 | KAPID | ||||
AZMAX | Number of individual capacities | KAPANZAHL | INT2 | 5 | KAPANZAHL | ||||
AZNOR | Number of individual capacities | KAPANZAHL | INT2 | 5 | KAPANZAHL | ||||
BASNE | Denominator of the base capacity | KAPBASNEN | DEC | 5 | UMBSN | ||||
BASZL | Numerator for base capacity | KAPBASZHL | DEC | 5 | UMBSZ | ||||
BEGZT | Start time in seconds (internal) | KAPBEGZT | INT4 | 10 | INT4 | ||||
BRGRU | Authorization Group | BRGRU | CHAR | 4 | Assigned to domain | BRGRU | |||
ENDZT | Finish time in seconds (internal) | KAPENDZT | INT4 | 10 | INT4 | ||||
KALID | Factory calendar ID | CR_WFCID | CHAR | 2 | TFACD | WFCID | FCI | ||
KAPAR | Capacity category | KAPART | CHAR | 3 | TC26 | KAPART | CAA | ||
MEINS | Base Unit of Measurement for Capacity | KAPBASIS | UNIT | 3 | T006 | CUNIT | MEINS | ||
MOSID | Grouping for Shift Definitions and Shift Sequences | SCHGRUP | CHAR | 2 | TC39A | SCHGRUP | |||
NAME | Capacity name | KAPNAME | CHAR | 8 | KAPNAME | CAP | |||
NGRAD | Capacity utilization rate (percent) | NUTZGRAD | NUMC | 3 | NUM3 | ||||
PAUSE | Cumulative break time in seconds (internal) | KAPPAUSE | INT4 | 10 | INT4 | ||||
PLANR | Capacity planner group | KAPPLANER | CHAR | 3 | TC27 | KAPPLANER | CAG | ||
POOLK | Indicator for pooled capacity | KAP_KZPOOL | CHAR | 1 | XFELD | ||||
REFAN | Denominator relationship: No. of indiv. capacities reference | KAPREFANZN | INT1 | 3 | INT1 | ||||
REFAZ | Numerator relationships: No. of indiv. capacities reference | KAPREFANZZ | INT1 | 3 | INT1 | ||||
REFID | Capacity ID | KAPID | NUMC | 8 | KAKO | KAPID | |||
SUPPK | Available capacity limits | KAP_SUPPLY | CHAR | 1 | KAP_SUPPLY | ||||
VERSA | Active version of available capacity | KAPVERSAKT | NUMC | 2 | TC36 | KAPVERSION | |||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
KAPIE | Capacity ID | KAPID | NUMC | 8 | KAKO | KAPID | |||
KAPTER | Indicator: Capacity relevant to finite scheduling | KAP_KZTER | CHAR | 1 | XFELD | ||||
KAPAVO | Indicator: Several operations can use capacity | KAP_KZAVO | CHAR | 1 | XFELD | ||||
UEBERLAST | Overload | UEBERLAST | NUMC | 3 | NUM3 | ||||
KAPLPL | Indicator: Capacity excluded from long-term planning | KAP_KZLPL | CHAR | 1 | XFELD | ||||
KAPEH | Unit of measure of capacity | CR_KAPEH | UNIT | 3 | T006 | CUNIT | MEINS | UOM | |
MEHR | Has individual capacities | KAP_MEHR | CHAR | 1 | XFELD | ||||
ANG_UNIT | Unit for available capacity | KAPAZIT_VM_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ANG_MIN | Minimum capacity in volume unit or unit of measure | KAPAZIT_VM_MIN | QUAN | 13(3) | KAPAZIT_EM | ||||
ANG_MAX | Maximum capacity in volume unit or unit of measure | KAPAZIT_VM_MAX | QUAN | 13(3) | KAPAZIT_EM | ||||
.INCLU--AP | 0 | ||||||||
TYPE | Resource Type | CRES_RESOURCETYPE | NUMC | 2 | CRES_RESOURCETYPE | ||||
RESTYPE | Resource Category | CRES_RESOURCE_CATEGORY | CHAR | 1 | CRESRESTYPE | ||||
CAPACITY_A | Capacity of Bucket Resource | CRES_CAPACITYV1_DISP | QUAN | 13(3) | QUAN_13 | ||||
CAPACITY_A_UNIT | Unit of Measurement for the Capacity of a Bucket Resource | CRES_CAPACITYV_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
NUM_OF_PERIODS | Number of Periods to Which the Capacity Refers | CRES_NUM_OF_PERIODS | NUMC | 3 | NUM3 | ||||
PERIOD | Period Type | CRES_PERIOD | NUMC | 2 | CRES_PERIOD | ||||
BUFFERTIME | Resource-Dependent Time Buffer | CRES_BUFFERTIME | INT4 | 10 | INT4 | ||||
BUFFERTIME_UNIT | Unit of Measurement for Time Buffer | CRES_BUFFERTIME_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
IS_BOTTLENECK | This Resource is a Bottleneck Resource | CRES_BOTTLENECK | CHAR | 1 | FLAG | ||||
UNDERLOAD | Minimum Capacity Load for the Resource | CRES_UNDERLOAD | NUMC | 3 | NUMC3 | ||||
OVERLAP_BUCKETS | Activities can Overlap into Another Period | CRES_OVERLAP_BUCKETS | CHAR | 1 | FLAG | ||||
START_ON_GRID | Activities can Only Begin at the Start of the Bucket | CRES_START_ON_GRID | CHAR | 1 | FLAG | ||||
MIN_OVERLAP | Maximum Overlap of Activities | CRES_MIN_OVERLAP | INT4 | 10 | INT4 | ||||
MIN_OVERLAP_UNIT | Unit of Measurement for Maximum Overlap of Two Activities | CRES_MIN_OVERLAP_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
LOSS_FACTOR | Loss Factor in Percent when Deriving Bucket Capacity | CRES_LOSS_FACTOR | NUMC | 3 | CRES_PERCENT | ||||
SORT | Freely Selectable Character Sequence for Sorting Resources | CRES_SORT | CHAR | 30 | TEXT30 | ||||
SYNC_START | Synchronization of Activities when Overlapping Occurs | CRES_SYNC_START | NUMC | 1 | CRES_SYNC_START | ||||
DEFINE_BUCKETS | Definition of the Bucket Capacity of a Mixed Resource | CRES_DEFINE_BUCKETS | CHAR | 1 | FLAG | ||||
LC_DAYS_MINUS | Validity of Available Capacity (In Past) | CRES_GEN_LC_BACKWARDS | NUMC | 4 | NUMC4 | ||||
LC_DAYS_PLUS | Validity of Available Resource Capacity (In the Future) | CRES_GEN_LC_FORWARD | NUMC | 4 | NUMC4 | ||||
STORAGE_CAPABLE | Resource has Storage Characteristics | CRES_STORAGE_CAPABLE | CHAR | 1 | FLAG | ||||
MIN_STORAGE | Minimum Production Quantity | CRES_MIN_STORAGE | QUAN | 15(3) | CRES_QUAN15_3 | ||||
MAX_STORAGE | Maximum Stock Level | CRES_MAX_STORAGE | QUAN | 15(3) | CRES_QUAN15_3 | ||||
STORAGE_UNIT | Stock Unit | CRES_STORAGE_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DIM_STORAGE | Dimension of Storage Characteristic of a Resource | CRES_DIMENSION_STORAGE | CHAR | 6 | T006D | DIMID | |||
STORAGE_TO_ZERO | Handling of Remaining Fill Level | CRES_STORAGE_TO_ZERO | CHAR | 1 | FLAG | ||||
SNPLC | Resource is not Relevant to SNP | CRES_SNPLC | CHAR | 1 | FLAG | ||||
UTIL_BUCKET | Utilization Rate for Bucket-Oriented Capacity [%] | CRES_UTIL_BUCKET | DEC | 6(3) | DEC3_3 | ||||
CAMPAIGN_PPDS | Resource is Campaign-Relevant | CRES_CAMPAIGN_PPDS | CHAR | 1 | FLAG | ||||
CAMPAIGN_SNP | Cross-Period Lot Sizes | CRES_CAMPAIGN_SNP | CHAR | 1 | CRES_CAMPAIGN_SNP | ||||
TSTREAM_EXTERNAL | Capacity Data for Time Stream Originates in External System | CRES_TSTREAM_EXTERNAL | CHAR | 1 | FLAG | ||||
FINITY_LEVEL | Finiteness Level of Resource | CRES_FINITY_LEVEL | NUMC | 4 | NUMC4 | ||||
BR_QUANT | Number of Units of Measure for Base Rate | CRES_BASE_RATE | QUAN | 13(3) | QUAN_13 | ||||
BR_QUNIT | Unit of Measure for Production Rate | CRES_RATE_QUNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BR_TIME | Number of Time Units for Production Rate | CRES_RATE_TIME | QUAN | 5(2) | CRES_RATE_TIME | ||||
BR_TUNIT | Time Unit of Production Rate | CRES_RATE_TUNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
RITT_FLG | /SAPAPO/RITT_FLG | CRES_RITT_FLG | CHAR | 1 | FLAG | ||||
MDRMODEL | Defintion Name for the Product-Dependent Rate | CRES_MDR_NAME | CHAR | 40 | CHAR40 | ||||
PP_DEF_BUCKETS | Definition of PP/DS Bucket Capacity | CRES_PP_DEFINE_BUCKETS | CHAR | 1 | CRES_PP_DEFINE_BUCKETS | ||||
PP_BUCKET_SCHEMA | PP/DS Bucket Schema | CRES_PP_BUCKET_SCHEMA | NUMC | 2 | CRES_PP_BUCKET_SCHEMA | ||||
PP_BUCKET_FACT | Factor: Relation. of Avl. Bucket Cap. to Avl. Time-Cont Cap. | CRES_PP_BUCKET_FACTOR | NUMC | 3 | NUMC3 | ||||
MIX_PLAN_TYPE | Finite Capacity of a Mixed Resource | CRES_MIX_PLAN_TYPE | NUMC | 1 | CRES_MIX_PLAN_TYPE |
Key field | Non-key field |
How do I retrieve data from SAP table KAKO using ABAP code
The following ABAP code Example will allow you to do a basic selection on KAKO to SELECT all data from the tableDATA: WA_KAKO TYPE KAKO.
SELECT SINGLE *
FROM KAKO
INTO CORRESPONDING FIELDS OF WA_KAKO
WHERE...
How to access SAP table KAKO
Within an ECC or HANA version of SAP you can also view further information about KAKO and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects