AMDS SAP (Effective size of tables and indexes in the database) Table details
Description: Effective size of tables and indexes in the database
Table field list including key, data, relationships and ABAP select examples
AMDS is a standard SAP Table which is used to store Effective size of tables and indexes in the database data and is available within R/3 SAP systems depending on the version and release level.
The AMDS table consists of various fields, each holding specific information or linking keys about Effective size of tables and indexes in the database data available in SAP. These include ANDAT (Analysis date for application monitor), ACTIV (Activation flag Application monitor), AMETH (Analysis Method for Collecting Statistics), OPTIO (Sample Size for Collection of Statistics).. 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: L - Table for storing temporary data, is delivered emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP AMDS 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 |
TNAME | Table name | TNAME | CHAR | 30 | Assigned to domain | AS4TAB | |||
ANDAT | Analysis date for application monitor | AM_ANDAT | DATS | 8 | SYDATS | ||||
ACTIV | Activation flag Application monitor | AM_ACTIVS | CHAR | 2 | AM_ACTIVS | ||||
AMETH | Analysis Method for Collecting Statistics | AM_AMETH | CHAR | 4 | AM_AMETH | ||||
OPTIO | Sample Size for Collection of Statistics | AM_OPTIO | CHAR | 5 | CHAR5 | ||||
NROWS | Number of rows in a table | OROWS | DEC | 15 | DEC15 | ||||
OCCBL | Used blocks of an Oracle table | OU_BLOCKS | DEC | 11 | DEC11 | ||||
EMPBL | Empty blocks allocated for an Oracle table | OE_BLOCKS | DEC | 11 | DEC11 | ||||
AFREE | Avg. freespace in a used data base block | OAVG_BFREE | INT4 | 10 | INT4 | ||||
CHAIN | Number of rows requiring block chaining | OCHAINED | DEC | 15 | DEC15 | ||||
AROWL | Average row length (Oracle result) | OAVG_ROW_L | DEC | 7 | DEC7_S | ||||
INDBL | Allocated blocks for an Oracle index | OIND_ALLBL | DEC | 11 | DEC11 | ||||
INDBS | Total space allocated in the B tree (ORACLE) | OBTREE_SPC | DEC | 15 | DEC15 | ||||
INDUS | Total space used in B tree (ORACLE) | OBTREE_USE | DEC | 15 | DEC15 |
Key field | Non-key field |
How do I retrieve data from SAP table AMDS using ABAP code
The following ABAP code Example will allow you to do a basic selection on AMDS to SELECT all data from the tableDATA: WA_AMDS TYPE AMDS.
SELECT SINGLE *
FROM AMDS
INTO CORRESPONDING FIELDS OF WA_AMDS
WHERE...
How to access SAP table AMDS
Within an ECC or HANA version of SAP you can also view further information about AMDS 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