AMDS SAP (Effective size of tables and indexes in the database) Table details

Dictionary Type: Table
Description: Effective size of tables and indexes in the database




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




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 empty
Display/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
TNAMETable name TNAMECHAR30Assigned to domainAS4TAB
ANDATAnalysis date for application monitor AM_ANDATDATS8SYDATS
ACTIVActivation flag Application monitor AM_ACTIVSCHAR2AM_ACTIVS
AMETHAnalysis Method for Collecting Statistics AM_AMETHCHAR4AM_AMETH
OPTIOSample Size for Collection of Statistics AM_OPTIOCHAR5CHAR5
NROWSNumber of rows in a table OROWSDEC15DEC15
OCCBLUsed blocks of an Oracle table OU_BLOCKSDEC11DEC11
EMPBLEmpty blocks allocated for an Oracle table OE_BLOCKSDEC11DEC11
AFREEAvg. freespace in a used data base block OAVG_BFREEINT410INT4
CHAINNumber of rows requiring block chaining OCHAINEDDEC15DEC15
AROWLAverage row length (Oracle result) OAVG_ROW_LDEC7DEC7_S
INDBLAllocated blocks for an Oracle index OIND_ALLBLDEC11DEC11
INDBSTotal space allocated in the B tree (ORACLE) OBTREE_SPCDEC15DEC15
INDUSTotal space used in B tree (ORACLE) OBTREE_USEDEC15DEC15

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 table
DATA: 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 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!