MGVNEWVERS SAP (Input structure: New material version) Structure details

Dictionary Type: Structure
Description: Input structure: New material version




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




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

MGVNEWVERS 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 "Input structure: New material version" 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_MGVNEWVERS TYPE MGVNEWVERS.

The MGVNEWVERS table consists of various fields, each holding specific information or linking keys about Input structure: New material version data available in SAP. These include VERS_NEW (Material Version Number), VERS_REF (Copy from), MATNR_REF (Reference material), VTYPE (Version Category).. 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)


SAP MGVNEWVERS 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
MATNR_EXTExternal Long Material Number MATNR_EXTCHAR40MATNLMATNR_EXT
VERS_NEWMaterial Version Number MATNR_VERSCHAR10MATNWMATNR_VERSMATVERS
VERS_REFCopy from VERSN_REFCHAR10MATNWMATNR_VERS
MATNR_REFReference material REF_MATNRCHAR18Assigned to domainMATN1MATNRRMAMAT1
VTYPEVersion Category VERSIONTYPECHAR10MGVTYPEVERSIONTYPE
VCHNRChange number material versions MGV_VCHNRCHAR12AENRAENNRAENNRAEN
EVVALMaterial is Always Valid MGV_EVER_VALIDCHAR1XFELD
DVERSDefault Version MGV_MATNR_VALID_DEFAULTCHAR18Assigned to domainMATN1MATNR
DATE_VALIDVersion with date effectivity MGVDATE_VALIDCHAR1XFELD
CH_VALIDVersion with change effectivity MGVCH_VALIDCHAR1XFELD
ALWAYS_VALIDVersion always valid MGVALWAYS_VALIDCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table MGVNEWVERS

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