MCBIWSTOCK SAP (Extractor Structure for BW Stock Initialization) Structure details

Dictionary Type: Structure
Description: Extractor Structure for BW Stock Initialization




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




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

MCBIWSTOCK 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 "Extractor Structure for BW Stock Initialization" 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_MCBIWSTOCK TYPE MCBIWSTOCK.

The MCBIWSTOCK table consists of various fields, each holding specific information or linking keys about Extractor Structure for BW Stock Initialization data available in SAP. These include MATNR (Material Number), SPTAG (Period to analyze - current date), BSTTYP (Stock categories in the Logistics Information System), BSTAUS (BW: Stock Characteristic Value).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP MCBIWSTOCK 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
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
SPTAGPeriod to analyze - current date SPTAGDATS8DATUM
BSTTYPStock categories in the Logistics Information System BSTTYPCHAR1BSTTYP
BSTAUSBW: Stock Characteristic Value MCBW_BAUSCHAR1MCBW_BAUS
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
KUNNRAccount Number of Customer EKUNNCHAR10Assigned to domainALPHAKUNNRKUN
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
VBELNSales Order Number with Special Stocks MCBW_VBELNCHAR10Assigned to domainALPHAVBELN
POSNRSales Order Item with Special Stocks MCBW_POSNRNUMC6Assigned to domainPOSNR
PSPNRProject Structure Plan Item with Special Stocks MCBW_PSPNRNUMC8Assigned to domainABPSPPS_POSNR
BASMEBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
HWAERLocal Currency HWAERCUKY5Assigned to domainWAERS
MTARTMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
BWKEYValuation Area BWKEYCHAR4Assigned to domainBWKEYBWK
KZBWSValuation of Special Stock KZBWSCHAR1KZBWS
BWMNGBW: Quantity in Base Unit of Measure MCBW_MNGQUAN15(3) MENGV15_3
BWGEOBW: Cost Value in Local Currency MCBW_GEOCURR19(2) WERTV10
BWGVOBW: Retail Value in Local Currency MCBW_GVOCURR19(2) WERTV10
BWGVPBW: Retail Value with Tax in Local Currency MCBW_GVPCURR19(2) WERTV10
BKLASValuation Class BKLASCHAR4Assigned to domainBKLAS

Key field Non-key field



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

As MCBIWSTOCK 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 MCBIWSTOCK as there is no data to select.

How to access SAP table MCBIWSTOCK

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