DB2TSBACK SAP (List of tablespaces that need a backup) Table details

Dictionary Type: Table
Description: List of tablespaces that need a backup




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




Table field list including key, data, relationships and ABAP select examples

DB2TSBACK is a standard SAP Table which is used to store List of tablespaces that need a backup data and is available within R/3 SAP systems depending on the version and release level.

The DB2TSBACK table consists of various fields, each holding specific information or linking keys about List of tablespaces that need a backup data available in SAP. These include TIME_ANA (Time of the last check), DBNAM (Database name), TSNAM (Name of the tablespace), TSPART (Partition number).. 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: E - Control table, SAP and customer have separate key areas
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP DB2TSBACK 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
DATE_ANADate of the last check DB2BCKDATEDATS8DATUM
TIME_ANATime of the last check DB2BCKTIMETIMS6TIME
DBNAMDatabase name DB2DBNAMECHAR8D2DBNAME
TSNAMName of the tablespace DB2TSNAMECHAR8CHAR8
TSPARTPartition number DB2PARTNRSINT25DB2SINT
NAMEName of the tablespace DB2TSNAMECHAR8CHAR8
CREATORDB2 creator name DB2CREATORCHAR8CHAR8
BPOOLDB2 buffer pool name DB2BPNAMECHAR8DB2BPNAME
LOCKRULELock size of the tablespace DB2LRULECHAR1DB2LRULE
LOCKMAXMaximum number of locks per user before escalating DB2LMAXINT410DB2LMAX
CLOSERULEData sets for closure when limit of open data sets reached DB2CRULECHAR1DB2CRULE
ENCODINGDefault encoding scheme of the tablespace DB2ENCODECHAR1DB2ENCODE
LOCKPARTLockpart for the tablespace DB2LPARTCHAR1DB2LPART
MAXROWSMaximum number of rows that DB2 will place on a data page DB2MROWINT25DB2MROW
PARTITIONSNumber of partitions of the tablespace or indexspace DB2PARTINT25DB2PART
TYPETablespace type DB2TYPECHAR1DB2TYPE
SEGSIZENumber of pages in each segment of a segmented tablespace DB2SSIZEINT25DB2SSIZE
SPACENumber of KB of DASD Storage Allocated to Tablespace DB2SPACEINT410DB2SPACE
NTABLESNumber of tables defined in the tablespace DB2NTABINT25DB2NTAB
STATUSAvailability status of tablespace DB2STATSCHAR1DB2STATS
STATSTIMEDate and time of last RUNSTATS DB2STATSTMCHAR26DB2TMSTMP
ERASERULEDatasets are to be erased when dropped DB2ERULECHAR1DB2ERULE
DBNAMEDatabase name DB2DBNAMECHAR8D2DBNAME
DSETPASSThe password for the datasets of the tablespace DB2DPASSCHAR8DB2DPASS
LOGWhether the changes to a tablespace are to be logged DB2LOGCHAR1DB2LOG
DSSIZEMaximum size of a dataset in KBytes DB2DSIZEINT410DB2DSIZE
PARTNRPartition number DB2PARTNRSINT25DB2SINT
OPERATIONDate and time of last RUNSTATS DB2STATSTMCHAR26DB2TMSTMP
NDAYSNumber of days since last invocation DB2DAYSINT410DB2DAYS
PERCOFFPOSDifferent of far and near optimal position in page DB2OFFPOSINT25DB2OFFPOS
PERCINDREFDifferent of far and near relocated position in page DB2INDREFINT25DB2INDREF
PERCDROPPercentage of space occupied by rows of dropped tables DB2CDROPINT25DB2CDROP
EXTENTSNumber of extents of a tablespace DB2EXTENTINT410DB2EXTENT
REASONReason running utility is recommended DB2REASONCHAR18DB2REASON

Key field Non-key field



How do I retrieve data from SAP table DB2TSBACK using ABAP code

The following ABAP code Example will allow you to do a basic selection on DB2TSBACK to SELECT all data from the table
DATA: WA_DB2TSBACK TYPE DB2TSBACK.

SELECT SINGLE *
FROM DB2TSBACK
INTO CORRESPONDING FIELDS OF WA_DB2TSBACK
WHERE...

How to access SAP table DB2TSBACK

Within an ECC or HANA version of SAP you can also view further information about DB2TSBACK 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!