DB4WTSTS_P SAP (iSeries: Wait Statistics per Process (Database Jobs)) Structure details

Dictionary Type: Structure
Description: iSeries: Wait Statistics per Process (Database Jobs)




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




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

DB4WTSTS_P is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "iSeries: Wait Statistics per Process (Database Jobs)" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_DB4WTSTS_P TYPE DB4WTSTS_P.

The DB4WTSTS_P table consists of various fields, each holding specific information or linking keys about iSeries: Wait Statistics per Process (Database Jobs) data available in SAP. These include PID (Process Identification), JOBNUM (iSeries: Job Number (Database Monitor)), WDB (Number of times a process had to wait to obtain a DB lock), WNDB (Number of times a process had to wait to obtain a nonDB lock).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP DB4WTSTS_P structure 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
INSTANCE_PServer Name MSNAMECHAR20MSNAME
PIDProcess Identification WPPIDCHAR8WPPID
JOBNUMiSeries: Job Number (Database Monitor) QQJNUMCHAR6QQJNUM
WDBNumber of times a process had to wait to obtain a DB lock DB_WAITSINT410INT4
WNDBNumber of times a process had to wait to obtain a nonDB lock NDB_WAITSINT410INT4
WIMNo. of times a process had to wait to obtain an IM lock IM_WAITSINT410INT4
WDBTCumulative time (millisec.) spent on database lock waits DB_W_TIMEINT410INT4
WNDBTCumulative time (millisec.) spent on non-DB lock waits NDB_W_TIMEINT410INT4
WIMTCumulative time (millisec.) spent on internal machine waits IM_W_TIMEINT410INT4
WDBT_AVGAverage process database lock wait time (ms) WDBT_AVGDEC15(4) DEC154_DB4
WNDBT_AVGAverage process non-database lock wait time (ms) WNDBT_AVGDEC15(4) DEC154_DB4
WIMT_AVGAverage process internal machine lock wait time (ms) WIMT_AVGDEC15(4) DEC154_DB4

Key field Non-key field



How do I retrieve data from SAP structure DB4WTSTS_P using ABAP code?

As DB4WTSTS_P is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on DB4WTSTS_P as there is no data to select.

How to access SAP table DB4WTSTS_P

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