11-20-2007 10:43 PM
Hi,
I am getting waiting Issues with Update of table VARINUM. Has anybody faced such an issue.
I have a lot of Jobs which are running in background. I am submitting it through a report. what can be the issue.
Regards,
Abhishek jolly
11-20-2007 10:48 PM
If each of the jobs is updating the table, they could be waiting for locks to release.
Rob
11-20-2007 10:53 PM
There is no locking on the table VARINUM by SAP. The system goes into Waiting forever and it timesout after sometime.
11-20-2007 11:26 PM
May be your update processes are not free. Check in the SM51.
Regards,
Naimesh Patel
11-20-2007 11:48 PM
I am having issue in the production system where a lot of processes are going on.
Its only the table VARINUM that is having issues with Update.
Regards,
Abhishek
11-21-2007 3:13 AM
Can you post the update code? Is it doing a SELECT SINGLE FOR UPDATE?
Rob
11-21-2007 7:18 PM
There are only around 300 entries in the table VARINUM. The code below is having issues.
varinum-numid = 'VJ'.
varinum-report = progname.
update varinum set vnumber = vnumber + 1
where numid = varinum-numid
and report = varinum-report.
There are a lot of jobs submitted through BAPI in Background which try to update this table. Because of concurrency of the No of Processes trying to udpate VARINUM the update goes into a long wait..
11-21-2007 7:36 PM
Can you try with this?
arinum-numid = 'VJ'.
varinum-report = progname.
l_vnumber = vnmumber + 1.
update varinum set vnumber = l_vnumber " <<
where numid = varinum-numid
and report = varinum-report.
Regards,
Naimesh Patel
11-21-2007 9:39 PM
Hi,
Its part of Standard Sap report. is there any SAP Note for this or anything that can be done from the Basis side
11-21-2007 9:47 PM
11-24-2007 5:45 PM
12-02-2007 4:32 PM
12-03-2014 10:48 AM
Thisi is quite old, but not answered properly yet, so there you go:
SAP generates a new job and temporary variant on report RSDBSPJS, for each HTTP call,which creates database locks on table VARINUM .
This causes any heavyweight BSP application to hang and give timeout errors.
The problem is fixed applying OSS note 1791958, which is not included in any service pack.