Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Run time error: SQL error "SQL code: 133" occurred while accessing table "LAGP"

sanjay_deshpande4
Participant
0 Likes
5,503

Dear All,

FOllowing are the details of deadlock runtime error occuring.

What happened?

    Database error text: "SQL message: transaction rolled back by detected

     deadlock: TrexUpdate failed on table 'SAPSR3:LAGP' with error: transaction

     rolled back by detected deadlock: Deadlock detected while executing

     transaction (TRANSACTION_ID=27, UPDATE_TRANSACTION_ID=431841463"

error at following line:

 

SELECT SINGLE FOR UPDATE * FROM LAGP
WHERE LGNUM = KEY_LAGP-LGNUM
AND LGTYP = KEY_LAGP-LGTYP
AND LGPLA = KEY_LAGP-LGPLA.

Now what i know is their are two progs simultaneously trying to access same LAGP table record.However which two programms are trying to access is not known.

The progrm not available in dump log.

Can any body guide me how to find these programmes?

Regards,

SD

2 REPLIES 2
Read only

SimoneMilesi
Active Contributor
0 Likes
2,414

Did you updated LAGP before doing the read?

Read only

0 Likes
2,414

The curser is on standard code.