S117 SAP (Receipt/article) Table details

Dictionary Type: Table
Description: Receipt/article




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




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

S117 is a standard SAP Table which is used to store Receipt/article data and is available within R/3 SAP systems depending on the version and release level.

The S117 table consists of various fields, each holding specific information or linking keys about Receipt/article data available in SAP. These include SPTAG (Period to analyze - current date), BONNR (Transaction number (till receipt)), WERKS (Plant), MATKL (Material Group).. 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 S117 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
SPTAGPeriod to analyze - current date SPTAGDATS8DATUM
BONNRTransaction number (till receipt) W_BONNRNUMC15W_BONNR
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
AFLAGPromotion indicator MCW_AFLAGNUMC1MCW_AFLAG
KALWOCCalendar week MCW_KALWOCNUMC2NUM02
WOCHTGWeekday MCW_WOCHTGNUMC1DAYS17
TGZTKLTime of day class MCW_TGZTKLCHAR4TMCWWMCW_TGZTKL
VKSTDHour of sale W_VKSTDNUMC2W_VKSTD
VRSIOVersion number in the information structure VRSIOCHAR3Assigned to domainVRSIOMCV
SPMONPeriod to analyze - month SPMONNUMC6PERIMCPERIOD
SPWOCPeriod to analyze - week SPWOCNUMC6PERIMCPERIOD
SPBUPPeriod to analyze - posting period SPBUPNUMC6PERIMCPERIOD
SSOURStatistic(s) origin SSOURCHAR4SSOUR
PERIVFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
VWDATPointer to administrative data VWDATNUMC10VWDAT
BASMEBase Unit of Measure MEINSUNIT3T006CUNITMEINS
VRKMESales unit VRKMEUNIT3T006CUNITMEINS
WAERKSD Document Currency WAERKCUKY5TCURCWAERSFWS
ATTYPMaterial Category ATTYPCHAR2ATTYPMTY
MTARTMaterial Type MTARTCHAR4T134MTARTMTA
PLGTPPrice Band Category PLGTPCHAR2TWPTPLGTP
SAISOSeason Category SAISOCHAR4T6WSPSAISOSAISO
SAISJSeason Year SAISJCHAR4GJAHRCJAHRWMSAISJ
SATNRCross-Plant Configurable Material SATNRCHAR18MARAMATN1MATNR
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40
AKTNRCOUPON WAKTIONCHAR10WAKHALPHAWAKTIONWAK
AKTYPPromotion Category W_AKTYPCHAR4TWTYAKTTY
AKTHEPromotion theme W_AKTHECHAR4TWATTHEMA
WMINRProduct catalog number WMINRCHAR10WWMIWMINRWMIWPC1
KUNDKCustomer ID W_KUNDKCHAR1W_KUNDK
KUNNRCustomer number KUND1CHAR10KNA1ALPHAKUNNR
CCNUMPayment cards: Card number CCNUMCHAR25Assigned to domainCCNUM
UMSMNGTransaction sales - quantity in base unit of measure W_UMSMNGQUAN15(3) MENGV15_3
VKMNGTransaction sales - quantity in sales unit W_VKMNGQUAN15(3) MENGV15_3
UMSATZSales POS MCW_UMSATZCURR19(2) WERTV10
PRSNLSPrice reduction from sales as per receipts/aggregated sales W_PRSNLSCURR19(2) WERTV10
ANZPOSNumber of transaction items (till receipts) MCW_ANZPOSINT410MCZAEHLINT
ANZAARNumber of promotion items MCW_ANZAARINT410MCZAEHLINT
KMONATCalendar month MCW_MONATNUMC2AM_MONAT
QUARTALQuarter MCW_QUARTLNUMC1NUM01
JAHRYear MCJAHRNUMC4GJAHRGJAHR
UHZEITTime sale was entered MCW_UHZEITTIMS6UZEIT

Key field Non-key field



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

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

SELECT SINGLE *
FROM S117
INTO CORRESPONDING FIELDS OF WA_S117
WHERE...

How to access SAP table S117

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