S087 SAP (Material/add-on) Table details
Dictionary Type: Table
Description: Material/add-on
Description: Material/add-on
Table field list including key, data, relationships and ABAP select examples
S087 is a standard SAP Table which is used to store Material/add-on data and is available within R/3 SAP systems depending on the version and release level.
The S087 table consists of various fields, each holding specific information or linking keys about Material/add-on 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 S087 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 | |||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
BTRKZ | Plant category | VLFKZ | CHAR | 1 | VLFKZ | ||||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
MATKL | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
PERIV | Fiscal Year Variant | PERIV | CHAR | 2 | Assigned to domain | PERIV | |||
VWDAT | Pointer to administrative data | VWDAT | NUMC | 10 | VWDAT | ||||
BASME | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
HWAER | Local Currency | HWAER | CUKY | 5 | TCURC | WAERS | |||
RTEMNG | Returns to vendor quantity in base unit of measure | MCW_RTEMNG | QUAN | 15(3) | MENGV15_3 | ||||
RTEGEO | Returns to vendor at cost | MCW_RTEGEO | CURR | 19(2) | WERTV10 | ||||
RTEGVO | Returns to vendor at retail | MCW_RTEGVO | CURR | 19(2) | WERTV10 | ||||
RTEGVP | Returns to vendor at retail with tax | MCW_RTEGVP | CURR | 19(2) | WERTV10 | ||||
RTEANZ | Returns to vendor, no. of transactions | MCW_RTEANZ | INT4 | 10 | MCZAEHLINT | ||||
ULEMNG | Goods clearing: receipts quantity in BUn | MCW_ULEMNG | QUAN | 15(3) | MENGV15_3 | ||||
ULEGEO | Goods clearing: receipts at cost | MCW_ULEGEO | CURR | 19(2) | WERTV10 | ||||
ULEGVO | Goods clearing: receipts at retail | MCW_ULEGVO | CURR | 19(2) | WERTV10 | ||||
ULEGVP | Goods clearing: receipts at retail with tax | MCW_ULEGVP | CURR | 19(2) | WERTV10 | ||||
ULEANZ | Goods clearing: receipts, no. of transactions | MCW_ULEANZ | INT4 | 10 | MCZAEHLINT | ||||
ULAMNG | Goods clearing: issues quantity in BUn | MCW_ULAMNG | QUAN | 15(3) | MENGV15_3 | ||||
ULAGEO | Goods clearing: issues at cost | MCW_ULAGEO | CURR | 19(2) | WERTV10 | ||||
ULAGVO | Goods clearing: issues at retail | MCW_ULAGVO | CURR | 19(2) | WERTV10 | ||||
ULAGVP | Goods clearing: issues at retail with tax | MCW_ULAGVP | CURR | 19(2) | WERTV10 | ||||
ULAANZ | Goods clearing: issues, no. of transactions | MCW_ULAANZ | INT4 | 10 | MCZAEHLINT | ||||
AUEMNG | Material transfer: receipts quantity BUn | MCW_AUEMNG | QUAN | 15(3) | MENGV15_3 | ||||
AUEGEO | Material transfer: receipts at cost | MCW_AUEGEO | CURR | 19(2) | WERTV10 | ||||
AUEGVO | Material transfer: receipts at retail | MCW_AUEGVO | CURR | 19(2) | WERTV10 | ||||
AUEGVP | Material transfer: receipts at retail with tax | MCW_AUEGVP | CURR | 19(2) | WERTV10 | ||||
AUEANZ | Material transfer: receipts, no. transactions | MCW_AUEANZ | INT4 | 10 | MCZAEHLINT | ||||
AUAMNG | Material transfer: issues quantity BUn | MCW_AUAMNG | QUAN | 15(3) | MENGV15_3 | ||||
AUAGEO | Material transfer: issues at cost | MCW_AUAGEO | CURR | 19(2) | WERTV10 | ||||
AUAGVO | Material transfer: issues at retail | MCW_AUAGVO | CURR | 19(2) | WERTV10 | ||||
AUAGVP | Material transfer: issues at retail with tax | MCW_AUAGVP | CURR | 19(2) | WERTV10 | ||||
AUAANZ | Material transfer: issues, no. of transactions | MCW_AUAANZ | INT4 | 10 | MCZAEHLINT | ||||
BKIPMG | Stock adjustment inventory difference plus (quantity) | MCW_BKIPMG | QUAN | 15(3) | MENGV15_3 | ||||
BKIPEO | Stock adjustment inventory difference plus (cost) | MCW_BKIPEO | CURR | 19(2) | WERTV10 | ||||
BKIPVO | Stock adjustment inventory difference plus (retail) | MCW_BKIPVO | CURR | 19(2) | WERTV10 | ||||
BKIPVP | Stock adjustment inventory difference plus (at retail w/tax) | MCW_BKIPVP | CURR | 19(2) | WERTV10 | ||||
BKIPAZ | Stock adjustment inv. difference plus (no. of transactions) | MCW_BKIPAZ | INT4 | 10 | MCZAEHLINT | ||||
BKIMMG | Stock adjustment inventory difference minus (quantity) | MCW_BKIMMG | QUAN | 15(3) | MENGV15_3 | ||||
BKIMEO | Stock adjustment inventory difference minus (cost) | MCW_BKIMEO | CURR | 19(2) | WERTV10 | ||||
BKIMVO | Stock adjustment inventory difference minus (retail) | MCW_BKIMVO | CURR | 19(2) | WERTV10 | ||||
BKIMVP | Stock adjustment inventory difference minus (retail w/tax) | MCW_BKIMVP | CURR | 19(2) | WERTV10 | ||||
BKIMAZ | Stock adjustment inv. difference minus (no. of transactions) | MCW_BKIMAZ | INT4 | 10 | MCZAEHLINT | ||||
BKSPMG | Stock adjustment miscellaneous plus (quantity) | MCW_BKSPMG | QUAN | 15(3) | MENGV15_3 | ||||
BKSPEO | Stock adjustment miscellaneous plus (cost) | MCW_BKSPEO | CURR | 19(2) | WERTV10 | ||||
BKSPVO | Stock adjustment miscellaneous plus (retail) | MCW_BKSPVO | CURR | 19(2) | WERTV10 | ||||
BKSPVP | Stock adjustment miscellaneous plus (retail with tax) | MCW_BKSPVP | CURR | 19(2) | WERTV10 | ||||
BKSPAZ | Stock adjustment miscellaneous plus (no. of transactions) | MCW_BKSPAZ | INT4 | 10 | MCZAEHLINT | ||||
BKSMMG | Stock adjustment miscellaneous minus (quantity) | MCW_BKSMMG | QUAN | 15(3) | MENGV15_3 | ||||
BKSMEO | Stock adjustment miscellaneous minus (cost) | MCW_BKSMEO | CURR | 19(2) | WERTV10 | ||||
BKSMVO | Stock adjustment miscellaneous minus (retail) | MCW_BKSMVO | CURR | 19(2) | WERTV10 | ||||
BKSMVP | Stock adjustment miscellaneous minus (retail with tax) | MCW_BKSMVP | CURR | 19(2) | WERTV10 | ||||
BKSMAZ | Stock adjustment miscellaneous minus (no. of transactions) | MCW_BKSMAZ | INT4 | 10 | MCZAEHLINT | ||||
UBPEPM | Revaluation at cost, plus, quantity | MCW_UBPEPM | QUAN | 15(3) | MENGV15_3 | ||||
UBPGEO | Revaluation at cost, plus | MCW_UBPGEO | CURR | 19(2) | WERTV10 | ||||
UBPEAZ | Revaluation at cost plus, no. of transactions | MCW_UBPEAZ | INT4 | 10 | MCZAEHLINT | ||||
UBMEPM | Revaluation at cost minus, quantity | MCW_UBMEPM | QUAN | 15(3) | MENGV15_3 | ||||
UBMGEO | Revaluation at cost, minus | MCW_UBMGEO | CURR | 19(2) | WERTV10 | ||||
UBMEAZ | Revaluation at cost minus, no. of transactions | MCW_UBMEAZ | INT4 | 10 | MCZAEHLINT |
Key field | Non-key field |
How do I retrieve data from SAP table S087 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S087 to SELECT all data from the tableDATA: WA_S087 TYPE S087.
SELECT SINGLE *
FROM S087
INTO CORRESPONDING FIELDS OF WA_S087
WHERE...
How to access SAP table S087
Within an ECC or HANA version of SAP you can also view further information about S087 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