M_MAT2MPN SAP (Generated Table for View) Table View details
Dictionary Type: Table View
Description: Generated Table for View
Description: Generated Table for View
Table View field list including key, data, relationships and ABAP select examples
M_MAT2MPN is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.
The M_MAT2MPN table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include MATNR_B (Number of firm's own (internal) inventory-managed material), MATNR_HTN (Material Number Corresponding to Manufacturer Part Number), MFRNR (Number of a Manufacturer), WERKS (Plant).. 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: Not classified
SAP M_MAT2MPN table view 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
MATNR_B | Number of firm's own (internal) inventory-managed material | MPMAT | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
MATNR_HTN | Material Number Corresponding to Manufacturer Part Number | EMATN | CHAR | 18 | MARA | MATN1 | MATNR | HTN | |
MFRNR | Number of a Manufacturer | MFRNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | ||
WERKS | Plant | WERKS_MASK | CHAR | 4 | T001W | WERKS | WRK | ||
DATUV | Date as of which the MPN materail may be procured | AMPAB | DATS | 8 | DATUM | ||||
DATUB | Date until which the MPN material may be procured | AMPBI | DATS | 8 | DATUM | ||||
REVLV | Revision Level | REVLV | CHAR | 2 | NUMCV | REVLV | RVS | ||
AMPSP | Blocked manufacturer/part combinations | AMPSP | CHAR | 4 | TAMPSP | AMPSP | |||
MFRPN | Manufacturer Part Number | MFRPN | CHAR | 40 | CHAR40 | ||||
AMPNR | Number of AMPL record | AMPNR | NUMC | 5 | NUM5 | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MATN1 | MATNR | MAT | S_MAT1 |
Key field | Non-key field |
How do I retrieve data from SAP table M_MAT2MPN using ABAP code
The following ABAP code Example will allow you to do a basic selection on M_MAT2MPN to SELECT all data from the tableDATA: WA_M_MAT2MPN TYPE M_MAT2MPN.
SELECT SINGLE *
FROM M_MAT2MPN
INTO CORRESPONDING FIELDS OF WA_M_MAT2MPN
WHERE...
How to access SAP table M_MAT2MPN
Within an ECC or HANA version of SAP you can also view further information about M_MAT2MPN 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