MCBIWSTOCK SAP (Extractor Structure for BW Stock Initialization) Structure details
Description: Extractor Structure for BW Stock Initialization
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 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
SPTAG | Period to analyze - current date | SPTAG | DATS | 8 | DATUM | ||||
BSTTYP | Stock categories in the Logistics Information System | BSTTYP | CHAR | 1 | BSTTYP | ||||
BSTAUS | BW: Stock Characteristic Value | MCBW_BAUS | CHAR | 1 | MCBW_BAUS | ||||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
KUNNR | Account Number of Customer | EKUNN | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
VBELN | Sales Order Number with Special Stocks | MCBW_VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
POSNR | Sales Order Item with Special Stocks | MCBW_POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
PSPNR | Project Structure Plan Item with Special Stocks | MCBW_PSPNR | NUMC | 8 | Assigned to domain | ABPSP | PS_POSNR | ||
BASME | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
HWAER | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
MTART | Material Type | MTART | CHAR | 4 | Assigned to domain | MTART | MTA | ||
BWKEY | Valuation Area | BWKEY | CHAR | 4 | Assigned to domain | BWKEY | BWK | ||
KZBWS | Valuation of Special Stock | KZBWS | CHAR | 1 | KZBWS | ||||
BWMNG | BW: Quantity in Base Unit of Measure | MCBW_MNG | QUAN | 15(3) | MENGV15_3 | ||||
BWGEO | BW: Cost Value in Local Currency | MCBW_GEO | CURR | 19(2) | WERTV10 | ||||
BWGVO | BW: Retail Value in Local Currency | MCBW_GVO | CURR | 19(2) | WERTV10 | ||||
BWGVP | BW: Retail Value with Tax in Local Currency | MCBW_GVP | CURR | 19(2) | WERTV10 | ||||
BKLAS | Valuation Class | BKLAS | CHAR | 4 | Assigned to domain | BKLAS |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects