S173 SAP (Vendor billing document item) Table details
Dictionary Type: Table
Description: Vendor billing document item
Description: Vendor billing document item
Table field list including key, data, relationships and ABAP select examples
S173 is a standard SAP Table which is used to store Vendor billing document item data and is available within R/3 SAP systems depending on the version and release level.
The S173 table consists of various fields, each holding specific information or linking keys about Vendor billing document item 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 S173 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 | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
LNRZB | Agency business: Payee | W_LIFZE | CHAR | 10 | LFA1 | ALPHA | LIFNR | ||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MATKL | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
LTSNR | Vendor Subrange | LTSNR | CHAR | 6 | WYT1 | LTSNR | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
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 | |||
WFKME | Vendor billing document: unit of measure | WFKME | UNIT | 3 | T006 | CUNIT | MEINS | ||
GEWEI | Weight Unit | GEWEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
VOLEH | Volume unit | VOLEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
PUNEI | Points unit | PUNEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
BRTWR_P_LF | Key figure: Gross value of vendor billing document (item) | MC_BRTWPLF | CURR | 17(2) | WERTV9 | ||||
NETWR_P_LF | Key figure: net value of vendor billing document (item) | MC_NETWPLF | CURR | 17(2) | WERTV9 | ||||
MENGE_P_LF | Key figure: Vendor billing document quantity | MC_MENGELF | QUAN | 15(3) | MENGV15 | ||||
BRGEW_P_LF | Key figure: gross weight of vendor billing document | MC_BRGEWLF | QUAN | 15(3) | MENGV15_3 | ||||
NTGEW_P_LF | Key figure: Net weight of vendor billing document | MC_NTGEWLF | QUAN | 15(3) | MENGV15_3 | ||||
VOLUM_P_LF | Key figure: volume of vendor billing document | MC_VOLUMLF | QUAN | 15(3) | MENGV15_3 | ||||
ANZPU_P_LF | Key figure: Points, vendor billing document | MC_PUNKTLF | QUAN | 15(3) | MENGV15 | ||||
KZWI1_P_LF | Key figure: condition subtotal 1, vendor billing document | MC_KZWI1LF | CURR | 17(2) | WERTV9 | ||||
KZWI2_P_LF | Key figure: condition subtotal 2, vendor billing document | MC_KZWI2LF | CURR | 17(2) | WERTV9 | ||||
KZWI3_P_LF | Key figure: condition subtotal 3, vendor billing document | MC_KZWI3LF | CURR | 17(2) | WERTV9 | ||||
KZWI4_P_LF | Key figure: condition subtotal 4, vendor billing document | MC_KZWI4LF | CURR | 17(2) | WERTV9 | ||||
KZWI5_P_LF | Key figure: condition subtotal 5, vendor billing document | MC_KZWI5LF | CURR | 17(2) | WERTV9 | ||||
KZWI6_P_LF | Key figure: condition subtotal 6, vendor billing document | MC_KZWI6LF | CURR | 17(2) | WERTV9 | ||||
BONBA_P_LF | Key figure: Rebate basis (subtotal 7), vendor billing doc. | MC_BONBALF | CURR | 17(2) | WERTV9 | ||||
KZWIS_P_LF | Key figure: effective value of vendor billing document | MC_EFFEKLF | CURR | 17(2) | WERTV9 | ||||
AWBRP_LF | Key figure: No. of vendor billing document items | MC_AWBRPRL | DEC | 9 | MCZAEHLER |
Key field | Non-key field |
How do I retrieve data from SAP table S173 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S173 to SELECT all data from the tableDATA: WA_S173 TYPE S173.
SELECT SINGLE *
FROM S173
INTO CORRESPONDING FIELDS OF WA_S173
WHERE...
How to access SAP table S173
Within an ECC or HANA version of SAP you can also view further information about S173 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