SAP Table S031

Statistics: Movements for current stocks

S031 (Statistics: Movements for current stocks) 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 S031 to other SAP tables.

S031 table fields

Field Data element Checktable Datatype Length Decimals
MANDT Client MANDT T000 CLNT 3 0
SSOUR Statistic(s) origin SSOUR CHAR 4 0
VRSIO Version number in the information structure VRSIO CHAR 3 0
SPMON Period to analyze - month SPMON NUMC 6 0
SPTAG Period to analyze - current date SPTAG DATS 8 0
SPWOC Period to analyze - week SPWOC NUMC 6 0
SPBUP Period to analyze - posting period SPBUP NUMC 6 0
WERKS Plant WERKS_D T001W CHAR 4 0
MATNR Material Number MATNR MARA CHAR 18 0
LGORT Storage Location LGORT_D T001L CHAR 4 0
PERIV Fiscal Year Variant PERIV T009 CHAR 2 0
VWDAT Pointer to administrative data VWDAT NUMC 10 0
BASME Base Unit of Measure MEINS T006 UNIT 3 0
HWAER Currency Key WAERS TCURC CUKY 5 0
MZUBB Valuated stock receipts quantity MZUBB QUAN 15 3
WZUBB Valuated stock receipts value WZUBB CURR 15 2
AZUBB Number of times that valuated stock has been received AZUBB DEC 9 0
MZUKB Consignment stock receipts quantity MZUKB QUAN 15 3
AZUKB Number of times that consignment stock has been received AZUKB DEC 9 0
MAGBB Quantity of valuated stock issues MAGBB QUAN 15 3
WAGBB Value of valuated stock that has been issued WAGBB CURR 15 2
AAGBB Number of times valuated stock has been issued AAGBB DEC 9 0
MAGKB Quantity of consignment stock that has been issued MAGKB QUAN 15 3
AAGKB Number of times consignment stock has been issued AAGKB DEC 9 0
AMBWG Number of material movements AMBWG DEC 9 0
MGVBR Total usage quantity GVBRM QUAN 15 3
WGVBR Total usage value WGVBR CURR 15 2
AGVBR Number of times that total usage has been updated AGVBR DEC 9 0
MUVBR Unplanned usage quantity UVBRM QUAN 15 3
WUVBR Unplanned usage value WUVBR CURR 15 2
AUVBR Number of times an unplanned usage has been recorded AUVBR DEC 9 0
ASTOR Number of cancelation documents to date ASTOR DEC 9 0
BBNULL Number of times that valuated stock was zero BBNULL DEC 9 0
KBNULL Number of times that consignment stock was zero KBNULL DEC 9 0
GBNULL Number of times that total stock was zero GBNULL DEC 9 0
BESZUG Stock level at goods receipt BESZUG QUAN 15 3
WBESZUG Value of stock at goods receipt WBESZUG CURR 15 2

S031 foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
S031 BASME S031 MANDT T006 Units of Measurement MANDT
S031 BASME S031 BASME T006 Units of Measurement MSEHI
S031 HWAER S031 MANDT TCURC Currency Codes MANDT
S031 HWAER S031 HWAER TCURC Currency Codes WAERS
S031 LGORT S031 MANDT T001L Storage Locations MANDT
S031 LGORT S031 WERKS T001L Storage Locations WERKS
S031 LGORT S031 LGORT T001L Storage Locations LGORT
S031 MANDT S031 MANDT T000 Clients MANDT
S031 MATNR S031 MANDT MARA General Material Data MANDT
S031 MATNR S031 MATNR MARA General Material Data MATNR
S031 PERIV S031 MANDT T009 Fiscal Year Variants MANDT
S031 PERIV S031 PERIV T009 Fiscal Year Variants PERIV
S031 WERKS S031 WERKS T001W Plants/Branches WERKS
S031 WERKS S031 MANDT T001W Plants/Branches MANDT