S128 SAP (Open Variants - SIS) Table details

Dictionary Type: Table
Description: Open Variants - SIS




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




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

S128 is a standard SAP Table which is used to store Open Variants - SIS data and is available within R/3 SAP systems depending on the version and release level.

The S128 table consists of various fields, each holding specific information or linking keys about Open Variants - SIS 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 S128 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
KLARTClass Type KLASSENARTCHAR3TCLAKLASSENARTKAR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
ATINNInternal characteristic ATINNNUMC10Assigned to domainATINNATINN
ATWRTCharacteristic Value ATWRTCHAR30ATWRT
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVKOVVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TVTASPARTSPAC_SPART
KUNNRSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
PERIVFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
VWDATPointer to administrative data VWDATNUMC10VWDAT
BASMEBase Unit of Measure MEINSUNIT3T006CUNITMEINS
STWAEStatistics currency STWAECUKY5TCURCWAERS
AEMENGEIncoming orders quantity MC_AEMENGEQUAN15(3) MENGV15_3
AEFREQIncoming orders: frequency MC_AEFREQDEC15(3) DECV15_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
AEFREQBIncoming orders: frequency acc. to conf. date of sched. line MC_AEFREQBDEC15(3) DECV15_3
OEIMEBOpen order qty. based on confirmation date of sched. line OEIMEBQUAN15(3) MENGV15_3
OEFREQBOpen incoming orders: freq acc. to conf. date of sched. line MC_OEFREQBDEC15(3) DECV15_3
OEIMEWOpen order qty. based on desired del. date of sched. line OEIMEWQUAN15(3) MENGV15_3
OEFREQWOpen incoming orders: freq acc. to desired dlv. date of SL MC_OEFREQWDEC15(3) DECV15_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
LGFREQDelivery frequency in base unit of measure MC_LGFREQDEC15(3) DECV15_3
UMNETWRNet value of invoiced sales MC_UMNETWRCURR19(2) WERTV10

Key field Non-key field



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

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

SELECT SINGLE *
FROM S128
INTO CORRESPONDING FIELDS OF WA_S128
WHERE...

How to access SAP table S128

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