STZUB SAP (Permanent BOM data) Structure details
Description: Permanent BOM data
Structure field list including key, data, relationships and ABAP select examples
STZUB 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 "Permanent BOM data" 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_STZUB TYPE STZUB.
The STZUB table consists of various fields, each holding specific information or linking keys about Permanent BOM data data available in SAP. These include MANDT (Client), STLTY (BOM category), STLNR (Bill of material), STLAN (BOM Usage).. 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 STZUB 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 | ||
STLAN | BOM Usage | STLAN | CHAR | 1 | T416 | STLAN | CSV | ||
EXSTL | BOM group | EXSTL | CHAR | 18 | EXSTL | CSG | |||
ALTST | Indicator: Alternatives | ALTST | CHAR | 1 | XFELD | ||||
VARST | Indicator: variants | VARST | CHAR | 1 | XFELD | ||||
KBAUS | Indicator: configurable BOM | KBAUS | CHAR | 1 | XFELD | ||||
LTXSP | Long Text Language, for Creation of a Change Document | LTXSP_CP | LANG | 1 | T002 | ISOLA | SPRAS | ||
STLBE | Authorization group for bills of material | STLBE | CHAR | 4 | BEGRU | ||||
ZTEXT | BOM text | CSTEXT | CHAR | 40 | TEXT40 | ||||
WRKAN | Plant where BOM or alternative/variant created | WRKAN | CHAR | 4 | T001W | WERKS | |||
HISDT | Indicator: BOM with history (date) | HISDT | CHAR | 1 | XFELD | ||||
HISSR | Indicator: BOM with history (technical status) | HISSR | CHAR | 1 | XFELD | ||||
HISTK | Indicator: BOM was changed with history | HISTK | CHAR | 1 | CHAR1 | ||||
STUEZ | Maximum number of counters in a BOM | STUEZ | NUMC | 8 | CIM_COUNT | ||||
MAXKN | Maximum number of nodes within a BOM | MAXKN | NUMC | 8 | KNTNR | ||||
KZPLN | Indicator: BOM can only be changed from the routing | KZPLN | CHAR | 1 | CHAR01 | ||||
AENRL | Last change number | AENRL | CHAR | 12 | Assigned to domain | AENNR | AENNR | ||
CLSMX | Maximum classification number | CS_CLSMX | NUMC | 8 | NUM8 | ||||
STLDT | Date on which the BOM was last changed | STLDT | DATS | 8 | DATUM | ||||
STLTM | Time when BOM was last changed | CS_STLTM | TIMS | 6 | UZEIT | ||||
MAXKAN | Maximum edge | MAXKAN | NUMC | 6 | STKAN | ||||
TSTMP | Time stamp: BOM change relevant to explosion | CS_TSTAMP | DEC | 15 | TZNTSTMPS | ||||
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 |
Key field | Non-key field |
How do I retrieve data from SAP structure STZUB using ABAP code?
As STZUB 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 STZUB as there is no data to select.How to access SAP table STZUB
Within an ECC or HANA version of SAP you can also view further information about STZUB 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