SMCH1 SAP (Lock Table MCH1) Structure details

Dictionary Type: Structure
Description: Lock Table MCH1




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




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

SMCH1 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 "Lock Table MCH1" 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_SMCH1 TYPE SMCH1.

The SMCH1 table consists of various fields, each holding specific information or linking keys about Lock Table MCH1 data available in SAP. These include CHARG (Batch Number), RMCH1 (Return code for table MCH1), XDBUP (Database update), XCHUP (Database update).. 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 SMCH1 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
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
CHARGBatch Number CHARG_DCHAR10MCH1CHARGCHA
RMCH1Return code for table MCH1 RMCH1CHAR1XFELD
XDBUPDatabase update XDBUPCHAR1XFELD
XCHUPDatabase update XDBUPCHAR1XFELD
XMARECheckbox XFELDCHAR1XFELD
LVORMDeletion Flag for All Data in a Batch LVOC1CHAR1XFELD
ERSDACreated On ERSDADATS8DATUM
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
LAEDADate of Last Change LAEDADATS8DATUM
VERABAvailability date VERABDATS8DATUM
VFDATShelf Life Expiration or Best-Before Date VFDATDATS8DATUM
ZUSCHBatch status key DZUSCHCHAR1Assigned to domainZUSCH
ZUSTDBatch in Restricted-Use Stock DZUSTDCHAR1XFELD
ZAEDTDate of last status change DZAEDTDATS8DATUM
LIFNRVendor Account Number ELIFNCHAR10LFA1ALPHALIFNRLIFKRED_C
LICHAVendor Batch Number LICHNCHAR15LICHN
VLCHAOriginal batch number (deactivated) VLCHNCHAR10Assigned to domainCHARG
VLWRKOriginal plant (deactivated) VLWRKCHAR4MARCWERKS
VLMATOriginal material (deactivated) VLMATCHAR18MARAMATN1MATNR
.INCLU--AP 0
XPCBTSingle-Unit Batch Indicator MILL_XPCBTCHAR1MILL_XPCBT
CHAMEUnit of issue for batch (deactivated) CHAMEUNIT3Assigned to domainCUNITMEINS
LWEDTDate of last goods receipt LWEDTDATS8DATUM
FVDT1Date for unrestricted use FVDATDATS8DATUM
FVDT2Date for unrestricted use FVDATDATS8DATUM
FVDT3Date for unrestricted use FVDATDATS8DATUM
FVDT4Date for unrestricted use FVDATDATS8DATUM
FVDT5Date for unrestricted use FVDATDATS8DATUM
FVDT6Date for unrestricted use FVDATDATS8DATUM
HERKLCountry of origin of the material HERKLCHAR3T005LAND1LND
HERKRRegion of origin of material (non-preferential origin) HERKRCHAR3T005SREGIO
MTVERExport/import material group MTVERCHAR4TVFMMTVER
QNDATNext Inspection Date QNPDATDATS8DATUM
HSDATDate of Manufacture HSDATDATS8DATUM
CUOBJ_BMInternal object no.: Batch classification CUOBJ_BMNUMC18CUOBJ
DEACT_BMBatch is no longer active DEACT_BMCHAR1XFELD
BATCH_TYPEType of Batch BATCH_TYPECHAR1BATCH_TYPE

Key field Non-key field



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

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

How to access SAP table SMCH1

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