S120 SAP (Sales as per receipts) Table details
Dictionary Type: Table
Description: Sales as per receipts
Description: Sales as per receipts
Table field list including key, data, relationships and ABAP select examples
S120 is a standard SAP Table which is used to store Sales as per receipts data and is available within R/3 SAP systems depending on the version and release level.
The S120 table consists of various fields, each holding specific information or linking keys about Sales as per receipts data available in SAP. These include SPTAG (Period to analyze - current date), WERKS (Plant), KSKRS (POS controller), KASNR (POS number).. 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 S120 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 | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
KSKRS | POS controller | W_KSKRS | NUMC | 5 | W_KSKRS | ||||
KASNR | POS number | W_KASNR | NUMC | 10 | KASNR | ||||
BONNR | Transaction number (till receipt) | W_BONNR | NUMC | 15 | W_BONNR | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
EANNR | International Article Number (EAN/UPC) | EAN11 | CHAR | 18 | EAN11 | EAN11 | EAN | ||
KSCHL | Condition type, sales | V_KSCHA | CHAR | 4 | T685 | KSCHL | VKS | ||
KVORG | Transact. type | POSUVORG | CHAR | 4 | TWPPB | POSUVORG | |||
CONDNR | Consecutive condition number | MCW_CONDNR | NUMC | 6 | NUMC6 | ||||
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 | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | T006 | CUNIT | MEINS | ||
BASME | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
WAERK | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS | ||
VKMNG | Transaction sales - quantity in sales unit | W_VKMNG | QUAN | 15(3) | MENGV15_3 | ||||
UMSMNG | Transaction sales - quantity in base unit of measure | W_UMSMNG | QUAN | 15(3) | MENGV15_3 | ||||
UMSGVP | Retail price w/tax from sales as per receipts/aggreg.sales | W_UMSVPM | CURR | 19(2) | WERTV10 | ||||
UMSGVO | Rtl price from sales as per receipts/aggreg.sales | W_UMSVPO | CURR | 19(2) | WERTV10 | ||||
UMSGEO_01 | Sales transactions (till receipts) at cost | W_UMSEP | CURR | 19(2) | WERTV10 | ||||
PRSNLS | Price reduction from sales as per receipts/aggregated sales | W_PRSNLS | CURR | 19(2) | WERTV10 | ||||
PDIFF | Trnsctn price diff. between R/3 -> and sales price at POS | W_PDIFF | CURR | 19(2) | WERTV10 | ||||
AZBON | Number of transactions from sales as per till receipts | W_AZBON | DEC | 11 | BCSP6 | ||||
BONPOS | No. of material items per transaction (till receipt) | W_BONPOS | DEC | 12(3) | DEC9_3 | ||||
AKTNR | COUPON | WAKTION | CHAR | 10 | WAKH | ALPHA | WAKTION | WAK | |
MATKL | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
VKSTD | Hour of sale | W_VKSTD | NUMC | 2 | W_VKSTD | ||||
ZMTTL | Payment method as condition | W_ZAHLART | CHAR | 4 | T685 | KSCHL | |||
KUNNR | Customer number | KUND1 | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
KTONR | Bank account number | BANKN | CHAR | 18 | BANKN | ||||
BNKLZ | Bank Keys | BANKK | CHAR | 15 | BANKK | BNK | |||
CCINS | Payment cards: Card type | CCINS | CHAR | 4 | TVCIN | CCINS | |||
CCNUM | Payment cards: Card number | CCNUM | CHAR | 25 | VCNUM | CCNUM | |||
KRFNR | Card Sequence Number | POSKARFNR | CHAR | 15 | CHAR15 | ||||
BZIRK | Sales district | W_BEZIRK | CHAR | 6 | T171 | BZIRK | |||
EZEIT | Entry time | ERZET | TIMS | 6 | UZEIT | ||||
KASNAM | Cashier name | W_KASNAM | CHAR | 35 | CHAR35 | ||||
KKENN | Condition type identification | W_KKENN | CHAR | 1 | W_KKENN | ||||
ZMUMS | Means of payment sales from sales as per receipts/aggr.sales | W_ZMUMS | CURR | 19(2) | WERTV10 | ||||
SERNR | BOM Explosion Number | W_SERNR | CHAR | 25 | CHAR25 | ||||
KUNDK | Customer ID | W_KUNDK | CHAR | 1 | W_KUNDK | ||||
ANZCOND | Number of conditions from sales as per receipt/aggregated | W_ANZCOND | DEC | 11 | BCSP6 | ||||
VKGRP | Sales Group | VKGRP | CHAR | 3 | TVKGR | VKGRP | VKG | ||
VKFNR | Salesperson number | W_VKFNR | NUMC | 8 | PERNR | ||||
PRVBT | Commission amount, sales | W_PRVBT | CURR | 19(2) | WERTV10 | ||||
UMART | Sales type (sales/returns/empties) | W_UMART | CHAR | 1 | CHAR1 | ||||
DUMMY1 | Dummy element 1 POS (10 characters) | W_DUMMY1 | CHAR | 6 | CHAR6 | ||||
DUMMY2 | Dummy element 2 POS (10 characters) | W_DUMMY2 | CHAR | 4 | CHAR4 | ||||
DUMMY3 | Dummy element 3 POS (10 characters) | W_DUMMY3 | CHAR | 4 | CHAR4 | ||||
DUMMY4 | Dummy element 4 POS (10 characters) | W_DUMMY4 | CHAR | 10 | CHAR10 | ||||
DUMMY5 | Dummy element 5 POS (10 characters) | W_DUMMY5 | CHAR | 10 | CHAR10 | ||||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
KBDNR | Cashier number | W_KBDNR | NUMC | 8 | PERNR | ||||
CONDID | Condition Type Identification | W_CONDID | CHAR | 20 | CHAR20 | ||||
PAYDIR | Direction of payment type (outbound/inbound) | W_PAYDIR | CHAR | 1 | W_PAYDIR | ||||
UMSGVC | Retail price from sales without manufacturer's coupons | W_UMSVPC | CURR | 19(2) | WERTV10 | ||||
BBYNR | Bonus buy | BBYNR | CHAR | 12 | KONBBYH | BBYNR | BBY | KONBBYH_H |
Key field | Non-key field |
How do I retrieve data from SAP table S120 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S120 to SELECT all data from the tableDATA: WA_S120 TYPE S120.
SELECT SINGLE *
FROM S120
INTO CORRESPONDING FIELDS OF WA_S120
WHERE...
How to access SAP table S120
Within an ECC or HANA version of SAP you can also view further information about S120 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