S012BIWS SAP (S012BIWS * Purchasing) Structure details

Dictionary Type: Structure
Description: S012BIWS * Purchasing




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




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

S012BIWS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "S012BIWS * Purchasing" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_S012BIWS TYPE S012BIWS.

The S012BIWS table consists of various fields, each holding specific information or linking keys about S012BIWS * Purchasing data available in SAP. These include WRTTP (Value type for Reporting), VRSIO (Version number in the information structure), SPMON (Calendar year / month), SPTAG (Calendar day).. 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 S012BIWS structure 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
STORNOIndicator: Data to Be Canceled STORNOCHAR1CHAR1_X
WRTTPValue type for Reporting RSVTYPENUMC3Assigned to domainRSVTYPE
VRSIOVersion number in the information structure VRSIOCHAR3Assigned to domainVRSIOMCV
SPMONCalendar year / month RSCALMONTHNUMC6PERI6RSCALMONTH
SPTAGCalendar day RSCALDAYDATS8DATUM
SPWOCCalendar year / week RSCALWEEKNUMC6PERI6RSCALWEEK
SPBUPFiscal year / period RSFISCPERNUMC7PERI7RSFISCPER
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant EWERKCHAR4Assigned to domainWERKSWRK
ESOKZPurchasing info record category ESOKZCHAR1ESOKZESO
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
INFNRNumber of Purchasing Info Record INFNRCHAR10Assigned to domainALPHAINFNRINFMEIN_C
LAND1Country key of vendor MCLANDLCHAR3Assigned to domainLAND1LND
PERIVFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
BASMEBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
HWAERLocal Currency HWAERCUKY5Assigned to domainWAERS
MENGEPurchase order quantity MC_MENGEQUAN15(3) MENGV15_3
WEMNGQuantity of goods received MC_WEMNGQUAN15(3) MENGV15_3
WEMGMGoods receipt qty in base unit (calculate wtd.delivery time) MC_WEMGMAXQUAN15(3) MENGV15_3
REMNGInvoice receipt quantity MC_REMNGQUAN15(3) MENGV15_3
LSMNGTarget delivery quantity in base unit of measure MC_LSMNGQUAN15(3) MENGV15_3
NETWREffective order value MC_EFFWRCURR15(2) WERTV8
REWRTInvoice Amount MC_REWRTCURR15(2) WERTV8
ABSTPNumber of purchase order items MC_ABSTPDEC9MCZAEHLER
ABSTENumber of purchase order item schedule lines MC_ABSTEDEC9MCZAEHLER
AANFPNumber of requests for quotation items MC_AANFPDEC9MCZAEHLER
AANGPNumber of Quotation Items MC_AANGPDEC9MCZAEHLER
AKONPNumber of contract items MC_AKONPDEC9MCZAEHLER
ALFPPNumber of scheduling agreement items MC_ALFPPDEC9MCZAEHLER
ALFPENumber of delivery schedules MC_ALFPEDEC9MCZAEHLER
ALIEFNumber of deliveries MC_ALIEFDEC9MCZAEHLER
MABW1Deviation 1 in the quantity delivered MC_MABW1DEC9MCZAEHLER
MABW2Variance 2 in the quantity delivered MC_MABW2DEC9MCZAEHLER
MABW3Variance 3 in the quantity delivered MC_MABW3DEC9MCZAEHLER
MABW4Variance 4 in the quantity delivered MC_MABW4DEC9MCZAEHLER
MABW5Variance 5 in the quantity delivered MC_MABW5DEC9MCZAEHLER
TABW1Delivery date variance 1 in days MC_TABW1DEC9MCZAEHLER
TABW2Delivery date variance 2 in days MC_TABW2DEC9MCZAEHLER
TABW3Delivery date variance 3 in days MC_TABW3DEC9MCZAEHLER
TABW4Delivery date variance 4 in days MC_TABW4DEC9MCZAEHLER
TABW5Delivery date variance 5 in days MC_TABW5DEC9MCZAEHLER
LFZTATotal delivery time in days MC_LFZTADEC13DECV13
LFZTGWeighted total delivery time MC_LFZTGDEC15(1) DECV15_1
MENGE_ROrder quantity (returns) MC_MENGE_RQUAN15(3) MENGV15_3
REMNG_RInvoice receipt quantity of returns MC_REMNG_RQUAN15(3) MENGV15_3
WEMNG_RGoods receipt quantity of returns MC_WEMNG_RQUAN15(3) MENGV15_3
REWRT_RInvoice amount: Returns MC_REWRT_RCURR15(2) WERTV8
EFFWR_REffective order value of returns MC_EFFWR_RCURR15(2) WERTV8
WEWRTValue of goods received in local currency MC_WEWERTCURR13(2) WERT7
REMNG_BInvoice receipt quantity as at posting date MC_REMNG_BQUAN15(3) MENGV15_3
WEWRT_BGoods receipt value as at posting date MC_WEWRT_BCURR15(2) WERTV8
REWRT_BInvoice Amount as at Posting Date MC_REWRT_BCURR15(2) WERTV8
REMNG_R_BIR quantity: Returns as at posting date MC_REMNG_R_BQUAN15(3) MENGV15_3
REWRT_R_BIR value: Returns as at posting date MC_REWRT_R_BCURR15(2) WERTV8
WEWRT_R_BGR value: Returns as at posting date MC_WEWRT_R_BCURR15(2) WERTV8

Key field Non-key field



How do I retrieve data from SAP structure S012BIWS using ABAP code?

As S012BIWS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on S012BIWS as there is no data to select.

How to access SAP table S012BIWS

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