Uploaded by Rishikesh NS

2603079 E 20220922

advertisement
2022-09-22
2603079
2603079 - Runtime Errors DBSQL_SQL_ERROR short
dump with SQL error "SQL code: 133" in the Solution
Manager System
Version
2
Type
SAP Knowledge Base Article
Language
English
Master Language English
Release Status Released to Customer
Category
Problem
Component
SV-SMG-DVM (Data Volume Management) Released On
21.02.2018
Please find the original document at https://launchpad.support.sap.com/#/notes/2603079
Symptom
In the Solution Manager System, in transaction ST22, the following dump is found:
Runtime Errors DBSQL_SQL_ERROR
Except. CX_SY_OPEN_SQL_DB
Date and Time 11.02.2018 19:25:59
Short Text
SQL error "SQL code: 133" occurred while accessing table "AGSDVMAS_LOG".
What happened?
Database error text: "SQL message: transaction rolled back by detected
deadlock: TrexUpdate failed on table 'SAPABAP1:AGSDVMAS_LOG' with error:
transaction rolled back by detected deadlock: Deadlock detected while
executing transaction (TRANSACTION_ID=36, UPDATE_TRANSACTION_ID"
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
"AGSDVMAS_LOG_ADD" "(FUNCTION)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated this
exception, the current program was terminated.
Information on where terminated
The termination occurred in ABAP program "SAPLAGSDVMAS_SELF_SERVICE", in
"AGSDVMAS_LOG_ADD". The main program
was "AGSDVMAS_CONTROL".
In the source code, the termination point is in line 25 of (Include)
program "LAGSDVMAS_SELF_SERVICEU13".
Program "SAPLAGSDVMAS_SELF_SERVICE" was started as a background job.
The termination is due to exception "CX_SY_OPEN_SQL_DB" occurring in procedure
"AGSDVMAS_LOG_ADD" "(FUN
2 FUNCTION SAPLAGSDVMAS_SELF_SERVICE LAGSDVMAS_SELF_SERVICEU13 25
AGSDVMAS_LOG_ADD
1 EVENT AGSDVMAS_CONTROL AGSDVMAS_CONTROL 151
© 2022 SAP SE or an SAP affiliate company. All rights reserved
1 of 2
2022-09-22
2603079
START-OF-SELECTION
>>>>> INSERT INTO agsdvmas_log VALUES ls_log.
>>>>> INSERT INTO agsdvmas_log VALUES ls_log.CTION)".
Environment
SAP Solution Manager 7.2 SP06
Reproducing the Issue
1. Run the transaction ST22 on the Solution Manager system
2. Find the short dump "DBSQL_SQL_ERROR"
Cause
The dump is caused by several control jobs "AGSDVMAS_CONTROL" in status released, making an entry
into the table "AGSDVMAS_CUST" at the same time
Resolution
1. Call the transaction SM37
2. Enter the job name *AGSDVMAS_CONTROL"
3. Select the control jobs that are in status released leaving one control job running
4. Proceed to delete the additional jobs
5. Enter the Job menu & delete the jobs
Keywords
DBSQL_SQL_ERROR, AGSDVMAS_CONTROL, ST22, SAPLAGSDVMAS_SELF_SERVICE
LAGSDVMAS_SELF_SERVICE, SQL code: 133, agsdvmas_log VALUES ls_log
Products
SAP Solution Manager 7.2
Terms of use | Copyright | Trademark | Legal Disclosure | Privacy
© 2022 SAP SE or an SAP affiliate company. All rights reserved
2 of 2
Download