SAP BOM Tables for BOM Header, Items and components and Category

SAP BOM Tables

SAP BOM Tables details how SAP BOMs (Bill Of Material) are stored in SAP’s database.

It helps in understanding how to retrieve BOM Data or check the Bill of Material Data.

The article about the BOM table in sap will start with the important SAP BOM Tables then a short help on how to retrieve SAP BOM Data.

What BOM ?

A bill of materials or product structure (sometimes bill of material, BOM, or associated list) is a list of the raw materials, sub-assemblies, intermediate assemblies, sub-components, parts, and the quantities of each needed to manufacture an end product. (source: wiki)

SAP BOM Tables

Let’s start by the Most important SAP BOM Related Tables.

The main SAP Tables for BOM (Bill Of Material) are:

SAP BOM TABLESDESCRIPTION
STKOBOM Header
STPOBOM item
STASBOMs – Item Selection
MASTMaterial to BOM Link
MARCPlant Data for Material
MARAGeneral Material Data
MAKTMaterial Descriptions
CABNCharacteristic
USR21Assign user name address key
ADRPPersons (Business Address Services)

SAP BOM Retrieve Data

This part will help you through data extraction for SAP Material and SAP BOM.

Retrieve SAP Material Data

As you already know, the main tables for SAP material are MARA, MARC, and MAKT.

Find the full list for SAP Material Master Tables.

Here how to extract some Material important fields to prepare BOM Data

BOM KEYSSAP BOM JOIN CONDITION
Material NumberMARA-MATNR
Material TypeMARA-MTART
PlantMARC-WERKS where MARC-MATNR = MARA-MATNR

SAP BOM – Engineering

First, start by retrieving the BOM link from SAP Table MAST. The MAST table stores the Material to BOM Link.

Some keys field for Material BOM Link are:

MAST KEYSDESCRIPTION
MATNRMaterial Number
WERKSPlant
STLANBOM Usage
STLNRBill of Material

SAP BOM Usage

BOM Usage defines in which process the Material is linked to the BOM.

In order to get all value of STLAN (BOM usage), go to SAP Table T146.

T146: SAP BOM Usage Table

The BOM usage in SAP can have the following value :

1PRODUCTION
2Engineering/design
3Universal
4Plant maintenance
5Sales and distribution
6Costing
7Empties
RRework (copy of production)

SAP BOM Header

Once the Material Link to BOM is retrieved, the field MAST-STLNR will have the BOM number and the Alternative BOM is on MAST-STLAL.

  • STKO-STLNR = MAST-STLNR
  • STKO-STLAL = MAST-STLAL

To Read BOM Header, select on table STKO

STKO SAP BOM Header Table

The main fields for BOM keys are:

SAP BOM HEADERDESCRIPTION
STLTYBOM category
STLNRBill of material
STLALAlternative BOM
STKOZInternal counter

SAP BOM Category

Functionality, there is no better than help.sap.com to get the definition of BOM Categories.

Technically, the BOM Category is set on the fixed value of the STLTY domain in the SAP DDIC.

List of SAP Bill-of-Material Category List

SAP BOM Category can be :

BOM CATEGORYDESCRIPTION
DDocument Structure
EEquipment BOM
KOrder BOM
MMaterial BOM
SStandard BOM
TFunctional Location BOM
PWork Breakdown Structure BOM

To Link BOM with different Objects depending on SAP BOM Categories

RELATED BOM TABLESLINK WITH BOM
MASTlink BOM – Material
KDSTlink BOM – Order
EQSTlink BOM – Equipment
PRSTlink BOM – WBS
STSTlink BOM – Standard
DOSTlink BOM – Document
TPSTlink BOM – Functional Location
SAP BOM Tables: BOM Categories Links

SAP BOM Items

Read BOM items details for STPO. Join on

STKO-STLNR = STPO-STLNR

Here a list of some important fields for BOM items

BOM ITEMS KEYSDESCRIPTION
STLTYBOM category
STLNRBill of material
STLKNBOM item node number
STPOZInternal counter
DATUVValid-From Date
ANDDATValid-to Date
TECHVTechnical status from
LKENZBOM Item Deletion Indicator
IDNRKBOM component
PSWRKIssuing plant
POSTPItem Category (Bill of Material)
POSNRBOM Item Number
MEINSComponent unit of measure
MENGEComponent quantity

SAP BOM Items Categories

A BOM Items Category can be (STPO-POSTP)

BOM ITEM CATEGORYDESCRIPTION
CCompatible Unit
DDocument item
IPM structure element
KClass item
LStock item
MIntra-material
NNon-stock item
RVariable-size item
TText item

All Values are in the SAP reference table T418.

SAP BOM Texts Tables

Check the SAP Table STZU in order to read BOM.

Retrieve data with keys STLTY BOM category and STLNR Bill of material, the SAP BOM Text is set on

STZU-ZTEXTBOM TEXT
STZU-LTXSPfor language of text

Here it is the main SAP BOM Tables covering the data model of BOM (Bill-of-materials) and the BOM tables for BOM’s header, BOM Items, BOM Category, and BOM text.