S117 SAP (Receipt/article) Table details
Dictionary Type: Table
Description: Receipt/article
Description: Receipt/article
Table field list including key, data, relationships and ABAP select examples
S117 is a standard SAP Table which is used to store Receipt/article data and is available within R/3 SAP systems depending on the version and release level.
The S117 table consists of various fields, each holding specific information or linking keys about Receipt/article data available in SAP. These include SPTAG (Period to analyze - current date), BONNR (Transaction number (till receipt)), WERKS (Plant), MATKL (Material Group).. 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 S117 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 | |||
SPTAG | Period to analyze - current date | SPTAG | DATS | 8 | DATUM | ||||
BONNR | Transaction number (till receipt) | W_BONNR | NUMC | 15 | W_BONNR | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MATKL | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
AFLAG | Promotion indicator | MCW_AFLAG | NUMC | 1 | MCW_AFLAG | ||||
KALWOC | Calendar week | MCW_KALWOC | NUMC | 2 | NUM02 | ||||
WOCHTG | Weekday | MCW_WOCHTG | NUMC | 1 | DAYS17 | ||||
TGZTKL | Time of day class | MCW_TGZTKL | CHAR | 4 | TMCWW | MCW_TGZTKL | |||
VKSTD | Hour of sale | W_VKSTD | NUMC | 2 | W_VKSTD | ||||
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 | |||
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 | ||
VRKME | Sales unit | VRKME | UNIT | 3 | T006 | CUNIT | MEINS | ||
WAERK | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS | ||
ATTYP | Material Category | ATTYP | CHAR | 2 | ATTYP | MTY | |||
MTART | Material Type | MTART | CHAR | 4 | T134 | MTART | MTA | ||
PLGTP | Price Band Category | PLGTP | CHAR | 2 | TWPT | PLGTP | |||
SAISO | Season Category | SAISO | CHAR | 4 | T6WSP | SAISO | SAISO | ||
SAISJ | Season Year | SAISJ | CHAR | 4 | GJAHR | CJAHR | WMSAISJ | ||
SATNR | Cross-Plant Configurable Material | SATNR | CHAR | 18 | MARA | MATN1 | MATNR | ||
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
AKTNR | COUPON | WAKTION | CHAR | 10 | WAKH | ALPHA | WAKTION | WAK | |
AKTYP | Promotion Category | W_AKTYP | CHAR | 4 | TWTY | AKTTY | |||
AKTHE | Promotion theme | W_AKTHE | CHAR | 4 | TWAT | THEMA | |||
WMINR | Product catalog number | WMINR | CHAR | 10 | WWMI | WMINR | WMI | WPC1 | |
KUNDK | Customer ID | W_KUNDK | CHAR | 1 | W_KUNDK | ||||
KUNNR | Customer number | KUND1 | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
CCNUM | Payment cards: Card number | CCNUM | CHAR | 25 | Assigned to domain | CCNUM | |||
UMSMNG | Transaction sales - quantity in base unit of measure | W_UMSMNG | QUAN | 15(3) | MENGV15_3 | ||||
VKMNG | Transaction sales - quantity in sales unit | W_VKMNG | QUAN | 15(3) | MENGV15_3 | ||||
UMSATZ | Sales POS | MCW_UMSATZ | CURR | 19(2) | WERTV10 | ||||
PRSNLS | Price reduction from sales as per receipts/aggregated sales | W_PRSNLS | CURR | 19(2) | WERTV10 | ||||
ANZPOS | Number of transaction items (till receipts) | MCW_ANZPOS | INT4 | 10 | MCZAEHLINT | ||||
ANZAAR | Number of promotion items | MCW_ANZAAR | INT4 | 10 | MCZAEHLINT | ||||
KMONAT | Calendar month | MCW_MONAT | NUMC | 2 | AM_MONAT | ||||
QUARTAL | Quarter | MCW_QUARTL | NUMC | 1 | NUM01 | ||||
JAHR | Year | MCJAHR | NUMC | 4 | GJAHR | GJAHR | |||
UHZEIT | Time sale was entered | MCW_UHZEIT | TIMS | 6 | UZEIT |
Key field | Non-key field |
How do I retrieve data from SAP table S117 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S117 to SELECT all data from the tableDATA: WA_S117 TYPE S117.
SELECT SINGLE *
FROM S117
INTO CORRESPONDING FIELDS OF WA_S117
WHERE...
How to access SAP table S117
Within an ECC or HANA version of SAP you can also view further information about S117 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