Menu

SAP Function Module DB6_HIS_TABLE_INDEX_HD

DB6: get table index history

The Function Module DB6_HIS_TABLE_INDEX_HD (DB6: get table index history) is a standard Function Module in SAP ERP and is part of the function group SDB6DB02 within the package STU6.

Technical Information

Function Module DB6_HIS_TABLE_INDEX_HD
Short Text DB6: get table index history
Function Group SDB6DB02
Package STU6
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MAXOBJ TYPE I DB6: max rows to return, if maxobj_active - 'X'
MAXOBJ_ACTIVE LIKE DB6PMHT_HD-STATTYPE DB6: is maxobj relevant
OBJECTNAME LIKE DB6PMHT_HD-OBJECTNAME DB2 Universal Database: Table Name
OBJECTTYPE LIKE DB6PMHT_HD-OBJECTTYPE DB6: type of object (T-table,I-Index)
RBGROWTH LIKE DB6PMHT_HD-STATTYPE DB6: sorted by growth
RBSIZE LIKE DB6PMHT_HD-STATTYPE DB6: sorted by size
SIZEKB LIKE DB6PMHT_HD-SIZEKB DB6: size of object in KB
STATTYPE LIKE DB6PMHT_HD-STATTYPE DB6: Type of statistics (D-daily,W-weekly,M-monthly)
TBSNAME LIKE DB6PMHT_HD-TBSNAME DB2 Universal Database: Tablespace Name

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IT_DB6PM_T_HD LIKE DB6PM_T_HD DB6: summary record of table & index space statistics

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ERROR_CALCULATING Error while calculating some figures
INVALID_PARAMETER_SET An invalid parameter is used
NO_HISTORY_FOUND required history records could not be read