MGV_PRST SAP (Generated Table for View MGV_PRST) Table View details
Dictionary Type: Table View
Description: Generated Table for View MGV_PRST
Description: Generated Table for View MGV_PRST
Table View field list including key, data, relationships and ABAP select examples
MGV_PRST is a standard SAP Table View which is used to store Generated Table for View MGV_PRST data and is available within R/3 SAP systems depending on the version and release level.
The MGV_PRST table consists of various fields, each holding specific information or linking keys about Generated Table for View MGV_PRST data available in SAP. These include PSPNR (Work breakdown structure element (WBS element)), MATNR (Material Number), WERKS (Plant), STLAN (BOM Usage).. 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 MGV_PRST 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 | |||
PSPNR | Work breakdown structure element (WBS element) | CS_PSPNR | NUMC | 8 | ABPSP | PS_POSNR | PEI | ||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
STLAN | BOM Usage | STLAN | CHAR | 1 | T416 | STLAN | CSV | ||
STLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
STLAL | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
ANDAT | Date record created on | ANDAT | DATS | 8 | DATUM | ||||
ANNAM | User who created record | ANNAM | CHAR | 12 | USNAM | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
MATNR_EXT | External Long Material Number | MATNR_EXT | CHAR | 40 | MATNL | MATNR_EXT | |||
MATNR_VERS | Material Version Number | MATNR_VERS | CHAR | 10 | MATNW | MATNR_VERS | MATVERS |
Key field | Non-key field |
How do I retrieve data from SAP table MGV_PRST using ABAP code
The following ABAP code Example will allow you to do a basic selection on MGV_PRST to SELECT all data from the tableDATA: WA_MGV_PRST TYPE MGV_PRST.
SELECT SINGLE *
FROM MGV_PRST
INTO CORRESPONDING FIELDS OF WA_MGV_PRST
WHERE...
How to access SAP table MGV_PRST
Within an ECC or HANA version of SAP you can also view further information about MGV_PRST 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