S170 SAP (Payment document data) Table details
Dictionary Type: Table
Description: Payment document data
Description: Payment document data
Table field list including key, data, relationships and ABAP select examples
S170 is a standard SAP Table which is used to store Payment document data data and is available within R/3 SAP systems depending on the version and release level.
The S170 table consists of various fields, each holding specific information or linking keys about Payment document data 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 S170 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 | |||
EKORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
EKGRP | Purchasing Group | EKGRP | CHAR | 3 | T024 | EKGRP | EKG | ||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | TSPA | SPART | SPA | C_SPART | |
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
LNRZB | Agency business: Payee | W_LIFZE | CHAR | 10 | LFA1 | ALPHA | LIFNR | ||
KUNRG | Payer | KUNRG | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
LFTYP | Agency business: Billing category | WFTYP | CHAR | 2 | WFTYP | ||||
PERIV | Fiscal Year Variant | PERIV | CHAR | 2 | Assigned to domain | PERIV | |||
VWDAT | Pointer to administrative data | VWDAT | NUMC | 10 | VWDAT | ||||
WSTWAE | Agency Business: Statistics Currency | WSTWAE | CUKY | 5 | TCURC | WAERS | |||
BRTWR_RG | Key figure: Gross value of payment request (vendor) | MC_BRTWRRG | CURR | 17(2) | WERTV9 | ||||
NETWR_RG | Key figure: Net value of payment request to vendor | MC_NETWRRG | CURR | 17(2) | WERTV9 | ||||
BRTWR_RGRL | Key Fig.: Final Amt of Remuneration List, Payment: Customer | MC_BRTRGRL | CURR | 17(2) | WERTV9 | ||||
NETWR_RGRL | Key Figure: Net Value of Remuneration List, Payment: Vendor | MC_NETRGRL | CURR | 17(2) | WERTV9 | ||||
KZWI2_P_RG | Key Figure: Payment based on Remuneration List Conditions | MC_DELKRRG | CURR | 17(2) | WERTV9 | ||||
KWERT_RGRL | Key figure: Value of Remuneration List Conditions, Payment | MC_KWERTRG | CURR | 17(2) | WERTV9 | ||||
MWSRL_RGRL | Key figure: Tax invoice list cond. (del credere), payment | MC_MWSRLRG | CURR | 17(2) | WERTV9 | ||||
MWSBP_RGRL | Key Figure: Tax Amount Remuneration List, Payment | MC_MWSBPRG | CURR | 17(2) | WERTV9 | ||||
KZWI1_P_RG | Key figure: condition subtotal 1, payment: vendor | MC_KZWI1RG | CURR | 17(2) | WERTV9 | ||||
KZWI3_P_RG | Key figure: condition subtotal 3, payment | MC_KZWI3RG | CURR | 17(2) | WERTV9 | ||||
KZWI4_P_RG | Key figure: condition subtotal 4, payment | MC_KZWI4RG | CURR | 17(2) | WERTV9 | ||||
KZWI5_P_RG | Key figure: condition subtotal 5, payment | MC_KZWI5RG | CURR | 17(2) | WERTV9 | ||||
KZWI6_P_RG | Key figure: Condition subtotal 6, payment | MC_KZWI6RG | CURR | 17(2) | WERTV9 | ||||
BONBA_P_RG | Key fig: Rebate basis (condition subtotal 7), payt: vendor | MC_BONBARG | CURR | 17(2) | WERTV9 | ||||
KZWIS_P_RG | Key figure: Effective value of payment (vendor) | MC_EFFEKRG | CURR | 17(2) | WERTV9 | ||||
AWBRK_RG | Key figure: Number of payment requests | MC_AWBRKRG | DEC | 9 | MCZAEHLER | ||||
AWBRP_RG | Key figure: Number of payment request items | MC_AWBRPRG | DEC | 9 | MCZAEHLER | ||||
AWBRK_RLRG | Key Figure: Number of Remuneration Lists (Payment) | MC_ARLRKRG | DEC | 9 | MCZAEHLER | ||||
AWBRL_RLRG | Key Figure: No. of Documents in Remuneration Lists (Payment) | MC_ARLRPRG | DEC | 9 | MCZAEHLER |
Key field | Non-key field |
How do I retrieve data from SAP table S170 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S170 to SELECT all data from the tableDATA: WA_S170 TYPE S170.
SELECT SINGLE *
FROM S170
INTO CORRESPONDING FIELDS OF WA_S170
WHERE...
How to access SAP table S170
Within an ECC or HANA version of SAP you can also view further information about S170 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