S137 SAP (Variants: Basis 2) Table details

Dictionary Type: Table
Description: Variants: Basis 2




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




Table field list including key, data, relationships and ABAP select examples

S137 is a standard SAP Table which is used to store Variants: Basis 2 data and is available within R/3 SAP systems depending on the version and release level.

The S137 table consists of various fields, each holding specific information or linking keys about Variants: Basis 2 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 S137 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
VBELNSales Document VBELN_VACHAR10VBUKALPHAVBELNAUN
POSNRSales Document Item POSNR_VANUMC6VBUPPOSNRAPO
CUOBJConfiguration CUOBJ_VANUMC18CUOBJ
CLINTCharacteristics combination CHKEYGRPNUMC10VTINT
LNPOSCombination value key CHCOMBKEYNUMC5NUM05
PERIVFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
VWDATPointer to administrative data VWDATNUMC10VWDAT
BASMEBase Unit of Measure MEINSUNIT3T006CUNITMEINS
STWAEStatistics currency STWAECUKY5TCURCWAERS
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVKOVVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
KUNNRSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
AEMENGEIncoming orders quantity MC_AEMENGEQUAN15(3) MENGV15_3
AENETWRNet value of incoming orders MC_AENETWRCURR19(2) WERTV10
AEKZWI1Incoming orders: gross MC_AEKZWI1CURR17(2) WERTV9
AEKZWI2Incoming orders: net 1 MC_AEKZWI2CURR17(2) WERTV9
AEKZWI3Incoming orders: net 2 MC_AEKZWI3CURR17(2) WERTV9
AEKZWI4Incoming orders: freight MC_AEKZWI4CURR17(2) WERTV9
AEKZWI5Incoming orders: pricing subtotal 5 MC_AEKZWI5CURR17(2) WERTV9
AEKZWI6Incoming orders: pricing subtotal 6 MC_AEKZWI6CURR17(2) WERTV9
AEMENGBQty. incoming orders based on confirm. date of sched. line AEMENGBQUAN15(3) MENGV15_3
OEIMEBOpen order qty. based on confirmation date of sched. line OEIMEBQUAN15(3) MENGV15_3
OEIMEWOpen order qty. based on desired del. date of sched. line OEIMEWQUAN15(3) MENGV15_3
OEIWEBOpen order value based on confirmation date of sched. line OEIWEBCURR19(2) WERTV10
OEIWEWOpen order value based on desired del. date of sched. line OEIWEWCURR19(2) WERTV10
LGMNGDelivery quantity in base unit of measure MC_LGMNGQUAN15(3) MENGV15_3
UMNETWRNet value of invoiced sales MC_UMNETWRCURR19(2) WERTV10

Key field Non-key field



How do I retrieve data from SAP table S137 using ABAP code

The following ABAP code Example will allow you to do a basic selection on S137 to SELECT all data from the table
DATA: WA_S137 TYPE S137.

SELECT SINGLE *
FROM S137
INTO CORRESPONDING FIELDS OF WA_S137
WHERE...

How to access SAP table S137

Within an ECC or HANA version of SAP you can also view further information about S137 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!