STKOB SAP (BOM Header Document Table) Structure details

Dictionary Type: Structure
Description: BOM Header Document Table




ABAP Code to SELECT data from STKOB
Related tables to STKOB
Access table STKOB




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
MANDTClient MANDTCLNT3T000MANDT
STLTYBOM category STLTYCHAR1STLTY
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLALAlternative BOM STALTCHAR2ALPHAALTNR
STKOZInternal counter CIM_COUNTNUMC8CIM_COUNT
DATUVValid-From Date DATUVDATS8DATUM
TECHVTechnical status from TECHVCHAR12TECHS
AENNRChange Number AENNRCHAR12AENRAENNRAENNRAEN
LKENZDeletion Indicator LKENZCHAR1XFELD
LOEKZDeletion flag for BOMs LOKNZCHAR1XFELD
VGKZLPrevious header counter VGKZLNUMC8CIM_COUNT
ANDATDate record created on ANDATDATS8DATUM
ANNAMUser who created record ANNAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
BMEINBase unit of measure for BOM BASMEUNIT3T006CUNITMEINS
BMENGBase quantity BASMNQUAN13(3) MENG13
CADKZCAD Indicator CADKZCHAR1XFELD
LABORLaboratory/design office LABORCHAR3T024LLABOR
LTXSPLong Text Language, for Creation of a Change Document LTXSP_CPLANG1T002ISOLASPRAS
STKTXAlternative BOM Text STKTXCHAR40TEXT40
STLSTBOM status STLSTNUMC2T415SSTLST
WRKANPlant where BOM or alternative/variant created WRKANCHAR4T001WWERKS
DVDATDate of last date shift DVDATDATS8DATUM
DVNAMName of the user who carried out the date shift DVNAMCHAR12USNAM
AEHLPDate Shift Hierarchy Indicator CC_AEHLPNUMC2CC_AEHLP
ALEKZALE indicator CS_ALEKZCHAR1XFELD
GUIDXGlobal identification of a BOM header change status CS_GUIDBRAW16SYSUUID
LTXPSLong text working name LTXPSINT410SYST_LONG
LTXVBLong text update indicator LVBKZCHAR1CHAR1
VBKZUpdate indicator VBKZCHAR1VERBUCHER
MVBKZUpdate indicator VBKZCHAR1VERBUCHER
DATUBValid-to date DATUBDATS8DATUM
AENRAChange Number To AENRACHAR12Assigned to domainAENNRAENNR
AENKZChange indicator SAENKZCHAR1XFELD
SELKZSelection of valid records CSSELCHAR1XFELD
KZDOCIndicator: Maintain document assignment in BOM complete CS_KZDOCCHAR1XFELD
EFRNKECM: level during explosion CC_EFRNKNUMC20NUMC20

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!