MMREQ_HISTORY SAP (Flat Structure for Purchase Requisition Document Flow) Structure details

Dictionary Type: Structure
Description: Flat Structure for Purchase Requisition Document Flow




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




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

MMREQ_HISTORY 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 "Flat Structure for Purchase Requisition Document Flow" 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_MMREQ_HISTORY TYPE MMREQ_HISTORY.

The MMREQ_HISTORY table consists of various fields, each holding specific information or linking keys about Flat Structure for Purchase Requisition Document Flow data available in SAP. These include BSTYP_TEXT (Long text for document category), EBELN (Purchasing Document Number), ERNAM (Name of Person who Created the Object), LIFNR (Account Number of Vendor or Creditor).. 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 MMREQ_HISTORY 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
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
BSTYP_TEXTLong text for document category BSYTP_TEXTCHAR30TEXT30
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
LOEKZDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
KDATBStart of Validity Period KDATBDATS8DATUM
KDATEEnd of Validity Period KDATEDATS8DATUM
BWBDTClosing Date for Applications BWBDTDATS8DATUM
ANGDTQuotation Validity Date ANGDTDATS8DATUM
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
BEDNRRequirement Tracking Number BEDNRCHAR10CHAR10
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
EREKZFinal Invoice Indicator EREKZCHAR1XFELD
KONNRNumber of Principal Purchase Agreement KONNRCHAR10Assigned to domainALPHAEBELNKTR
KTPNRItem Number of Principal Purchase Agreement KTPNRNUMC5Assigned to domainEBELP
VGABETEXTShort Text for Fixed Values VAL_TEXTCHAR60DDTEXT
BEWTPPO history category BEWTPCHAR1Assigned to domainBEWTP
BEWTKShort Text for Purchase Order History Category BEWTKCHAR4TEXT4
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
BUDATPosting Date in the Document BUDATDATS8DATUM
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSPurchase Order Unit of Measure BSTMEUNIT3Assigned to domainCUNITMEINS
VGABETransaction/event type, purchase order history VGABECHAR1VGABE
ETENRDelivery Schedule Line Number ETENRNUMC4Assigned to domainETENR
EINDTItem Delivery Date EINDTDATS8DATUM
STATUSICONStatus icon STATUSICON30CHAR30
.INCLU--AP 0
LONGNUMSmart Number /SAPPSPRO/LONGNUMCHAR40/SAPPSPRO/LONGNUM/SAPPSPRO/LONG_BES/SAPPSPRO/MEKK

Key field Non-key field



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

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

How to access SAP table MMREQ_HISTORY

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