MAEX SAP (Material Master: Legal Control) Table details
Dictionary Type: Table
Description: Material Master: Legal Control
Description: Material Master: Legal Control
Table field list including key, data, relationships and ABAP select examples
MAEX is a standard SAP Table which is used to store Material Master: Legal Control data and is available within R/3 SAP systems depending on the version and release level.
The MAEX table consists of various fields, each holding specific information or linking keys about Material Master: Legal Control data available in SAP. These include MATNR (Material Number), ALAND (Departure country (country from which the goods are sent)), GEGRU (Legal regulation for legal control), ALNUM (Export control class according the legal reg. for legal ctrl).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP MAEX table 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 | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
ALAND | Departure country (country from which the goods are sent) | ALAND | CHAR | 3 | T005 | LAND1 | VAL | ||
GEGRU | Legal regulation for legal control | GEGRU | CHAR | 2 | T606G | GEGRU | GEG | ||
ALNUM | Export control class according the legal reg. for legal ctrl | ALNUM | CHAR | 14 | T606H | ALNUM | ALN | ||
EMBGR | Grouping for Legal Control | EMBGR | CHAR | 14 | T606I | EMBGR | EMB | ||
PMAST | Individual maint. of matl master for legal control possible | PMAST | CHAR | 1 | XFELD | ||||
SECGK | Legal Control: Special Characteristics Code for Goods | SECGK | CHAR | 5 | T606D | SECGK |
Key field | Non-key field |
How do I retrieve data from SAP table MAEX using ABAP code
The following ABAP code Example will allow you to do a basic selection on MAEX to SELECT all data from the tableDATA: WA_MAEX TYPE MAEX.
SELECT SINGLE *
FROM MAEX
INTO CORRESPONDING FIELDS OF WA_MAEX
WHERE...
How to access SAP table MAEX
Within an ECC or HANA version of SAP you can also view further information about MAEX 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