M_VMPGA 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_VMPGA 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_VMPGA table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include VBELN (Sales and Distribution Document Number), POSNR (Item number of the SD document), FPLNR (Billing plan number / invoicing plan number), KUNNR (Sold-to party).. 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_VMPGA 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 | |||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | VBUP | POSNR | |||
FPLNR | Billing plan number / invoicing plan number | FPLNR | CHAR | 10 | FPLA | FPLNR | |||
KUNNR | Sold-to party | KUNAG | CHAR | 10 | KNA1 | ALPHA | KUNNR | VAG | |
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
AUART | Sales Document Type | AUART | CHAR | 4 | TVAK | AUART | AUART | AAT | |
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVKOV | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | TVTA | SPART | SPA | C_SPART | |
BSTNK | Customer purchase order number | BSTNK | CHAR | 20 | BSTNK | ||||
SUPLN | Subsequent billing plan number | /SAPHT/SW_SUPLN | CHAR | 10 | FPLNR | ||||
SYNCH | Billing plan automatic synchronization indicator | /SAPHT/SW_SYNCH | CHAR | 1 | /SAPHT/SW_SYNCH |
Key field | Non-key field |
How do I retrieve data from SAP table M_VMPGA using ABAP code
The following ABAP code Example will allow you to do a basic selection on M_VMPGA to SELECT all data from the tableDATA: WA_M_VMPGA TYPE M_VMPGA.
SELECT SINGLE *
FROM M_VMPGA
INTO CORRESPONDING FIELDS OF WA_M_VMPGA
WHERE...
How to access SAP table M_VMPGA
Within an ECC or HANA version of SAP you can also view further information about M_VMPGA 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