CSTMAT SAP (Start Material Display for BOM Explosions) Structure details

Dictionary Type: Structure
Description: Start Material Display for BOM Explosions




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




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

CSTMAT 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 "Start Material Display for BOM Explosions" 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_CSTMAT TYPE CSTMAT.

The CSTMAT table consists of various fields, each holding specific information or linking keys about Start Material Display for BOM Explosions data available in SAP. These include MAKTX (Material Description (Short Text)), ZEINR (Document number (without document management system)), ZEIVR (Document version (without Document Management system)), ZEIAR (Document type (without Document Management system)).. 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 CSTMAT 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 MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40
ZEINRDocument number (without document management system) DZEINRCHAR22CHAR22
ZEIVRDocument version (without Document Management system) DZEIVRCHAR2VERSI
ZEIARDocument type (without Document Management system) DZEIARCHAR3ZEIAR
ZEIFOPage format of document (without Document Management system) DZEIFOCHAR4DINFO
BLATTPage number of document (without Document Management system) BLATTCHAR3BLATT
BLANZNumber of sheets (without Document Management system) BLANZNUMC3NUM3
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PRWRKProduction plant in planned order PWWRKCHAR4Assigned to domainWERKS
AUSSSAssembly scrap in percent AUSSSDEC5(2) DEC3_2
KAUSFComponent scrap in percent KAUSFDEC5(2) DEC3_2
SBDKZDependent requirements ind. for individual and coll. reqmts SBDKZCHAR1SBDKZ
ALTSLMethod for Selecting Alternative Bills of Material ALTSLCHAR1ALTSL
REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
KZEFFAssign effectivity parameter values/ override change numbers CC_MTEFFCHAR1XFELD
KZKFGConfigurable Material KZKFGCHAR1XFELD
MCUOBInternal object number CUOBMNUMC18CUOBJ
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
KZWSMUnits of measure usage KZWSOCHAR1KZWSO
STLTYBOM category STLTYCHAR1STLTY
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLANBOM usage STLVWCHAR1Assigned to domainSTLAN
STLALAlternative BOM STLALCHAR2ALPHAALTNR
EXSTLBOM group EXSTLCHAR18EXSTLCSG
STLBEAuthorization group for bills of material STLBECHAR4BEGRU
LOSVNFrom Lot Size LOSVNQUAN13(3) MENG13
LOSBSTo Lot Size LOSBSQUAN13(3) MENG13
BMENGBase quantity BASMNQUAN13(3) MENG13
EMMBMRequired quantity in base unit of measure for BOM EMMBMQUAN13(3) MENG13
BMEINBase unit of measure for BOM BASMEUNIT3Assigned to domainCUNITMEINS
EMENGRequired quantity EMENGQUAN13(3) MENG13
EMGMEBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
ALTSTIndicator: Alternatives ALTSTCHAR1XFELD
VARSTIndicator: variants VARSTCHAR1XFELD
KBAUSIndicator: configurable BOM KBAUSCHAR1XFELD
DATUVValid-from/to date DTVONDATS8DATUM
DATUBValid-to date DATUBDATS8DATUM
AENNRChange Number AENNRCHAR12Assigned to domainAENNRAENNRAEN
LOEKZAsset class marked for deletion LOEKZCHAR1XFELD
ANDATDate record created on ANDATDATS8DATUM
ANNAMUser who created record ANNAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
CADKZCAD Indicator CADKZCHAR1XFELD
LABORLaboratory/design office LABORCHAR3Assigned to domainLABOR
LTXSPLanguage: The long text was stored in this language LTXSPLANG1Assigned to domainISOLASPRAS
STKTXAlternative BOM Text STKTXCHAR40TEXT40
STLSTBOM status STLSTNUMC2Assigned to domainSTLST

Key field Non-key field



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

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

How to access SAP table CSTMAT

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