DB2DEADRS SAP (RFC - Deadlock Structure Resources, Holder and Waiter) Structure details

Dictionary Type: Structure
Description: RFC - Deadlock Structure Resources, Holder and Waiter




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




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

DB2DEADRS 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 "RFC - Deadlock Structure Resources, Holder and Waiter" 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_DB2DEADRS TYPE DB2DEADRS.

The DB2DEADRS table consists of various fields, each holding specific information or linking keys about RFC - Deadlock Structure Resources, Holder and Waiter data available in SAP. These include LODRSSSID (DB2 subsystem ID), LODRSLUUV (Instance number (unique value)), LODRSDATE (Field of type DATS), LODRSTIME (Field of type TIMS).. 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: Cannot Be Enhanced


SAP DB2DEADRS 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
LODRSSSIDDB2 subsystem ID DB2SWPSSIDCHAR4DB2CHAR04
LODRSLUUVInstance number (unique value) DB2INSTNORAW12DB2RAW12
LODRSDATEField of type DATS DATSDATS8DATS
LODRSTIMEField of type TIMS TIMSTIMS6TIME
LODRSMSECEvent time stamp (milliseconds) DB2EVTTMSCHAR6DB2CHAR06
LODRSCNTDB2/390: Unique counter DB2UCNTINT410
LODRSFRThe type of resource held by a lock DB2RESTYPECHAR20CHAR20
LODRSKDThe name of the DB2 database DB2DBOWNERCHAR16DB2CHAR16
LODRSKPObject name DB2PAGES2CHAR18DB2CHAR18
LODRSK1Page number DB2PAGENRCHAR10DB2CHAR10
LODRSK2Row ID or partition number, depending on resource type DB2PARTNRCHAR3DB2CHAR03
LODRSHPDB2 plan name DB2WHCPLANCHAR128CHAR128
LODRSHBThe authorization ID under which the transaction is running DB2WHCAIDCHAR128CHAR128
LODRSHNThe connection ID of the thread DB2WHCCNCHAR8DB2CHAR08
LODRSHRThe correlation ID of the thread (IP address) DB2WHCCVCHAR16DB2CHAR16
LODRSHCDB2/390: End user ID (in DB2 sense) DB2LEUIDCHAR128CHAR128
LODRSHJEnd user transaction name DB2LEUTXCHAR32DB2CHAR32
LODRSHKEnd user workstation name DB2LEUWNCHAR18DB2CHAR18
LODRSHACCT DB2 accounting string suffix0
LODRSHLUUVInstance number (unique value) DB2INSTNORAW12DB2RAW12
LODRSHTDB2/390: Unique counter DB2UCNTINT410
LODRSHIDB2 member name in data sharing environment DB2MEMNCHAR8DB2CHAR08
LODRSHSThe mode of the lock held on the resource DB2LOCKMSCHAR3DB2CHAR03
LODRSHDLock duration of the thread holding the resource DB2SWDCHAR12DB2CHAR12
LODRSHFRFC - raw 1 DB2RAW1RAW1DB2RAW1
LODRSWPDB2 plan name DB2WHCPLANCHAR128CHAR128
LODRSWBThe authorization ID under which the transaction is running DB2WHCAIDCHAR128CHAR128
LODRSWNThe connection ID of the thread DB2WHCCNCHAR8DB2CHAR08
LODRSWRThe correlation ID of the thread (IP address) DB2WHCCVCHAR16DB2CHAR16
LODRSWCDB2/390: End user ID (in DB2 sense) DB2LEUIDCHAR128CHAR128
LODRSWJEnd user transaction name DB2LEUTXCHAR32DB2CHAR32
LODRSWKEnd user workstation name DB2LEUWNCHAR18DB2CHAR18
LODRSWACCT DB2 accounting string suffix0
LODRSWLUUVInstance number (unique value) DB2INSTNORAW12DB2RAW12
LODRSWTDB2/390: Unique counter DB2UCNTINT410
LODRSWIDB2 member name in data sharing environment DB2MEMNCHAR8DB2CHAR08
LODRSWFIRLM function request (LOCK, UNLOCK, or CHANGE) DB2SWUCHAR6DB2CHAR06
LODRSWSThe mode of the lock held on the resource DB2LOCKMSCHAR3DB2CHAR03
LODRSWDDB2/390: Waiter duration DB20172WDCHAR12DB2CHAR12
LODRSWGRFC - raw 1 DB2RAW1RAW1DB2RAW1
LODRSWATimeout intervals that can occur before agent is timed out DB2W0196TCINT410DB2INT4
LODRSHSTID DB2RHSTIDINT410DB2INT4
LODRSWSTID DB2RWSTIDINT410DB2INT4
RZ20 Already reported to transaction RZ20?0
E2E Already reported to SolMan E2E alerting?0
HWPTYPECorresponding R/3 work process type DB2WPTYECHAR5DB2CHAR05
HWPTYPEprocess type DB2PROCTYPCHAR11
HWPNUMBERWork process number DB2WPNUMNUMC10DB2NUMC10
HWPIDWork process ID DB2WPIDNUMC10DB2NUMC10
HWPNUMBERprocess ID DB2PROCIDNUMC19
HWPIDWork process ID DB2WPIDNUMC10DB2NUMC10
HASHOSTApplication server host name DB2ASHOSTCHAR32DB2CHAR32
HASHOSTApplication server host name DB2ASHOSTCHAR32DB2CHAR32
WWPTYPECorresponding R/3 work process type DB2WPTYECHAR5DB2CHAR05
WWPTYPEprocess type DB2PROCTYPCHAR11
WWPNUMBERWork process number DB2WPNUMNUMC10DB2NUMC10
WWPIDWork process ID DB2WPIDNUMC10DB2NUMC10
WWPNUMBERprocess ID DB2PROCIDNUMC19
WWPIDWork process ID DB2WPIDNUMC10DB2NUMC10
WASHOSTApplication server host name DB2ASHOSTCHAR32DB2CHAR32
MEMBERDB2 member name in data sharing environment DB2MEMNCHAR8DB2CHAR08
WASHOSTApplication server host name DB2ASHOSTCHAR32DB2CHAR32
MEMBERDB2 member name in data sharing environment DB2MEMNCHAR8DB2CHAR08
HOLDERSQLStatement text DB2QSTSTMTCHAR255
HSQLTOKNStatement ID DB2QSTTOKNINT410DB2INT4
HOLDERSQLStatement text DB2QSTSTMTCHAR255
HSQLSTNMDB2 statement name DB2QSTSTNMRAW16DB2RAW16
HSQLTOKNStatement ID DB2QSTTOKNINT410DB2INT4
HSQLSTNMDB2 statement name DB2QSTSTNMRAW16DB2RAW16
WAITERSQLStatement text DB2QSTSTMTCHAR255
WSQLTOKNStatement ID DB2QSTTOKNINT410DB2INT4
WAITERSQLStatement text DB2QSTSTMTCHAR255
WSQLSTNMDB2 statement name DB2QSTSTNMRAW16DB2RAW16
WSQLTOKNStatement ID DB2QSTTOKNINT410DB2INT4
HCONNAME Database connection name0
WSQLSTNMDB2 statement name DB2QSTSTNMRAW16DB2RAW16
HCONNAME Database connection name0
WCONNAME Database connection name0
HSAPSID SAP system ID (SAPSID)0
WCONNAME Database connection name0
HSAPSID SAP system ID (SAPSID)0
HABAPREPABAP Program: Current Main Program SYREPIDCHAR40Assigned to domainPROGRAMM
HTXCODE 0
HABAPREPABAP Program: Current Main Program SYREPIDCHAR40Assigned to domainPROGRAMM
HTXCODEtransaction / thread name DB2TXNAMECHAR80
HENDUSER SAP end-user ID0
HENDUSER SAP end-user ID0
HJ2EESER J2EE service type0
WSAPSID SAP system ID (SAPSID)0
HJ2EESER J2EE service type0
WSAPSID SAP system ID (SAPSID)0
WABAPREPABAP Program: Current Main Program SYREPIDCHAR40Assigned to domainPROGRAMM
WTXCODE 0
WABAPREPABAP Program: Current Main Program SYREPIDCHAR40Assigned to domainPROGRAMM
WTXCODEtransaction / thread name DB2TXNAMECHAR80
WENDUSER SAP end-user ID0
WENDUSER SAP end-user ID0
WJ2EESER J2EE service type0
WJ2EESER J2EE service type0

Key field Non-key field



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

As DB2DEADRS 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 DB2DEADRS as there is no data to select.

How to access SAP table DB2DEADRS

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