SAP Table T158

Transaction Control: Inventory Management

T158 (Transaction Control: Inventory Management) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link T158 to other SAP tables.

T158 table fields

Field Data element Checktable Datatype Length Decimals
MANDT Client MANDT T000 CLNT 3 0
TCODE Transaction Code TCODE TSTC CHAR 20 0
TRTYP Transaction type TRTYP CHAR 1 0
* Masked
A Display
B Edit
C Display from archive
E Single-item planning
H Add
V Change
X Initial transaction
S Standard parameter: normal mode
U Convert indiv. planned order
L Delete
P Planning file entry
K Copy reference
D Print
BLART Document Type BLART T003 CHAR 2 0
BLAUM Document type of revaluation document BLAUM T003 CHAR 2 0
VGART Transaction/Event Type VGART T158V CHAR 2 0
KZBEW Movement Indicator KZBEW CHAR 1 0
NULL Goods movement w/o reference
B Goods movement for purchase order
F Goods movement for production order
L Goods movement for delivery note
K Goods movement for kanban requirement (WM - internal only)
O Subsequent adjustment of "material-provided" consumption
W Subsequent adjustment of proportion/product unit material
FCODE Function Code FCODE CHAR 20 0
KZVAR F status variant with regard to transaction/movement type KZVAR CHAR 1 0
KZTIT Title variant for SET TITLE-BAR KZTIT CHAR 1 0
XSELE Item is proposed preselected XSELE CHAR 1 0
X Yes
NULL No
WEVER Version for Printing GR/GI Slip WEVER CHAR 1 0
1 Individual Slip
2 Individual Slip with Inspection Text
3 Collective Slip
PRREG Checking Rule for Availability Check PRREG T441R CHAR 2 0
BLA2D Doc. type for additional doc. in purchase account management BLA2D T003 CHAR 2 0
XARCH Storage upon goods movements active XOARC CHAR 1 0
X Yes
NULL No

T158 foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
T158 BLA2D T158 BLA2D T003 Document Types BLART
T158 BLA2D T158 MANDT T003 Document Types MANDT
T158 BLART T158 MANDT T003 Document Types MANDT
T158 BLART T158 BLART T003 Document Types BLART
T158 BLAUM T158 MANDT T003 Document Types MANDT
T158 BLAUM T158 BLAUM T003 Document Types BLART
T158 MANDT T158 MANDT T000 Clients MANDT
T158 PRREG T158 MANDT T441R Values Table for Checking Rule MANDT
T158 PRREG T158 PRREG T441R Values Table for Checking Rule PRREG
T158 TCODE T158 TCODE TSTC SAP Transaction Codes TCODE
T158 VGART T158 VGART T158V Inv. Mngmt - General: Transaction/Event Types Allowed VGART