STKO_API02 SAP (API structure for BOM header: all fields) Structure details
Description: API structure for BOM header: all fields
Structure field list including key, data, relationships and ABAP select examples
STKO_API02 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 for BOM header: all fields" 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_STKO_API02 TYPE STKO_API02.
The STKO_API02 table consists of various fields, each holding specific information or linking keys about API structure for BOM header: all fields data available in SAP. These include BASE_QUAN (Base quantity (BTCI)), BASE_UNIT (Base unit of measure for BOM), BOM_STATUS (BOM status), ALT_TEXT (Alternative BOM Text).. 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 STKO_API02 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 |
BASE_QUAN | Base quantity (BTCI) | BASMN_BI | CHAR | 17 | CHAR17 | ||||
BASE_UNIT | Base unit of measure for BOM | BASME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BOM_STATUS | BOM status | STLST | NUMC | 2 | Assigned to domain | STLST | |||
ALT_TEXT | Alternative BOM Text | STKTX | CHAR | 40 | TEXT40 | ||||
LABORATORY | Laboratory/design office | LABOR | CHAR | 3 | Assigned to domain | LABOR | |||
DELETE_IND | Deletion flag for BOMs | LOKNZ | CHAR | 1 | XFELD | ||||
BOM_TEXT | BOM text | CSTEXT | CHAR | 40 | TEXT40 | ||||
BOM_GROUP | BOM group | EXSTL | CHAR | 18 | EXSTL | CSG | |||
AUTH_GROUP | Authorization group for bills of material | STLBE | CHAR | 4 | BEGRU | ||||
CAD_IND | CAD Indicator | CADKZ | CHAR | 1 | XFELD | ||||
ID_GUID | Guid external display (char32) | CS_GUIDC | CHAR | 32 | SYSUUID_C | ||||
BOM_NO | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
ALE_IND | ALE indicator | CS_ALEKZ | CHAR | 1 | XFELD | ||||
VALID_TO | Valid to date (BTCI) | DATUB_BI | CHAR | 10 | CHAR10 | ||||
CHG_NO_TO | Change Number To | AENRA | CHAR | 12 | Assigned to domain | AENNR | AENNR | ||
CREATED_ON | Creation date of the record (batch input) | ANDAT_BI | CHAR | 10 | CHAR10 | ||||
CREATED_BY | User who created record | ANNAM | CHAR | 12 | USNAM | ||||
CHANGED_ON | Change date (batch input) | AEDAT_BI | CHAR | 10 | CHAR10 | ||||
CHANGED_BY | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
VALID_FROM | Valid-From Date (BTCI) | DATUV_BI | CHAR | 10 | CHAR10 | ||||
CHG_NO | Change Number | AENNR | CHAR | 12 | Assigned to domain | AENNR | AENNR | AEN |
Key field | Non-key field |
How do I retrieve data from SAP structure STKO_API02 using ABAP code?
As STKO_API02 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 STKO_API02 as there is no data to select.How to access SAP table STKO_API02
Within an ECC or HANA version of SAP you can also view further information about STKO_API02 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