S173 SAP (Vendor billing document item) Table details

Dictionary Type: Table
Description: Vendor billing document item




ABAP Code to SELECT data from S173
Related tables to S173
Access table S173




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
MANDTClient MANDTCLNT3T000MANDT
SSOURStatistic(s) origin SSOURCHAR4SSOUR
VRSIOVersion number in the information structure VRSIOCHAR3Assigned to domainVRSIOMCV
SPMONPeriod to analyze - month SPMONNUMC6PERIMCPERIOD
SPTAGPeriod to analyze - current date SPTAGDATS8DATUM
SPWOCPeriod to analyze - week SPWOCNUMC6PERIMCPERIOD
SPBUPPeriod to analyze - posting period SPBUPNUMC6PERIMCPERIOD
EKORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
EKGRPPurchasing Group EKGRPCHAR3T024EKGRPEKG
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
LNRZBAgency business: Payee W_LIFZECHAR10LFA1ALPHALIFNR
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
LTSNRVendor Subrange LTSNRCHAR6WYT1LTSNR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
LFTYPAgency business: Billing category WFTYPCHAR2WFTYP
PERIVFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
VWDATPointer to administrative data VWDATNUMC10VWDAT
WSTWAEAgency Business: Statistics Currency WSTWAECUKY5TCURCWAERS
WFKMEVendor billing document: unit of measure WFKMEUNIT3T006CUNITMEINS
GEWEIWeight Unit GEWEIUNIT3T006CUNITMEINS
VOLEHVolume unit VOLEHUNIT3T006CUNITMEINS
PUNEIPoints unit PUNEIUNIT3T006CUNITMEINS
BRTWR_P_LFKey figure: Gross value of vendor billing document (item) MC_BRTWPLFCURR17(2) WERTV9
NETWR_P_LFKey figure: net value of vendor billing document (item) MC_NETWPLFCURR17(2) WERTV9
MENGE_P_LFKey figure: Vendor billing document quantity MC_MENGELFQUAN15(3) MENGV15
BRGEW_P_LFKey figure: gross weight of vendor billing document MC_BRGEWLFQUAN15(3) MENGV15_3
NTGEW_P_LFKey figure: Net weight of vendor billing document MC_NTGEWLFQUAN15(3) MENGV15_3
VOLUM_P_LFKey figure: volume of vendor billing document MC_VOLUMLFQUAN15(3) MENGV15_3
ANZPU_P_LFKey figure: Points, vendor billing document MC_PUNKTLFQUAN15(3) MENGV15
KZWI1_P_LFKey figure: condition subtotal 1, vendor billing document MC_KZWI1LFCURR17(2) WERTV9
KZWI2_P_LFKey figure: condition subtotal 2, vendor billing document MC_KZWI2LFCURR17(2) WERTV9
KZWI3_P_LFKey figure: condition subtotal 3, vendor billing document MC_KZWI3LFCURR17(2) WERTV9
KZWI4_P_LFKey figure: condition subtotal 4, vendor billing document MC_KZWI4LFCURR17(2) WERTV9
KZWI5_P_LFKey figure: condition subtotal 5, vendor billing document MC_KZWI5LFCURR17(2) WERTV9
KZWI6_P_LFKey figure: condition subtotal 6, vendor billing document MC_KZWI6LFCURR17(2) WERTV9
BONBA_P_LFKey figure: Rebate basis (subtotal 7), vendor billing doc. MC_BONBALFCURR17(2) WERTV9
KZWIS_P_LFKey figure: effective value of vendor billing document MC_EFFEKLFCURR17(2) WERTV9
AWBRP_LFKey figure: No. of vendor billing document items MC_AWBRPRLDEC9MCZAEHLER

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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!