T023 SAP (Material Groups) Table details

Dictionary Type: Table
Description: Material Groups




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




Table field list including key, data, relationships and ABAP select examples

T023 is a standard SAP Table which is used to store Material Groups data and is available within R/3 SAP systems depending on the version and release level.

The T023 table consists of various fields, each holding specific information or linking keys about Material Groups data available in SAP. These include MATKL (Material Group), SPART (Division), LREF3 (Material group-related supply relat. between plants /DEACT.), WWGDA (Material group reference material).. 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: C - Customising table, maintenance only by cust
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)

Text table = T023T


SAP T023 table 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
MATKLMaterial Group MATKLCHAR9MATKLMKLS_WBWG
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
LREF3Material group-related supply relat. between plants /DEACT. LREF3CHAR3LREF3
WWGDAMaterial group reference material WWGDACHAR18MARAMATN1MATNRMAT
WWGPAMaterial group material WWGPACHAR18MARAMATN1MATNRMAT
ABTNRDepartment number ABTNRCHAR4TSABABTNR
BEGRUAuthorization Group BEGRUCHAR4BEGRU
GEWEIDefault unit of weight in the material master GEWEI_VUNIT3T006CUNITMEINS
J_1BNBMBrazilian NCM Code J_1BNBMCO1CHAR16T604FSTEUC
BKLASValuation Class BKLASCHAR4T025BKLAS
EKWSLPurchasing Value Key EKWSLCHAR4T405EKWSL
ANLKLDefault: Asset Class for Creation of Asset MEVAKCHAR8ANKAALPHAANLKLANK
.INCLU--AP 0
DEF_SCHDSCEvent Scenario EXP_SCHDSCCHAR6Assigned to domainEXP_SCHDSC
.INCLU--AP 0
PRICE_GROUPPrice Level Group PRICE_GROUPCHAR6Assigned to domainPRICE_GROUP

Key field Non-key field



How do I retrieve data from SAP table T023 using ABAP code

The following ABAP code Example will allow you to do a basic selection on T023 to SELECT all data from the table
DATA: WA_T023 TYPE T023.

SELECT SINGLE *
FROM T023
INTO CORRESPONDING FIELDS OF WA_T023
WHERE...

How to access SAP table T023

Within an ECC or HANA version of SAP you can also view further information about T023 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!