MMHIPO_MAINLIST SAP (Main List: PO History) Structure details

Dictionary Type: Structure
Description: Main List: PO History




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




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

MMHIPO_MAINLIST 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 "Main List: PO History" 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_MMHIPO_MAINLIST TYPE MMHIPO_MAINLIST.

The MMHIPO_MAINLIST table consists of various fields, each holding specific information or linking keys about Main List: PO History data available in SAP. These include BEWTK (Short Text for Purchase Order History Category), BWART (Movement Type (Inventory Management)), BELNR (Number of Material Document), BUZEI (Item in 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP MMHIPO_MAINLIST 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
VGABETEXTShort Text for Fixed Values VAL_TEXTCHAR60DDTEXT
BEWTKShort Text for Purchase Order History Category BEWTKCHAR4TEXT4
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
BELNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
BUZEIItem in Material Document MBLPONUMC4MBLPOPOS
BUDATPosting Date in the Document BUDATDATS8DATUM
MENGEQuantity MENGE_DQUAN13(3) MENG13
MENGE_BZDelivery Cost Quantity MENGE_D_BNKQUAN13(3) MENG13
MEINSPurchase Order Unit of Measure BSTMEUNIT3Assigned to domainCUNITMEINS
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
RETAMT_LCRetention Amount in Company Code Currency RET_AMT_LCCURR13(2) WERT7
RETAMTP_LCPosted Security Retention Amount in Company Code Currency RET_AMT_POST_LCCURR13(2) WERT7
HSWAELocal currency key HSWAECUKY5Assigned to domainWAERS
VGABETransaction/event type, purchase order history VGABECHAR1VGABE
BPMNGQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
BPMNG_BZDelivery Cost Quantity in Purchase Order Price Unit BPMNG_BNKQUAN13(3) MENG13
BPRMEOrder Price Unit (Purchasing) BBPRMUNIT3Assigned to domainCUNITMEINS
WRBTRAmount in document currency WRBTRCURR13(2) WERT7
RETAMT_FCRetention Amount in Document Currency RET_AMT_FCCURR13(2) WERT7
RETAMTP_FCPosted Retention Amount in Document Currency RET_AMT_POST_FCCURR13(2) WERT7
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WESBSGoods Receipt Blocked Stock in Order Unit WESBSQUAN13(3) MENG13
BPWESQuantity in GR blocked stock in order price unit BPWESQUAN13(3) MENG13
AREWRGR/IR account clearing value in local currency AREWRCURR13(2) WERT7
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
GJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
BEWTPPO history category BEWTPCHAR1Assigned to domainBEWTP
EKBZKZIndicator: Involves delivery costs FLAGDELCOCHAR1CHAR1
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
WESBBValuated Goods Receipt Blocked Stock in Order Unit WESBBQUAN13(3) MENG13
BPWEBQuantity in Valuated GR Blocked Stock in Order Price Unit BPWEBQUAN13(3) MENG13
WEORAAcceptance At Origin WEORACHAR1XFELD
MENGE_POPQuantity MENGE_DQUAN13(3) MENG13
BPMNG_POPQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
DMBTR_POPAmount in Local Currency DMBTRCURR13(2) WERT7
WRBTR_POPAmount in document currency WRBTRCURR13(2) WERT7
AREWR_POPGR/IR account clearing value in local currency AREWRCURR13(2) WERT7
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT

Key field Non-key field



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

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

How to access SAP table MMHIPO_MAINLIST

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