DB4WTSTS_P SAP (iSeries: Wait Statistics per Process (Database Jobs)) Structure details
Description: iSeries: Wait Statistics per Process (Database Jobs)
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_P | Server Name | MSNAME | CHAR | 20 | MSNAME | ||||
PID | Process Identification | WPPID | CHAR | 8 | WPPID | ||||
JOBNUM | iSeries: Job Number (Database Monitor) | QQJNUM | CHAR | 6 | QQJNUM | ||||
WDB | Number of times a process had to wait to obtain a DB lock | DB_WAITS | INT4 | 10 | INT4 | ||||
WNDB | Number of times a process had to wait to obtain a nonDB lock | NDB_WAITS | INT4 | 10 | INT4 | ||||
WIM | No. of times a process had to wait to obtain an IM lock | IM_WAITS | INT4 | 10 | INT4 | ||||
WDBT | Cumulative time (millisec.) spent on database lock waits | DB_W_TIME | INT4 | 10 | INT4 | ||||
WNDBT | Cumulative time (millisec.) spent on non-DB lock waits | NDB_W_TIME | INT4 | 10 | INT4 | ||||
WIMT | Cumulative time (millisec.) spent on internal machine waits | IM_W_TIME | INT4 | 10 | INT4 | ||||
WDBT_AVG | Average process database lock wait time (ms) | WDBT_AVG | DEC | 15(4) | DEC154_DB4 | ||||
WNDBT_AVG | Average process non-database lock wait time (ms) | WNDBT_AVG | DEC | 15(4) | DEC154_DB4 | ||||
WIMT_AVG | Average process internal machine lock wait time (ms) | WIMT_AVG | DEC | 15(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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects