MMHIPO_MAINLIST SAP (Main List: PO History) Structure details
Description: Main List: PO History
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 |
VGABETEXT | Short Text for Fixed Values | VAL_TEXT | CHAR | 60 | DDTEXT | ||||
BEWTK | Short Text for Purchase Order History Category | BEWTK | CHAR | 4 | TEXT4 | ||||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
BELNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
BUZEI | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
MENGE_BZ | Delivery Cost Quantity | MENGE_D_BNK | QUAN | 13(3) | MENG13 | ||||
MEINS | Purchase Order Unit of Measure | BSTME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DMBTR | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
RETAMT_LC | Retention Amount in Company Code Currency | RET_AMT_LC | CURR | 13(2) | WERT7 | ||||
RETAMTP_LC | Posted Security Retention Amount in Company Code Currency | RET_AMT_POST_LC | CURR | 13(2) | WERT7 | ||||
HSWAE | Local currency key | HSWAE | CUKY | 5 | Assigned to domain | WAERS | |||
VGABE | Transaction/event type, purchase order history | VGABE | CHAR | 1 | VGABE | ||||
BPMNG | Quantity in Purchase Order Price Unit | BPMNG | QUAN | 13(3) | MENG13 | ||||
BPMNG_BZ | Delivery Cost Quantity in Purchase Order Price Unit | BPMNG_BNK | QUAN | 13(3) | MENG13 | ||||
BPRME | Order Price Unit (Purchasing) | BBPRM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
WRBTR | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
RETAMT_FC | Retention Amount in Document Currency | RET_AMT_FC | CURR | 13(2) | WERT7 | ||||
RETAMTP_FC | Posted Retention Amount in Document Currency | RET_AMT_POST_FC | CURR | 13(2) | WERT7 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WESBS | Goods Receipt Blocked Stock in Order Unit | WESBS | QUAN | 13(3) | MENG13 | ||||
BPWES | Quantity in GR blocked stock in order price unit | BPWES | QUAN | 13(3) | MENG13 | ||||
AREWR | GR/IR account clearing value in local currency | AREWR | CURR | 13(2) | WERT7 | ||||
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
CPUTM | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
GJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
BEWTP | PO history category | BEWTP | CHAR | 1 | Assigned to domain | BEWTP | |||
EKBZKZ | Indicator: Involves delivery costs | FLAGDELCO | CHAR | 1 | CHAR1 | ||||
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
WESBB | Valuated Goods Receipt Blocked Stock in Order Unit | WESBB | QUAN | 13(3) | MENG13 | ||||
BPWEB | Quantity in Valuated GR Blocked Stock in Order Price Unit | BPWEB | QUAN | 13(3) | MENG13 | ||||
WEORA | Acceptance At Origin | WEORA | CHAR | 1 | XFELD | ||||
MENGE_POP | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
BPMNG_POP | Quantity in Purchase Order Price Unit | BPMNG | QUAN | 13(3) | MENG13 | ||||
DMBTR_POP | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
WRBTR_POP | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
AREWR_POP | GR/IR account clearing value in local currency | AREWR | CURR | 13(2) | WERT7 | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects