11-28-2014 10:50 AM
Hello Experts,
SQL error "SQL code: -911" occurred while accessing table "ZWMD_XF_PO_LOG".
I am getting the dump in the below line of code.
Here we are inserting values into the table.
INSERT INTO zwmd_xf_po_log VALUES zla_zwmd_xf_po_log.
Database error text: "SQL message: SQL0911N The current transaction has been
rolled back because of a deadlock or timeout. Reason code "2".
SQLSTATE=40001 row=1"
These are the some observation from ST22
What happened?
Database error text: "SQL message: SQL0911N The current transaction has been
rolled back because of a deadlock or timeout. Reason code "2".
SQLSTATE=40001 row=1"
What can you do?
Note which actions and entries caused the error to occur.
Consult your SAP administrator.
Error analysis :
An exception has occurred which is explained in more detail below. The
exception is assigned to class 'CX_SY_OPEN_SQL_DB' and was not caught in
procedure
The termination occurred in ABAP program "SAPLZWMD_WXF_PO_UTILITIES", in
"WRITE_ZLOG".
In the source code, the termination point is in line program "LZWMD_WXF_PO_UTILITIESU05".
The termination is due to exception "CX_SY_OPEN_SQL_DB" occurring in procedure
11-28-2014 11:25 AM
Hi ABAPER P,
Are you writing open sql statement or native sql statement in abap aditor ?
IF it is native sql statement syntax should be :
INSERT INTO table_name
VALUES (value1,value2,value3,...);
If it is Open Sql Statement,
Insert Tablename From Table Internaltablename.
Hope this will work.
Regards,
Sagar
11-28-2014 11:31 AM
Hello,
Check in SM21 whether the object which you are trying to access was locked by other user during that time.
Regards,
Tp
11-28-2014 1:35 PM
i have checked it but i have found the entries in sm21 how to check who has locked it ?
11-28-2014 2:28 PM
Provide us the screenshot of the SM21 log. I will help you.
Regards,
Tp
11-28-2014 2:34 PM
11-28-2014 2:43 PM
11-28-2014 3:16 PM
mens this object is locked ? but system log shows even critical errors and dumps also
11-28-2014 3:18 PM
11-28-2014 3:24 PM