Symptom
-
Database locks causing huge performance degradation in the system
- SQL error "SQL code: 12207" occurred while accessing table "BALDAT", "BALHDR" or "BAL_INDX"
- ST22 short dump reports:
The termination occurred in ABAP program "SAPLSBAL_DB_INTERNAL", in "DELETE_LOGS_PACKAGE". The main program was "SAPMSSY1". - sample DELETE statement involved in deadlock:
SQL Text: DELETE FROM "BALDAT" WHERE "MANDANT" = ? AND "RELID" = 'AL' AND "LOG_HANDLE" IN ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) /* R3:SAPLSBAL_DB_INTERNAL:2261 T:BALDAT M:100 */
Read more...
Environment
- SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite
- SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
- SAP Enterprise Resource Planning (ERP) 6.0
- SAP Customer Relationship Management (CRM) 7.0
- SAP Supplier Relationship Management (SRM) 7.0
- SAP Supply Chain Management (SCM) 7.0
- SAP Solution Manager (SOLMAN) 7.1
- SAP NetWeaver (NW) - All versions
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Customer Relationship Management 7.0 ; SAP ERP 6.0 ; SAP NetWeaver all versions ; SAP Solution Manager 7.1 ; SAP Solution Manager 7.2 ; SAP Supplier Relationship Management 7.0 ; SAP Supply Chain Management 7.0
Keywords
deadlock, BALHDR, BALDAT, , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SRV-BAL , Basis Application Log , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview