TXI_MGEF SAP (Hazardous materials) Structure details
Description: Hazardous materials
Structure field list including key, data, relationships and ABAP select examples
TXI_MGEF 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 "Hazardous materials" 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_TXI_MGEF TYPE TXI_MGEF.
The TXI_MGEF table consists of various fields, each holding specific information or linking keys about Hazardous materials data available in SAP. These include MANDT (Client), STOFF (Hazardous material number), REGKZ (Region code), LAGKL (Storage class).. 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 TXI_MGEF 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
STOFF | Hazardous material number | STOFF | CHAR | 18 | Assigned to domain | MATN1 | STOFF | STO | |
REGKZ | Region code | REGKZ | CHAR | 3 | T646R | REGKZ | REG | ||
LAGKL | Storage class | LVS_LAGKL | CHAR | 5 | T646L | MGEF_LAGKL | |||
WGFKL | Water Pollution Class | MGEF_WGFKL | NUMC | 1 | MGEF_WGFKL | ||||
WGKKZ | Ind.: water pollution classification prescribed by law | MGEF_WGKKZ | CHAR | 1 | XFELD | ||||
GFVM1 | Hazardous material warning | MGEF_GFVM0 | CHAR | 2 | T646G | MGEF_GFVM0 | |||
GFVM2 | Hazardous material warning | MGEF_GFVM0 | CHAR | 2 | T646G | MGEF_GFVM0 | |||
GFVM3 | Hazardous material warning | MGEF_GFVM0 | CHAR | 2 | T646G | MGEF_GFVM0 | |||
GFVM4 | Hazardous material warning | MGEF_GFVM0 | CHAR | 2 | T646G | MGEF_GFVM0 | |||
GFVM5 | Hazardous material warning | MGEF_GFVM0 | CHAR | 2 | T646G | MGEF_GFVM0 | |||
GFVM6 | Hazardous material warning | MGEF_GFVM0 | CHAR | 2 | T646G | MGEF_GFVM0 | |||
GFVM7 | Hazardous material warning | MGEF_GFVM0 | CHAR | 2 | T646G | MGEF_GFVM0 | |||
GFVM8 | Hazardous material warning | MGEF_GFVM0 | CHAR | 2 | T646G | MGEF_GFVM0 | |||
SFNR1 | Number of hazardous substance | MGEF_SFNR0 | CHAR | 6 | MGEF_SFNR0 | ||||
SFNR2 | Number of hazardous substance | MGEF_SFNR0 | CHAR | 6 | MGEF_SFNR0 | ||||
SFNR3 | Number of hazardous substance | MGEF_SFNR0 | CHAR | 6 | MGEF_SFNR0 | ||||
SFNR4 | Number of hazardous substance | MGEF_SFNR0 | CHAR | 6 | MGEF_SFNR0 | ||||
SFKO1 | Concentration of hazardous substances | MGEF_SFKO0 | DEC | 5(2) | MGEF_SFKO0 | ||||
SFKO2 | Concentration of hazardous substances | MGEF_SFKO0 | DEC | 5(2) | MGEF_SFKO0 | ||||
SFKO3 | Concentration of hazardous substances | MGEF_SFKO0 | DEC | 5(2) | MGEF_SFKO0 | ||||
SFKO4 | Concentration of hazardous substances | MGEF_SFKO0 | DEC | 5(2) | MGEF_SFKO0 | ||||
FLAPU | Flash point | MGEF_FLAPU | DEC | 5(1) | MGEF_FLAPU | ||||
SIDNR | Safety specifications sheet number | MGEF_SIDNR | CHAR | 10 | MGEF_SIDNR | ||||
SIVAR | Variant of safety specifications sheet | MGEF_SIVAR | CHAR | 8 | MGEF_SIVAR | ||||
SIVER | Version of safety specifications sheet | MGEF_SIVER | CHAR | 6 | MGEF_SIVER | ||||
LGFVM | Hazardous material storage warning | MGEF_LGFVM | CHAR | 2 | T646V | MGEF_LGFVM | |||
AGGRE | State of matter | MGEF_AGGRE | CHAR | 1 | T646A | MGEF_AGGRE | |||
VBFKL | Hazard classification of regulation on combustible fluids | MGEF_VBFKL | CHAR | 4 | MGEF_VBFKL | ||||
STOFT | Short text for number of hazardous material | MGEF_STOFT | CHAR | 40 | TEXT40 | ||||
STOKL | Class of substances | MGEF_STOKL | CHAR | 9 | T023 | MATKL |
Key field | Non-key field |
How do I retrieve data from SAP structure TXI_MGEF using ABAP code?
As TXI_MGEF 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 TXI_MGEF as there is no data to select.How to access SAP table TXI_MGEF
Within an ECC or HANA version of SAP you can also view further information about TXI_MGEF 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