Menu

SAP Function Module DB6_PM_BACKUPHISTORY

DB6: List Entries of DB2 Backup History File

The Function Module DB6_PM_BACKUPHISTORY (DB6: List Entries of DB2 Backup History File) is a standard Function Module in SAP ERP and is part of the function group SDB6PM within the package STU6.

Technical Information

Function Module DB6_PM_BACKUPHISTORY
Short Text DB6: List Entries of DB2 Backup History File
Function Group SDB6PM
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
CALLERFLAG LIKE DB6PMCD-CALLERFLAG Who Has Called this Program
CONNECTION LIKE DBCON-CON_NAME Logical name for a database connection
DAYS TYPE I DB6: Days to retrieve from backup history (default one year)
PARTITN LIKE DB6PMCD-PARTITN Partition Number

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_DB6PMCK LIKE DB6PMCK DB6: all backups of db2 history file
IT_DB6PMCK_P LIKE DB6PMCK_P DB6: all backuped tablespaces of db2 history file

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
C_CALL_FAILED error at processing of C call to DB collector RDI
INVALID_PARAMETER_SET invalid or missing parameters
NODE_INFORMATION_NOT_FOUND list of DB6 nodes(partitions) could not be read
NO_HISTORY_FOUND required history records could not be read