S119 SAP (Transaction Number (Till Receipt)) Table details
Dictionary Type: Table
Description: Transaction Number (Till Receipt)
Description: Transaction Number (Till Receipt)
Table field list including key, data, relationships and ABAP select examples
S119 is a standard SAP Table which is used to store Transaction Number (Till Receipt) data and is available within R/3 SAP systems depending on the version and release level.
The S119 table consists of various fields, each holding specific information or linking keys about Transaction Number (Till Receipt) data available in SAP. These include SPTAG (Period to analyze - current date), BONNR (Transaction number (till receipt)), WERKS (Plant), AFLAG (Promotion indicator).. 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 S119 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 | |
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 | ||
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 | ||||
WERTUM | Sales value POS (exact value) | MCW_WERTUM | CURR | 19(2) | WERTV10 | ||||
ANZBON | Number of transactions (till receipts) | MCW_ANZBON | INT4 | 10 | MCZAEHLINT | ||||
ANZPOS | Number of transaction items (till receipts) | MCW_ANZPOS | INT4 | 10 | MCZAEHLINT | ||||
ANZWGR | Number of material groups in transaction (till receipt) | MCW_ANZWGR | INT4 | 10 | MCZAEHLINT | ||||
PRSNLS | Price reduction from sales as per receipts/aggregated sales | W_PRSNLS | CURR | 19(2) | WERTV10 | ||||
ANZAAR | Number of promotion items | MCW_ANZAAR | INT4 | 10 | MCZAEHLINT | ||||
ANZBKK | Number of known customers | MCW_ANZBKK | INT4 | 10 | MCZAEHLINT | ||||
ANZAKM | Number of anonymous customers (with payment card) | MCW_ANZAKM | INT4 | 10 | MCZAEHLINT | ||||
ANZAKO | Number of anonymous customers | MCW_ANZAKO | INT4 | 10 | MCZAEHLINT | ||||
UHZEIT | Time sale was entered | MCW_UHZEIT | TIMS | 6 | UZEIT | ||||
KMONAT | Calendar month | MCW_MONAT | NUMC | 2 | AM_MONAT | ||||
QUARTAL | Quarter | MCW_QUARTL | NUMC | 1 | NUM01 | ||||
JAHR | Year | MCJAHR | NUMC | 4 | GJAHR | GJAHR |
Key field | Non-key field |
How do I retrieve data from SAP table S119 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S119 to SELECT all data from the tableDATA: WA_S119 TYPE S119.
SELECT SINGLE *
FROM S119
INTO CORRESPONDING FIELDS OF WA_S119
WHERE...
How to access SAP table S119
Within an ECC or HANA version of SAP you can also view further information about S119 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