MSSXEDEADLCK SAP (Deadlock Information for MSSQL Server from X-Events) Structure details

Dictionary Type: Structure
Description: Deadlock Information for MSSQL Server from X-Events




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




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

MSSXEDEADLCK 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 "Deadlock Information for MSSQL Server from X-Events" 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_MSSXEDEADLCK TYPE MSSXEDEADLCK.

The MSSXEDEADLCK table consists of various fields, each holding specific information or linking keys about Deadlock Information for MSSQL Server from X-Events data available in SAP. These include TM (Time when deadlock occurred), PROCESSID (Deadlock process ID), VICTIM (Was this process a victim), SPID (MS SQL Server process ID).. 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 MSSXEDEADLCK 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
DTDate when a deadlock occurred MSSDLDTDATS8DATUM
TMTime when deadlock occurred MSSDLTMTIMS6SYTIME
PROCESSIDDeadlock process ID MSSDLPIDCHAR32
VICTIMWas this process a victim MSSDLVICTIMCHAR1BOOLEAN
SPIDMS SQL Server process ID MSSSPIDINT25INT2
DBDatabase name MSSDBCHAR128MSSSYSNAME
WAITRESOURCEWait Resource as seen in sysprocesses MSSWAITRSCCHAR40
WAITTIMEProcess wait time MSSDLWAITTMDEC20
HOSTNAMEApplication server name MSSAPPHOSTCHAR20MSHOST
HOSTPIDMS SQL-Server host process id (= OS work process ID) MSSHOSTPIDCHAR8WPPID
LOGINNAMELogin name MSSLOGINNAMECHAR128MSSSYSNAME
INPUTBUFOutput from DBCC INPUTBUFFER for lock display MSSINPUTBUFFCHAR40
TXACTNAMETransaction name MSSTXACTCHAR64
OWNEROBJNAMEOwner object name MSSOWNOBJCHAR512
OWNERINDNAMEOwner index name MSSOWNINDCHAR512
OWNERMODEOwner mode MSSOWNMODECHAR20
WAITEROBJNAMEWaiter object name MSSWAITEROBJCHAR512
WAITERINDNAMEWaiter index name MSSWAITERINDCHAR512
WAITERMODEWaiter mode MSSWAITERMODECHAR20
DEADLOCKGRAPHDeadlock graph MSSDLGRAPHSTRG0STRING
SQLHANDLEhandle pointing to sql statment or procedure MSSSQLHANDLECHAR130MSSHANDLE
STMT_START_OFFSETStart statement offset MSSSTARTOFFSETINT410INT4
STMT_END_OFFSETStatement end offset MSSENDOFFSETINT410INT4

Key field Non-key field



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

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

How to access SAP table MSSXEDEADLCK

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