S069 SAP (Material Statistics) Table details
Dictionary Type: Table
Description: Material Statistics
Description: Material Statistics
Table field list including key, data, relationships and ABAP select examples
S069 is a standard SAP Table which is used to store Material Statistics data and is available within R/3 SAP systems depending on the version and release level.
The S069 table consists of various fields, each holding specific information or linking keys about Material Statistics 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: Can be enhanced (character-type or numeric)
SAP S069 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
SSOUR | Statistic(s) origin | SSOUR | CHAR | 4 | SSOUR | ||||
VRSIO | Version number in the information structure | VRSIO | CHAR | 3 | Assigned to domain | VRSIO | MCV | ||
SPMON | Period to analyze - month | SPMON | NUMC | 6 | PERI | MCPERIOD | |||
SPTAG | Period to analyze - current date | SPTAG | DATS | 8 | DATUM | ||||
SPWOC | Period to analyze - week | SPWOC | NUMC | 6 | PERI | MCPERIOD | |||
SPBUP | Period to analyze - posting period | SPBUP | NUMC | 6 | PERI | MCPERIOD | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
ART | Inspection Type | QPART | CHAR | 8 | TQ30 | QPART | QLA | ||
WERK | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
PERIV | Fiscal Year Variant | PERIV | CHAR | 2 | Assigned to domain | PERIV | |||
VWDAT | Pointer to administrative data | VWDAT | NUMC | 10 | VWDAT | ||||
BASME_QM | Base Unit of Measure for The Inspection Lot Quantity | QLOSMENGEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
PROME | Base Unit of Measure for the Sample Unit | QPROBEMGEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
EHTAG | Lead Time Unit (Day) | QEINHTAG | UNIT | 3 | T006 | CUNIT | MEINS | ||
ZHLSELECT | Number of Summarized Inspection Lots (Without Cancellation) | QZHLSELECT | INT4 | 10 | QANZAHL4 | ||||
ZHLANGENS | Number of Accepted Inspection Lots (Including Skips) | QZHLANGENS | INT4 | 10 | QANZAHL4 | ||||
ZHLRUECK | Number of Rejected Inspection Lots | QZHLRUECK | INT4 | 10 | QANZAHL4 | ||||
ZHLSKIP | Number of Skipped Inspection Lots | QZHLSKIP | INT4 | 10 | QANZAHL4 | ||||
ZHLABBR | Number of Inspection Lots with Discontinued Inspections | QZHLABBR | INT4 | 10 | QANZAHL4 | ||||
ZHLOFFMK | Number of Insp. Lots with Outstanding Long-Term Characs | QZHLOFFMK | INT4 | 10 | QANZAHL4 | ||||
SMGSELECT | Cumulated Quantity of Summarized Inspection Lots | QSMGSELECT | QUAN | 17(3) | QKUMMENGE | ||||
SMGANGENS | Accumulated Quantity of Accepted Inspection Lots (with Skip) | QSMGANGENS | QUAN | 17(3) | QKUMMENGE | ||||
SMGRUECK | Cumulated Quantity of Rejected Inspection Lots | QSMGRUECK | QUAN | 17(3) | QKUMMENGE | ||||
SMGSKIP | Cumulated Quantity of Skipped Inspection Lots | QSMGSKIP | QUAN | 17(3) | QKUMMENGE | ||||
SMGGEPRFT | Cumulated Sample Quantity | QSMGGEPRFT | QUAN | 17(3) | QKUMMENGE | ||||
SMGGEPRFTI | Cumulated Sample Quantity (Actual) | QSMGGPRFTI | QUAN | 17(3) | QKUMMENGE | ||||
SMGDIFF | Accumulated Qty Difference Between Target Qty and Actual Qty | QSMGDIFF | QUAN | 17(3) | QKUMMENGE | ||||
SMGZERSTR | Cumulated Quantity Destroyed During Inspection | QSMGZERSTR | QUAN | 17(3) | QKUMMENGE | ||||
SMGFREIBE | Accumulated Qty that Was Posted to Unrestricted-Use Stock | QSMGFREIBE | QUAN | 17(3) | QKUMMENGE | ||||
SMGSCHRTT | Cumulated Quantity Posted to Scrap | QSMGSCHRTT | QUAN | 17(3) | QKUMMENGE | ||||
SMGSTPR | Cumulated Quantity Posted to Sample | QSMGSTPR | QUAN | 17(3) | QKUMMENGE | ||||
SMGSPERR | Cumulated Quantity Posted to Blocked Stock | QSMGSPERR | QUAN | 17(3) | QKUMMENGE | ||||
SMGRUECKL | Cumulated Quantity Posted to Reserves | QSMGRUECKL | QUAN | 17(3) | QKUMMENGE | ||||
SMGANDMAT | Cumulated Quantity that Was Posted to Another Material | QSMGANDMAT | QUAN | 17(3) | QKUMMENGE | ||||
QKZDEF | Definition of Quality Score Classes | QQKZDEF | CHAR | 2 | TQ56 | QQKZDEF | |||
KLASSE_A | Absolute Frequency of Quality Score Class A | QKLASSE_A | INT4 | 10 | QANZAHL4 | ||||
KLASSE_B | Absolute Frequency of Quality Score Class B | QKLASSE_B | INT4 | 10 | QANZAHL4 | ||||
KLASSE_C | Absolute Frequency of Quality Score Class C | QKLASSE_C | INT4 | 10 | QANZAHL4 | ||||
KLASSE_D | Absolute Frequency of Quality Score Class D | QKLASSE_D | INT4 | 10 | QANZAHL4 | ||||
KLASSE_E | Absolute Frequency of Quality Score Class E | QKLASSE_E | INT4 | 10 | QANZAHL4 | ||||
ZHLLOSQKZ | Number of Summarized Inspection Lots for Quality Score | QZHLLOSQKZ | INT4 | 10 | QANZAHL4 | ||||
SUMQKZ | Total of Quality Scores | QSUMQKZ | FLTP | 16(16) | QSTATWERT | ||||
SUM2QKZ | Square Total of Quality Score | QSUM2QKZ | FLTP | 16(16) | QSTATWERT | ||||
ZHLLOSANTL | Number of Summarized Lots (Including Share of Scrap) | QZHLLOSANT | INT4 | 10 | QANZAHL4 | ||||
SUMANTL | Total Share of Nonconforming Units | QSUMANTL | FLTP | 16(16) | QSTATWERT | ||||
SUM2ANTL | Square Total of the Share of Nonconforming Units | QSUM2ANTL | FLTP | 16(16) | QSTATWERT | ||||
ZHLLOSDR | Number of Summarized Inspection Lots (Lead Time) | QZHLLOSDR | INT4 | 10 | QANZAHL4 | ||||
SUMDLZT | Total Lead Time | QSUMDLZT | FLTP | 16(16) | QSTATWERT | ||||
SUM2DLZT | Square Total of Lead Time | QSUM2DLZT | FLTP | 16(16) | QSTATWERT | ||||
SMGSCHL | Cumulated Inspected and Defective Quantity | QSMGSCHL | QUAN | 17(3) | QKUMMENGE |
Key field | Non-key field |
How do I retrieve data from SAP table S069 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S069 to SELECT all data from the tableDATA: WA_S069 TYPE S069.
SELECT SINGLE *
FROM S069
INTO CORRESPONDING FIELDS OF WA_S069
WHERE...
How to access SAP table S069
Within an ECC or HANA version of SAP you can also view further information about S069 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