MCCHAR SAP (Batch Stocks) Structure details

Dictionary Type: Structure
Description: Batch Stocks




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




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

MCCHAR 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 "Batch Stocks" 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_MCCHAR TYPE MCCHAR.

The MCCHAR table consists of various fields, each holding specific information or linking keys about Batch Stocks data available in SAP. These include MATNR (Material Number), WERKS (Plant), LGORT (Storage Location), CHARG (Batch Number).. 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: Cannot Be Enhanced


SAP MCCHAR 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 MANDTCLNT3T000MANDT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
CHARGBatch Number CHARG_DCHAR10MCHACHARGCHA
DISPOMRP Controller (Materials Planner) DISPOCHAR3T024DDISPODGRHS_T024D
MTARTMaterial Type MTARTCHAR4T134MTARTMTA
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
DISMMMRP Type DISMMCHAR2T438ADISMM
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
CLABSValuated stock with unrestricted use MC_LABSTQUAN15(3) MENGV15
CINSMStock in quality inspection MC_INSMEQUAN15(3) MENGV15
CSPEMBlocked stock MC_SPEMEQUAN15(3) MENGV15
CUMLMStock in transfer (from one storage location to another) MC_UMLMDQUAN15(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
BUDATPosting Date in the Document BUDATDATS8DATUM
SYDATSystem Date SYDATUMDATS8SYDATS
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA

Key field Non-key field



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

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

How to access SAP table MCCHAR

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