S078 SAP (STRPS: Stock) Table details
Dictionary Type: Table
Description: STRPS: Stock
Description: STRPS: Stock
Table field list including key, data, relationships and ABAP select examples
S078 is a standard SAP Table which is used to store STRPS: Stock data and is available within R/3 SAP systems depending on the version and release level.
The S078 table consists of various fields, each holding specific information or linking keys about STRPS: Stock data available in SAP. These include EKORG (Purchasing Organization), VKORG (Sales Organization), VTWEG (Distribution Channel), BZIRK (Sales district).. 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 S078 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 | |||
EKORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
BZIRK | Sales district | BZIRK | CHAR | 6 | T171 | BZIRK | BZI | ||
BTRKZ | Plant category | VLFKZ | CHAR | 1 | VLFKZ | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
WGRU2 | Material group hierarchy 2 | MCW_WGRU2 | CHAR | 18 | KLASSE | WGRU2 | |||
WGRU1 | Material group hierarchy 1 | MCW_WGRU1 | CHAR | 18 | KLASSE | WGRU1 | |||
MATKL | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
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 | |||
SSOUR | Statistic(s) origin | SSOUR | CHAR | 4 | SSOUR | ||||
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 | |||
BSTMNG | Stock quantity in base unit of measure | MCW_BSTMNG | QUAN | 15(3) | MENGV15_3 | ||||
BSTGEO | Stock at cost | MCW_BSTGEO | CURR | 19(2) | WERTV10 | ||||
BSTGVO | Stock at retail | MCW_BSTGVO | CURR | 19(2) | WERTV10 | ||||
BSTGVP | Stock at retail with tax | MCW_BSTGVP | CURR | 19(2) | WERTV10 |
Key field | Non-key field |
How do I retrieve data from SAP table S078 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S078 to SELECT all data from the tableDATA: WA_S078 TYPE S078.
SELECT SINGLE *
FROM S078
INTO CORRESPONDING FIELDS OF WA_S078
WHERE...
How to access SAP table S078
Within an ECC or HANA version of SAP you can also view further information about S078 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