KAPA_API03 SAP (API structure: capacities, intervals of available capacity) Structure details
Description: API structure: capacities, intervals of available capacity
Structure field list including key, data, relationships and ABAP select examples
KAPA_API03 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 "API structure: capacities, intervals of available capacity" 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_KAPA_API03 TYPE KAPA_API03.
The KAPA_API03 table consists of various fields, each holding specific information or linking keys about API structure: capacities, intervals of available capacity data available in SAP. These include VERSN (Available capacity version), DATUV (Valid-From Date), DATUB (Valid-to date), ANZHL (Number of individual capacities).. 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 KAPA_API03 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 |
CANUM | Capacity allocation number | CR_CAPNUM | NUMC | 4 | NUM4 | ||||
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 | ||||
ANZHL | Number of individual capacities | KAPANZAHL | INT2 | 5 | KAPANZAHL | ||||
ANZSH | Number of shifts in a day | ANZSCHICHT | NUMC | 1 | NUM01 | ||||
ANZTG | Length of the interval cycle | DZYKDAU | NUMC | 2 | NUM02 | ||||
FABTG | Indicator: Workdays | KAPFABTAG | CHAR | 1 | KAPFABTAG | ||||
NGRAD | Capacity utilization rate (percent) | NUTZGRAD | NUMC | 3 | NUM3 | ||||
SPROG | Key for the shift sequence | SCHPROG | CHAR | 4 | Assigned to domain | SCHPROG |
Key field | Non-key field |
How do I retrieve data from SAP structure KAPA_API03 using ABAP code?
As KAPA_API03 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 KAPA_API03 as there is no data to select.How to access SAP table KAPA_API03
Within an ECC or HANA version of SAP you can also view further information about KAPA_API03 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