MCBCOS SAP (R/2 Sending Structure: INVCO) Structure details
Description: R/2 Sending Structure: INVCO
Structure field list including key, data, relationships and ABAP select examples
MCBCOS 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 "R/2 Sending Structure: INVCO" 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_MCBCOS TYPE MCBCOS.
The MCBCOS table consists of various fields, each holding specific information or linking keys about R/2 Sending Structure: INVCO data available in SAP. These include MBLNR (Number of Material Document), MJAHR (Material Document Year), BUDAT (Posting Date in the Document), ZEILE (Item in Material Document).. 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 MCBCOS 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
ZEILE | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
KDEIN | Delivery Schedule for Sales Order | KDEIN | NUMC | 4 | NUM04 | ||||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
DMBTR | Amount in local currency | MC_DMBTR | CURR | 15(2) | WERT15 | ||||
BNBTR | Delivery costs in local currency | MC_BNBTR | CURR | 15(2) | WERT15 | ||||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
MENGE | Quantity | MC_MENG | QUAN | 15(3) | MENGV15 | ||||
WEMPF | Goods Recipient/Ship-To Party | WEMPF | CHAR | 12 | WEMPF | ||||
ABLAD | Unloading Point | ABLAD | CHAR | 25 | TEXT25 | ||||
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
ANLN1 | Main Asset Number | ANLN1 | CHAR | 12 | Assigned to domain | ALPHA | ANLN1 | AN1 | |
ANLN2 | Asset Subnumber | ANLN2 | CHAR | 4 | Assigned to domain | ALPHA | ANLN2 | AN2 | |
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
RSNUM | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | Assigned to domain | RSNUM | RES | ||
RSPOS | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
KZEAR | Final Issue for This Reservation | KZEAR | CHAR | 1 | XFELD | ||||
WEUNB | Goods Receipt, Non-Valuated | WEUNB | CHAR | 1 | XFELD | ||||
PALAN | WMS Number of pallets | PALAN | DEC | 11 | PALAN | ||||
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | Assigned to domain | LGNUM | LGN | ||
LGTYP | Storage Type | LGTYP | CHAR | 3 | Assigned to domain | LGTYP | LGT | H_T301 | |
LGPLA | Storage Bin | LGPLA | CHAR | 10 | Assigned to domain | LGPLA | LGP | LAG1 | |
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
NPLNR | Network Number for Account Assignment | NPLNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | NET | |
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
MGVBR | Total usage quantity | GVBRM | QUAN | 15(3) | MENGV15 | ||||
MUVBR | Unplanned usage quantity | UVBRM | QUAN | 15(3) | MENGV15 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
XSTOR | Reversal, return delivery, or transfer posting | KZSTO | CHAR | 1 | KZSTO | ||||
XLABST | Unrestricted-use stock | XLABST | CHAR | 1 | XFELD | ||||
XINSME | Stock in Quality Inspection | XINSME | CHAR | 1 | XFELD | ||||
XKLABS | Unrestricted-use consignment stock | XKLABS | CHAR | 1 | XFELD | ||||
XKINSM | Quality inspection stock, consignment | XKINSM | CHAR | 1 | XFELD | ||||
XUMLME | Stock in transfer at storage location level | XUMLME | CHAR | 1 | XFELD | ||||
XUMLMC | Stock in transfer at plant level | XUMLMC | CHAR | 1 | XFELD | ||||
XMSQBO | Material provided to vendor (in quality inspection) | XMSQBO | CHAR | 1 | XFELD | ||||
XMEIKS | Blocked sales order stock | XMEIKS | CHAR | 1 | XFELD | ||||
XMEIKQ | Sales order stock in quality inspection | XMEIKQ | CHAR | 1 | XFELD | ||||
XKSPEM | Blocked consignment stock | XKSPEM | CHAR | 1 | XFELD | ||||
XSPEME | Blocked Stock | XSPEME | CHAR | 1 | XFELD | ||||
XMKQKL | Customer returnable packaging in quality inspection | XMKQKL | CHAR | 1 | XFELD | ||||
XMKQKK | Consignment (at customer) in quality inspection | XMKQKK | CHAR | 1 | XFELD | ||||
XMSLBO | Stock of material provided to vendor | XMSLBO | CHAR | 1 | XFELD | ||||
XMEIKL | Sales order stock | XMEIKL | CHAR | 1 | XFELD | ||||
XMKUBL | Stock of Material Provided by Customer | XMKUBL | CHAR | 1 | XFELD | ||||
XMKLKL | Returnable packaging with customer | XMKLKL | CHAR | 1 | XFELD | ||||
XMKLKK | Customer consignment | XMKLKK | CHAR | 1 | XFELD | ||||
XRETME | Blocked Stock Returns | XRETME | CHAR | 1 | XFELD | ||||
XTRAME | Stock in transit | XTRAME | CHAR | 1 | XFELD | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
SYDAT | System Date | SYDATUM | DATS | 8 | SYDATS | ||||
DUMMY | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY | ||||
DISPO | MRP Controller (Materials Planner) | DISPO | CHAR | 3 | Assigned to domain | DISPO | DGR | HS_T024D | |
MTART | Material Type | MTART | CHAR | 4 | Assigned to domain | MTART | MTA | ||
MATKL | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
DISMM | MRP Type | DISMM | CHAR | 2 | Assigned to domain | DISMM | |||
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
LABST | Valuated stock with unrestricted use | MC_LABST | QUAN | 15(3) | MENGV15 | ||||
UMLME | Stock in transfer (from one storage location to another) | MC_UMLMD | QUAN | 15(3) | MENGV15 | ||||
INSME | Stock in quality inspection | MC_INSME | QUAN | 15(3) | MENGV15 | ||||
KLABS | Unrestricted-use consignment stock | MC_KLABS | QUAN | 15(3) | MENGV15 | ||||
KINSM | Consignment Stock in Quality Inspection | MC_KINSM | QUAN | 15(3) | MENGV15 | ||||
UMLMC | Stock in transfer (plant to plant) | MC_UMLME | QUAN | 15(3) | MENGV15 | ||||
TRAME | Stock in transit | MC_TRAME | QUAN | 15(3) | MENGV15 | ||||
KSPEM | Blocked consignment stock | MC_KSPEM | QUAN | 15(3) | MENGV15 | ||||
VPRSV | Price control indicator | VPRSV | CHAR | 1 | VPRSV | ||||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
LBKUM | Total Valuated Stock | LBKUM | QUAN | 13(3) | MENG13V | ||||
SALK3 | Value of Total Valuated Stock | SALK3 | CURR | 13(2) | WERT13N | ||||
STPRS | Standard price | STPRS | CURR | 11(2) | WERT11V | ||||
VERPR | Moving Average Price/Periodic Unit Price | VERPR | CURR | 11(2) | WERT11V | ||||
SPEME | Blocked stock | MC_SPEME | QUAN | 15(3) | MENGV15 | ||||
DUMMY_USR | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY | ||||
SSOUR | Statistic(s) origin | SSOUR | CHAR | 4 | SSOUR | ||||
INIT | Initialization indicator for resetup of S032 R/2-R/3 | INIT | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure MCBCOS using ABAP code?
As MCBCOS 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 MCBCOS as there is no data to select.How to access SAP table MCBCOS
Within an ECC or HANA version of SAP you can also view further information about MCBCOS 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