KAZA SAP (General structure for KAZY and KAPA) Structure details
Description: General structure for KAZY and KAPA
Structure field list including key, data, relationships and ABAP select examples
KAZA is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "General structure for KAZY and KAPA" 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_KAZA TYPE KAZA.
The KAZA table consists of various fields, each holding specific information or linking keys about General structure for KAZY and KAPA data available in SAP. These include VERSN (Available capacity version), DATUV (Valid-From Date), DATUB (Valid-to date), FLAG_INTERVAL (General Flag).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP KAZA structure 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 |
KAPID | Capacity ID | KAPID | NUMC | 8 | Assigned to domain | KAPID | |||
VERSN | Available capacity version | KAPVERSION | NUMC | 2 | Assigned to domain | KAPVERSION | |||
DATUV | Valid-From Date | DATUV | DATS | 8 | DATUM | ||||
DATUB | Valid-to date | DATUB | DATS | 8 | DATUM | ||||
FLAG_INTERVAL | General Flag | FLAG | CHAR | 1 | FLAG | ||||
ANZSH | Number of shifts in a day | ANZSCHICHT | NUMC | 1 | NUM01 | ||||
ANZTG | Length of the interval cycle | DZYKDAU | NUMC | 2 | NUM02 | ||||
SPROG | Key for the shift sequence | SCHPROG | CHAR | 4 | Assigned to domain | SCHPROG | |||
TPROG | Shift definition | KAPTPROG | CHAR | 4 | Assigned to domain | KAPTPROG | |||
TAGNR | Current weekday number within the available capacity cycle | CR_TAGNR | NUMC | 3 | NUM03 | ||||
WDAY | Weekday | KAP_WOTAG | CHAR | 3 | CHAR3 | ||||
SCHNR | Shift number of the available capacity | SCHICHTNR | NUMC | 1 | NUM01 | ||||
ANZHL | Number of individual capacities | KAPANZAHL | INT2 | 5 | KAPANZAHL | ||||
BEGZT | Start Time | BEGZT | TIMS | 6 | TIMES | ||||
ENDZT | End Time | ENDZT | TIMS | 6 | TIMES | ||||
FABTG | Indicator: Workdays | KAPFABTAG | CHAR | 1 | KAPFABTAG | ||||
NGRAD | Capacity utilization rate (percent) | NUTZGRAD | NUMC | 3 | NUM3 | ||||
KKOPF | Ind.: standard available capacity is valid for this interval | KAP_KOPF | CHAR | 1 | XFELD | ||||
SEL_FLAG | General Flag | FLAG | CHAR | 1 | FLAG | ||||
EINZH | Operating time in hours | KAPEINZT_H | DEC | 4(2) | KAPEINZT_H | ||||
KAPAZ | Capacity expressed in a specific unit of measure | KAPAZIT_EH | QUAN | 9(2) | KAPAZIT_EH | ||||
KAPEH | Unit of measure of capacity | CR_KAPEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | UOM | |
PAUSE | Cumulative length of breaks per shift | KAPPAUZEIT | TIMS | 6 | T | ||||
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 | ||||
ANG_UNIT | Unit for available capacity | KAPAZIT_VM_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ARBPL | Work center | ARBPL | CHAR | 8 | ARBPL | AGR | |||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
KAPAR | Capacity category | KAPAR | CHAR | 3 | CHAR3 |
Key field | Non-key field |
How do I retrieve data from SAP structure KAZA using ABAP code?
As KAZA is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on KAZA as there is no data to select.How to access SAP table KAZA
Within an ECC or HANA version of SAP you can also view further information about KAZA 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