MYSEG_EXTRACT SAP (Document Segment: Material) Table details

Dictionary Type: Table
Description: Document Segment: Material




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




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

MYSEG_EXTRACT is a standard SAP Table which is used to store Document Segment: Material data and is available within R/3 SAP systems depending on the version and release level.

The MYSEG_EXTRACT table consists of various fields, each holding specific information or linking keys about Document Segment: Material data available in SAP. These include MATNR (Material Number), WERKS (Plant), BUDAT (Posting Date in the Document), MBLNR (Number of 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP MYSEG_EXTRACT table 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
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
BUDATPosting Date in the Document BUDATDATS8DATUM
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
VGARTTransaction/Event Type VGARTCHAR2Assigned to domainVGART
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
AUFPSOrder Item Number CO_POSNRNUMC4CO_POSNR
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
MENGEQuantity MENGE_DQUAN13(3) MENG13
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
SJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
SMBLNNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
SMBLPItem in Material Document MBLPONUMC4MBLPOPOS
BNBTRDelivery costs in local currency BNBTRCURR13(2) WERT13N
BUSTWPosting string for values BUSTWCHAR4BUSTW
EXBWRExternally Entered Posting Amount in Local Currency EXBWRCURR13(2) WERT7
KZBEWMovement Indicator KZBEWCHAR1KZBEW
KZVBRConsumption Posting KZVBRCHAR1KZVBR
KZZUGReceipt Indicator KZZUGCHAR1KZZUG
MENGUQuantity Updating in Material Master Record MENGUCHAR1XFELD
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
UMMATReceiving/Issuing Material UMMATCHAR18Assigned to domainMATN1MATNR
UMSOKSpecial Stock Indicator for Physical Stock Transfer UMSOKCHAR1Assigned to domainSOBKZ
UMWRKReceiving/Issuing Plant UMWRKCHAR4Assigned to domainWERKS
VPRSVPrice control indicator VPRSVCHAR1VPRSV
WERTUValue Update in Material Master Record WERTUCHAR1XFELD
XAUTOItem automatically created MB_XAUTOCHAR1MB_XAUTO

Key field Non-key field



How do I retrieve data from SAP table MYSEG_EXTRACT using ABAP code

The following ABAP code Example will allow you to do a basic selection on MYSEG_EXTRACT to SELECT all data from the table
DATA: WA_MYSEG_EXTRACT TYPE MYSEG_EXTRACT.

SELECT SINGLE *
FROM MYSEG_EXTRACT
INTO CORRESPONDING FIELDS OF WA_MYSEG_EXTRACT
WHERE...

How to access SAP table MYSEG_EXTRACT

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