SM37 Job Delay Seconds
Hi, When my scheduled LIS Jobs run on R3 I am noticing that they all show some kind of Delay in SM37 before they run. The Jobs run every 4 hours and during most of the runs there isn't any real amount of system activity going on so I'm guessing this shouldn't be happening.
Can anyone tell me what would cause this delay and what/should I do anything about it?
Thanks!
Ken,
How much is the delay? Is it < 60 seconds or more than that? The job scheduler wakes intermittently to run the background jobs (parameter rdisp/btctime in the instance profile). If it is more than that, then it usually there are no available jobs on the designated server or in the system.
-regards
Similar Messages
-
Hi,
I had a 2 SM37 Jobs in BW.
for the next 3 Weeks my requirment is to schedule One Job to run from MON-WEd and Another jon to run THu-SAT
How can i schedule/release a job in SM37 and meet my requirmenthi friends..
your solution might be correct, but we need to create 3 jobs with different timings (MON, TUE, WED) and same for the second also then the number of jobs created are 6, here time is wasted i think so.
so i have one small idea, i hope it works.
make a FACTORY CALENDAR such with MON, TUE, WED as working days and while scheduling the job use that factory calendar. and create one more FACTORY CALENDAR with THU, SAT as working days and us it for scheduling the second job.
hope it works.
Edited by: ahamad4sap on Aug 23, 2010 11:30 PM -
Report to do check status of sm37 jobs
Hello,
I wold like to create a job that checks the status of all running jobs on sm37 (the same as when we go to SM37,job, check status), can anyone tell me the name of the program that does that?
Thanks,
PedroHi,
Good Day,
TRY SM50 Transaction. Program Name : RSMON000_ALV.
Best Regards,
Suresh Kumar K
Assign Points if its useful. -
Hi
How to cancel or put on hold a Released/Scheduled SM37 Job in BW
ThanksHi,
Please go to SM37 and select the job and click on Job Details and copy the PID and note down the application Server where it is running and go back to the Job Overview screen and Click on Application Server at the right top corner and double click on the Corresponding server and it will take you to the SM50 Screen where you can give a search for the PID(Delete the Dot and Search). once you found the PID click on Process Menu and Select the option Cancel Without Core.
Regards,
Syed -
Hello all,
Can someone explain why Job was Canceled...
tx = SM37 - JOBs were CANCELED
Some JOBS were finished ans some were canceled:
name: DELIVERY_APR / user: JHERNANS/ stts: COMPLETED/ date: 06.06.2007/start: 01:00:32/ finished: 07:26:17
name: DELIVERY_JUN / user: JHERNANS/ stts: CANCELED/ date: 06.06.2007/start: 01:00:36 /finished: 01:03:56/
name: DELIVERY_MAR / user: JHERNANS/ status: CANCELED/ date: 06.06.2007/ start: 01:00:32
name: TS MAY NAT/ user: JHERNANS/ status: CANCELED/ date: 06.06.2007/ start: 01:00:36
All JOBS above has just 1 STEP which is:
ABAP program: AQIWGM==========TS============
However each JOB has a different VARIANT(PARAMETER):
job: DELIVERY_APR / parameter: &0000000004820
job: DELIVERY_JUN / parameter: &0000000004885
job: DELIVERY_MAR / parameter: &0000000004801
job: TS MAY NAT / parameter: &0000000004856
ALL CANCELEDS JOBS were canceled because :
ABAP/4 processor: DBIF_RSQL_SQL_ERROR
All CANCELED JOBS has the same at Job Log:
- ABAP/4 processor: DBIF_RSQL_SQL_ERROR/ message class: 00/ message nº: 671/ message type: A
- Job cancelled/ message class: 00/ message nº: 518/ message type: A
Question: What has happened?
Is a time overlapping problem
Or
Can it be a program problem?
In Source Code Extract from the dump message there is:
002400 START-OF-SELECTION.
002410 perform init_texthandling(rsaqexce) using 'CL_TEXT_IDENTIFIER' ' ' 'ZSTE
002420 data: %ret type i.
002430 if sy-batch is initial and %excel is not initial.
002440 perform check_wingui(rsaqsyst) using %ret.
002450 if %ret <> 0.002460 message e842(aq).
002470 endif.
002480 endif.
002490 perform authority_begin(rsaqexce).
002500 perform authority(rsaqexce) using 'LIPS'.
002510 perform authority(rsaqexce) using 'VBUP'.
002520 perform authority(rsaqexce) using 'VBAP'.
002530 perform authority(rsaqexce) using 'LIKP'.
002540 perform authority(rsaqexce) using 'VBAK'.
002550 perform authority(rsaqexce) using 'KNA1'.
002560 perform authority_end(rsaqexce).
+002570 perform %comp_ldesc.
select LIPSLFIMG LIPSLGORT LIPSPOSNR LIPSVBELN LIPSVGBEL LIPSVGPOS
002590 VBUP~WBSTA
002600 into (LIPS-LFIMG , LIPS-LGORT , LIPS-POSNR , LIPS-VBELN , LIPS-VGBEL , L
002610 , VBUP-POSNR , VBUP-VBELN , VBUP-WBSTA )
002620 from ( LIPS
002630 inner join VBUP
002640 on VBUPPOSNR = LIPSPOSNR
002650 and VBUPVBELN = LIPSVBELN )
002660 where LIPS~LFIMG in SP$00020
002670 and LIPS~LGORT in SP$00005
002680 and LIPS~VBELN in SP$00018
002690 and LIPS~VGBEL in SP$00022
002700 and LIPS~WERKS in SP$00017
002710 and VBUP~KOSTA in SP$00014.
002720 and VBUP~WBSTA in SP$00012.
002730 %dbacc = %dbacc 1.+002740 if %dbacc = 0.
002750 stop.
002760 endif.
002770 check SP$00020.
LOOKING MORE the DUMP SCREEN:
Runtime errors DBIF_RSQL_SQL_ERROR
Exception CX_SY_OPEN_SQL_DB
Occurred on 06.06.2007 at 01:03:56
An SQL error occurred when accessing a table.
What happened?
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer termination messages, especially those beyond their normal deletion date.
Error analysis
An exception occurred. This exception will be dealt with in more detail below. The exception, assigned to the class 'CX_SY_OPEN_SQL_DB', was not caught, which led to a runtime error. The reason for this exception is:
How to correct the error
Database error text........: "ORA-01114: IO error writing block to file %s (block # %s)" Internal call code "[RSQL/FTCH/LIPS ]"
Please check the entries in the system log (Transaction SM21).
You may able to find an interim solution to the problem in the SAP note system. If you have access to the note system yourself, use the following search criteria:
"DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC
"AQIWGM==========TS============" or "AQIWGM==========TS============"
"START-OF-SELECTION"
Thanks a lot,
BarbaraFrom the dump:
> select LIPSLFIMG LIPSLGORT LIPSPOSNR LIPSVBELN LIPSVGBEL LIPSVGPOS
002590 VBUP~WBSTA
002600 into (LIPS-LFIMG , LIPS-LGORT , LIPS-POSNR , LIPS-VBELN , LIPS-VGBEL , L
002610 , VBUP-POSNR , VBUP-VBELN , VBUP-WBSTA )
The listing seems to be cut off, so I don't know if this is the error or not, but it's something you can check.
Rob -
FM to deschedule Multiple SM37 Jobs
Hi All,
I need to deschedule about 250 SM37 Jobs.
Is there any FM or Program to accomplish this, So that i can give only list of jobs and let the program to deschedule.
Regards,
Vijay.Hi,
See the Belwo FM's
<b>SAP_REORG_JOBSTATISTIC</b> --> Deletes job statistics for jobs not run since the specified date (statistics no longer needed since job was a one-time occurrence or is no longer run)
<b>SAP_REORG_UPDATERECORDS</b> -> Deletes old completed update records (automatic delete deactivated); deletes incomplete update records (automatic delete deactivated).
Even you can runa Small Select statment on table <b>TBTCO</b> ro deschedule the SM37 jobs ....
Regards
Sudheer -
Background job Delay In ( sec)
Hi Experts ,
I submitted one job in background Via SM37 here i have one question.
Job is still in Active but it shows Delay ( sec ) 2,181.
Duration ( Sec) 1,999
what it means ?
Thnx .Hi
refer the below Link:
http://help.sap.com/saphelp_nw70/helpdata/en/1d/ab3207b610e3408fff44d6b1de15e6/content.htm -
How to remove spool generation setting for SM37 job.
Hi All,
please help ASAP as this is production issue.
There is a job in SM37 which is running daily and it is creating a spool with nearly 10000 pages.
we dont need this spool as it is now not useful to us.We want to run this job without generating the spool.....
Im stuck here...pls help me...what should I do?
As user are not priting these spool requests so the option "delete after print" is also not working....
so due to huge spool,all jobs are getting delayed..
please help ASAP....Hi,
Is this related to Business Objects WebIntelligence reporting ontop of BW ?
Perhaps this thread need to be moved to BW warehouse administration?
Regards,
H -
Hi Experts,
I have a problem. When saving production order, I need to schedule job, which runs 5 seconds after current time and changes some fields in production order.
Problem is, that this job is alwayse delayed. Sometimes it is only 10 seconds, sometimes one minute.
Can I ensure to start job in planned time without delay?
Thanks®ards,
JirkaHi Jirka,
While we configure the background job scheduling you must have given immediate start.Am I correct.When we specify it means that the action reaction is quick immediately.We know that the process execution within SAP is so vast that the process has to wait for a bit of time that is what the cause of the delay you can check while the process you trying to achieve in the mean time you can check SM51 or SM 50 both youo can see that the delay is just because of the work processor availabilty.To improve the performance of the process please do contact the basis team.
Hope your query resolves.
Have a best day ahead. -
In this transaction, i can see Jobs status as
- Scheduled
- Released
- Ready
- Active
- Finished
- Canceled
Is there a sequence which has to be followed ie, first will be active, released ...... finished.
ALso what is scheduled Job do.Hello Rajesh,
Any background job goes through the following states 'in that sequence':
1. Scheduled (the job has been planned, it will execute at some point of time in future, but you may still edit the job steps at this stage)
2. Released (the job steps cannot be edited, any job scheduled in 'immediate' mode will be in released state directly)
3. Ready (the job is in execution queue and is about to be executed depending upon availability of background work process and the job priority)
4. Active (the job is being executed by a background work process, you may monitor this in sm37 and sm50/51)
5. Finished (all the job steps completed successfully) OR Cancelled (there was a error and job has been terminated, as mentioned in the job log)
Coming to your second question, scheduled job will go through the states mentioned above before its finished or cancelled.
This may clarify your doubts.
Regards,
Saurabh. -
Hi Abappers,
I have a requirement in which I am displaying all the error messages in an ALV when my program runs in Foreground. But this program runs in background, those error messages must be displayed in the Job Log of SM37.
I should not raise any error or information messages to come in log automatically as it affects the foreground processing of my program.
Is there any FM to write in the Job log?? Or can I use the Message statement in such a way that it is not diaplayed in forground?
Thanks in Advance,Hi,
Try this.
If you are using ALV grid in the foreground, use the same without without creating the container (basically check the SY-BATCH, before creating a container). Then the same ALV grid will create a spool with all the messages during background execution.
Regards,
Sharin Varghese -
SM37 Job is not visible in SM50
Hello Gurus,
I am seeing a peculiar situation- We ran a job and after a while I am seeing it has dissappeared from SM50 but has "Active" status in SM37.
*We have only one application server.
Does anybody have any idea how it could be cancelled.
Cheers,
AnkurHi Subhash,
The issue was that Job was active in SM37 but was not present in SM50. I found the answer and this is due to termination of work process without making a call to "BtcCleanUp" kernel function .
Anyway thanks for replying.
Cheers,
Ankur -
Background job delay due to 'ARFC' jobs running continously
Dear all,
As we are facing problem that,there is job starting with the 'ARFC'(example: ARFC:AC1F0C0D386B463CA88E8D10) which runs with all the users in the system.Thus the other background jobs even the sys monitoring jobs also goes for the delay for the longer time.This is happening from past 10 days.I m unable to trace what has got change in the system due to which ,I m facing this issue.I had checked in the job logs also, in which i didnt got any help.In that it is only mentioned owner of the job.Pls check this at the high priority as it is affecting my normal background jobs.
Thanks in advance.
Regards,
AkifHi akif,
jobs which are stuck at ARFC mode needs to trigger other event controlled jobs. since they are updating the Database, unless those jobs trigger this job cannot run forward so try to find what kind of jobs from the user who scheduled the job and then take the action if the jobs are related to support packages and releasing of change request then try to schedule RDD* jobs under user DDIC in 000 client
this is not due to instance consistency
regards,
kanthi -
How to make two jobs periodic,second job starting after first get fini
Hi ,
I had posted this question previously also. I can't understand Why the Moderator Locked it.
I searched the SDN and found that hardly any one has given a correct answer.
Every one gives an ans create a job with two steps.
NO i don't require that. I have to update joblogs of the first job in a Z table. So i have to create two periodic jobs.
If you have tried and succeeded plaease answer.
I will request Thomas if he has got some valid links please do share.Ok Thomas let expalin my problem in detail.
I have one report A which updates some Z tables. Now the user is going to schedule a monthly job for this report.
He wants to see the log details of the Job to be stored in a Ztable. Fields will like 'Job name,Id, Start date, Start time,End Date,End Time, User ,Status of Job (Canceled/Finished) , Tables Updated, Tables Failed '.
What my second report does it picks up the lates Job finished/Cancelled for the Report A. Then Passes it to 'BP_JOBLOG_READ'
fetches the Log messages of JobA. From where I can get which Table is updated and which one failed.
So my second report Report B should be excuted every time Job A Finishes.
What i Felt it will easier to create a job ffor report B , and Let this Job B fired every time Job A finishe/Cancelled.
Any hope i can resolve this.
thanks in advace. -
How to make two jobs periodic,second job starting after first get finished
Hi all,
My requirement is that I have two jobs . They both need to be periodic
After job 1 get finished another job must start that is also need to be periodic.
I tried event event "SAP_END_OF_JOB" and parmeter as first job but only first job get executed
Please help me to resolve this, Thank YouHi,
Use the following code.
DO.
CALL FUNCTION 'SHOW_JOBSTATE'
EXPORTING
jobcount = l_jobnumber
jobname = l_jobname
IMPORTING
aborted = l_aborted
finished = l_finished
EXCEPTIONS
jobcount_missing = 1
jobname_missing = 2
job_notex = 3
OTHERS = 4.
IF l_aborted = 'X'(106) OR l_finished = 'X'(106).
EXIT.
ELSE.
WAIT UP TO 5 SECONDS.
ENDIF.
ENDDO.
Thanks.
Ramya.
Maybe you are looking for
-
I have Acrobat pro on an old pc with windows 7, and now want to download it on a new pc with windows 8. i found the serial number, but I don't know how to download it.
-
Quote"iDVD: DV widescreen 16:9 workflow from Final Cut Express Issue If you export an anamorphic 16:9 DV Sequence from Final Cut Pro with the intention of burning a DVD-Video of that sequence in iDVD, you may need to adjust the aspect ratio of the mo
-
I have an iPhone 4 with 4.3.3 and the HP C310a printer.
The printer goes to sleep to conserve energy and won't wakeup. Are there any work arounds? HP tech support is no help and the HP forums have a dozen different fixes that don't work. My opinion is HP needs a firmware fix and perhaps Apple could push t
-
Plsql_optimize_level parameter resets itself
when I log in to the system and run the following code select * from v$version; Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production PL/SQL Release 11.1.0.6.0 - Production "CORE 11.1.0.6.0 Production" TNS for 64-bit Wi
-
Can't retrieve POST parameters...
Hi, I have this problem: from an HTML page I call a Servlet via a form like this: <form name="richiesta" method="post" action="servletName"> <input type="hidden" name="in_file" value="00009177.doc"> <input type="hidden" name="port" value="8787"> </fo