cancel
Showing results for 
Search instead for 
Did you mean: 

SQL error 3989 occurred when accessing program (Dump: DBIF_REPO_SQL_ERROR)

Former Member
0 Kudos

Hello,

My SAP system shows in ST22 a short-dump related with a Job SAP_BTC_TABLE_CONSISTENCY_CHECK (RSBTCCNS, variant SAP&AUTOREPYES), this is the job log:

In ST22 as I said before, I see the short-dump DBIF_REPO_SQL_ERROR (Program: SAPLSBPT):

The details of this error:

Category              Resource Shortage

Runtime Errors     DBIF_REPO_SQL_ERROR

Date and Time      03.12.2013 00:30:15

Short text:

SQL error 3989 occurred when accessing program

Error analysis:

Error Text of the Database: "New request is not allowed to start because it should come with valid transaction descriptor."

Triggering SQL Statement: "CX_SY_OPEN_SQL_DB=============CP "

How to correct the error:

Internal call code.........: "[REPO/*/43/LOAD/CX_SY_OPEN_SQL_DB=============CP]"

Please check the entries in the system log (Transaction SM21).

If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following keywords:

"DBIF_REPO_SQL_ERROR" " "

"SAPLSBPT" or "LSBPTFXX"

"DO_TBTCO_CONSISTENCY_CHECK"

I tried to found a solution and I read some SAP notes for that purpose like the following ones:

1440439 - New Standard Jobs (2)

1549293 - SM65: Consistency check improvements

I also read the following blog post:

Can you help me please to understand this problem and how can I correct this issue!!?

Thank you

Kind regards,

samid raif

Accepted Solutions (1)

Accepted Solutions (1)

Sriram2009
Active Contributor
0 Kudos
Former Member
0 Kudos

Hello Sriram,

I read that SAP note (1893670) and I implemented it, but it continues to show me the same error.

Any tips?

Kind regards,

samid raif

joo_migueldimas
Active Participant
0 Kudos

Hello raif,

Some weeks ago I faced a similar error, what I did to solve was... first check the jobs SAP_BTC_TABLE_CONSISTENCY_CHECK (RSBTCCNS) and SAP_REORG_JOBS (RSBTCDEL2) and check if they are schedule at the same time. If so, try to schedule again that two jobs with different hours of running start so they won't be overlapped in their execution!

After that please check if the error is shown again.

I´ll wait for some feedback.

Kind regards,

João Dimas

Former Member
0 Kudos

Hello João,

I did exactly what you recommended and now I think the problem/error is solved. I scheduled again those two SAP jobs with different hours of running start, the SAP_REORG_JOBS (RSBTCDEL2) start daily at 00:40 and the job SAP_BTC_TABLE_CONSISTENCY_CHECK (RSBTCCNS) start daily at 00:30.

Now it seems to me that everything is working fine without errors in ST22

Thank you very much,

BR,

samid raif

Answers (3)

Answers (3)

former_member45419
Active Contributor
0 Kudos
ashish_vikas
Active Contributor
0 Kudos

please check if you are not running this job parallely when job with report RSBTCDEL2 runs.

Can you try to do this and see if it works :

SM65 choose "Goto -> Additional tests". Select "Consistency check DB tables" and "Remove inconsistencies". Choose "Execute".

best regards

ashish

Former Member
0 Kudos

Hi,

Can you please check this note as it says that you done need to run this.

1626758 - Background consistency check no longer runs as job

But this note suggest that no more it locks the table

1549293 - SM65: Consistency check improvements

Try to run the program manually and see if it works.

Thanks

Rishi Abrol