MCBCOS SAP (R/2 Sending Structure: INVCO) Structure details

Dictionary Type: Structure
Description: R/2 Sending Structure: INVCO




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
BUDATPosting Date in the Document BUDATDATS8DATUM
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
DMBTRAmount in local currency MC_DMBTRCURR15(2) WERT15
BNBTRDelivery costs in local currency MC_BNBTRCURR15(2) WERT15
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
MENGEQuantity MC_MENGQUAN15(3) MENGV15
WEMPFGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
ABLADUnloading Point ABLADCHAR25TEXT25
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
KZEARFinal Issue for This Reservation KZEARCHAR1XFELD
WEUNBGoods Receipt, Non-Valuated WEUNBCHAR1XFELD
PALANWMS Number of pallets PALANDEC11PALAN
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3Assigned to domainLGNUMLGN
LGTYPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
LGPLAStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
MGVBRTotal usage quantity GVBRMQUAN15(3) MENGV15
MUVBRUnplanned usage quantity UVBRMQUAN15(3) MENGV15
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
XSTORReversal, return delivery, or transfer posting KZSTOCHAR1KZSTO
XLABSTUnrestricted-use stock XLABSTCHAR1XFELD
XINSMEStock in Quality Inspection XINSMECHAR1XFELD
XKLABSUnrestricted-use consignment stock XKLABSCHAR1XFELD
XKINSMQuality inspection stock, consignment XKINSMCHAR1XFELD
XUMLMEStock in transfer at storage location level XUMLMECHAR1XFELD
XUMLMCStock in transfer at plant level XUMLMCCHAR1XFELD
XMSQBOMaterial provided to vendor (in quality inspection) XMSQBOCHAR1XFELD
XMEIKSBlocked sales order stock XMEIKSCHAR1XFELD
XMEIKQSales order stock in quality inspection XMEIKQCHAR1XFELD
XKSPEMBlocked consignment stock XKSPEMCHAR1XFELD
XSPEMEBlocked Stock XSPEMECHAR1XFELD
XMKQKLCustomer returnable packaging in quality inspection XMKQKLCHAR1XFELD
XMKQKKConsignment (at customer) in quality inspection XMKQKKCHAR1XFELD
XMSLBOStock of material provided to vendor XMSLBOCHAR1XFELD
XMEIKLSales order stock XMEIKLCHAR1XFELD
XMKUBLStock of Material Provided by Customer XMKUBLCHAR1XFELD
XMKLKLReturnable packaging with customer XMKLKLCHAR1XFELD
XMKLKKCustomer consignment XMKLKKCHAR1XFELD
XRETMEBlocked Stock Returns XRETMECHAR1XFELD
XTRAMEStock in transit XTRAMECHAR1XFELD
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
SYDATSystem Date SYDATUMDATS8SYDATS
DUMMYDummy function in length 1 DUMMYCHAR1DUMMY
DISPOMRP Controller (Materials Planner) DISPOCHAR3Assigned to domainDISPODGRHS_T024D
MTARTMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
DISMMMRP Type DISMMCHAR2Assigned to domainDISMM
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
LABSTValuated stock with unrestricted use MC_LABSTQUAN15(3) MENGV15
UMLMEStock in transfer (from one storage location to another) MC_UMLMDQUAN15(3) MENGV15
INSMEStock in quality inspection MC_INSMEQUAN15(3) MENGV15
KLABSUnrestricted-use consignment stock MC_KLABSQUAN15(3) MENGV15
KINSMConsignment Stock in Quality Inspection MC_KINSMQUAN15(3) MENGV15
UMLMCStock in transfer (plant to plant) MC_UMLMEQUAN15(3) MENGV15
TRAMEStock in transit MC_TRAMEQUAN15(3) MENGV15
KSPEMBlocked consignment stock MC_KSPEMQUAN15(3) MENGV15
VPRSVPrice control indicator VPRSVCHAR1VPRSV
PEINHPrice Unit PEINHDEC5PACK3
LBKUMTotal Valuated Stock LBKUMQUAN13(3) MENG13V
SALK3Value of Total Valuated Stock SALK3CURR13(2) WERT13N
STPRSStandard price STPRSCURR11(2) WERT11V
VERPRMoving Average Price/Periodic Unit Price VERPRCURR11(2) WERT11V
SPEMEBlocked stock MC_SPEMEQUAN15(3) MENGV15
DUMMY_USRDummy function in length 1 DUMMYCHAR1DUMMY
SSOURStatistic(s) origin SSOURCHAR4SSOUR
INITInitialization indicator for resetup of S032 R/2-R/3 INITCHAR1CHAR1

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 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!