S023 SAP (SFIS: Totals Records for Material) Table details

Dictionary Type: Table
Description: SFIS: Totals Records for Material




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




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

S023 is a standard SAP Table which is used to store SFIS: Totals Records for Material data and is available within R/3 SAP systems depending on the version and release level.

The S023 table consists of various fields, each holding specific information or linking keys about SFIS: Totals Records for Material data available in SAP. These include SSOUR (Statistic(s) origin), VRSIO (Version number in the information structure), SPMON (Period to analyze - month), SPTAG (Period to analyze - current date).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP S023 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
SSOURStatistic(s) origin SSOURCHAR4SSOUR
VRSIOVersion number in the information structure VRSIOCHAR3Assigned to domainVRSIOMCV
SPMONPeriod to analyze - month SPMONNUMC6PERIMCPERIOD
SPTAGPeriod to analyze - current date SPTAGDATS8DATUM
SPWOCPeriod to analyze - week SPWOCNUMC6PERIMCPERIOD
SPBUPPeriod to analyze - posting period SPBUPNUMC6PERIMCPERIOD
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
DISPOMRP controller for the order CO_DISPOCHAR3T024DDISPODGR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
PERIVFiscal Year Variant PERIVCHAR2T009PERIV
VWDATPointer to administrative data VWDATNUMC10VWDAT
LMEINBase Unit of Measure LAGMEUNIT3Assigned to domainCUNITMEINS
DFZEHUnit of measure for execution time DFZEHUNIT3CUNITEINHEIT
ANZFANumber of production orders MC_ANZFADEC9MCZAEHLER
P_DLZPlanned lead time P_DLZQUAN7(1) DAUER_6_1V
S_DLZTarget lead time S_DLZQUAN7(1) DAUER_6_1V
I_DLZActual lead time I_DLZQUAN7(1) DAUER_6_1V
PIDLZPlanned/actual lead time deviation PIDLZQUAN7(1) DAUER_6_1V
SIDLZTarget/actual lead time deviation SIDLZQUAN7(1) DAUER_6_1V
S_DFZTarget execution time S_DFZQUAN7(1) DAUER_6_1V
I_DFZActual execution time I_DFZQUAN7(1) DAUER_6_1V
S_WTZTarget queue time S_WTZQUAN7(1) DAUER_6_1V
I_WTZActual queue time I_WTZQUAN7(1) DAUER_6_1V
WTZABQueue time deviation WTZABQUAN7(1) DAUER_6_1V
PS_FREIPlanned/target deviation in scheduled release date PS_FREIQUAN7(1) DAUER_6_1V
PI_FREIPlanned/actual deviation in scheduled release date PI_FREIQUAN7(1) DAUER_6_1V
SI_FREITarget/actual deviation in scheduled release date DSI_FREIQUAN7(1) DAUER_6_1V
PS_STARPlanned/target deviation in start date PS_STARQUAN7(1) DAUER_6_1V
PI_STARPlanned/actual deviation in scheduled start date PI_STARQUAN7(1) DAUER_6_1V
SI_STARTarget/actual schedule deviation in start date DSI_STARQUAN7(1) DAUER_6_1V
PS_LIEFPlanned/target deviation in scheduled delivery date PS_LIEFQUAN7(1) DAUER_6_1V
PI_LIEFPlanned/actual deviation in scheduled delivery date PI_LIEFQUAN7(1) DAUER_6_1V
SI_LIEFTarget/actual deviation in scheduled delivery date DSI_LIEFQUAN7(1) DAUER_6_1V
PGMNGTotal planned order quantity MC_GSMNGQUAN15(3) MENGV15_3
PSMNGOrder item quantity MC_PSMNGQUAN15(3) MENGV15_3
WEMNGQuantity of goods received MC_WEMNGQUAN15(3) MENGV15_3
PS_MENGPlanned/target quantity deviation PS_MENGQUAN15(3) MENGV15_3
PI_MENGPlanned/actual quantity deviation PI_MENGQUAN15(3) MENGV15_3
SI_MENGTarget/actual quantity deviation DSI_MENGQUAN15(3) MENGV15_3
PAMNGFixed quantity of scrap from production MC_AVMNGQUAN15(3) MENGV15_3
PSAMGScrap quantity in item MC_PSAMGQUAN15(3) MENGV15_3
IAMNGActual scrap quantity from an order item MC_IAMNGQUAN15(3) MENGV15_3
PS_AUSSPlanned/target scrap deviation PS_AUSSQUAN15(3) MENGV15_3
PI_AUSSPlanned/actual scrap deviation PI_AUSSQUAN15(3) MENGV15_3
SI_AUSSTarget/actual scrap deviation DSI_AUSSQUAN15(3) MENGV15_3

Key field Non-key field



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

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

SELECT SINGLE *
FROM S023
INTO CORRESPONDING FIELDS OF WA_S023
WHERE...

How to access SAP table S023

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