STKOB SAP (BOM Header Document Table) Structure details
Description: BOM Header Document Table
Structure field list including key, data, relationships and ABAP select examples
STKOB 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 "BOM Header Document Table" 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_STKOB TYPE STKOB.
The STKOB table consists of various fields, each holding specific information or linking keys about BOM Header Document Table data available in SAP. These include MANDT (Client), STLTY (BOM category), STLNR (Bill of material), STLAL (Alternative BOM).. 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 STKOB 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
STLTY | BOM category | STLTY | CHAR | 1 | STLTY | ||||
STLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
STLAL | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
STKOZ | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
DATUV | Valid-From Date | DATUV | DATS | 8 | DATUM | ||||
TECHV | Technical status from | TECHV | CHAR | 12 | TECHS | ||||
AENNR | Change Number | AENNR | CHAR | 12 | AENR | AENNR | AENNR | AEN | |
LKENZ | Deletion Indicator | LKENZ | CHAR | 1 | XFELD | ||||
LOEKZ | Deletion flag for BOMs | LOKNZ | CHAR | 1 | XFELD | ||||
VGKZL | Previous header counter | VGKZL | NUMC | 8 | CIM_COUNT | ||||
ANDAT | Date record created on | ANDAT | DATS | 8 | DATUM | ||||
ANNAM | User who created record | ANNAM | CHAR | 12 | USNAM | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
BMEIN | Base unit of measure for BOM | BASME | UNIT | 3 | T006 | CUNIT | MEINS | ||
BMENG | Base quantity | BASMN | QUAN | 13(3) | MENG13 | ||||
CADKZ | CAD Indicator | CADKZ | CHAR | 1 | XFELD | ||||
LABOR | Laboratory/design office | LABOR | CHAR | 3 | T024L | LABOR | |||
LTXSP | Long Text Language, for Creation of a Change Document | LTXSP_CP | LANG | 1 | T002 | ISOLA | SPRAS | ||
STKTX | Alternative BOM Text | STKTX | CHAR | 40 | TEXT40 | ||||
STLST | BOM status | STLST | NUMC | 2 | T415S | STLST | |||
WRKAN | Plant where BOM or alternative/variant created | WRKAN | CHAR | 4 | T001W | WERKS | |||
DVDAT | Date of last date shift | DVDAT | DATS | 8 | DATUM | ||||
DVNAM | Name of the user who carried out the date shift | DVNAM | CHAR | 12 | USNAM | ||||
AEHLP | Date Shift Hierarchy Indicator | CC_AEHLP | NUMC | 2 | CC_AEHLP | ||||
ALEKZ | ALE indicator | CS_ALEKZ | CHAR | 1 | XFELD | ||||
GUIDX | Global identification of a BOM header change status | CS_GUIDB | RAW | 16 | SYSUUID | ||||
LTXPS | Long text working name | LTXPS | INT4 | 10 | SYST_LONG | ||||
LTXVB | Long text update indicator | LVBKZ | CHAR | 1 | CHAR1 | ||||
VBKZ | Update indicator | VBKZ | CHAR | 1 | VERBUCHER | ||||
MVBKZ | Update indicator | VBKZ | CHAR | 1 | VERBUCHER | ||||
DATUB | Valid-to date | DATUB | DATS | 8 | DATUM | ||||
AENRA | Change Number To | AENRA | CHAR | 12 | Assigned to domain | AENNR | AENNR | ||
AENKZ | Change indicator | SAENKZ | CHAR | 1 | XFELD | ||||
SELKZ | Selection of valid records | CSSEL | CHAR | 1 | XFELD | ||||
KZDOC | Indicator: Maintain document assignment in BOM complete | CS_KZDOC | CHAR | 1 | XFELD | ||||
EFRNK | ECM: level during explosion | CC_EFRNK | NUMC | 20 | NUMC20 |
Key field | Non-key field |
How do I retrieve data from SAP structure STKOB using ABAP code?
As STKOB 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 STKOB as there is no data to select.How to access SAP table STKOB
Within an ECC or HANA version of SAP you can also view further information about STKOB 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