Scheduler problem
We just recently switched from MX6.1 to 8.01 and discovered
few problems one of which was scheduler executing twice during
nightly run. This happens randomly, not every time. Once it does
though, it always starts execution after the first one finishes and
runs the same thing again. That creates a lot of problems for our
app. The scheduler log file reports only one execution but our
proprietary log states it twice. Any feedback is appreciated.
Thanks,
Vlad
We just recently switched from MX6.1 to 8.01 and discovered
few problems one of which was scheduler executing twice during
nightly run. This happens randomly, not every time. Once it does
though, it always starts execution after the first one finishes and
runs the same thing again. That creates a lot of problems for our
app. The scheduler log file reports only one execution but our
proprietary log states it twice. Any feedback is appreciated.
Thanks,
Vlad
Similar Messages
-
Production Orders: Scheduling Problem
Hello
I have a scheduling problem. I want the system to calculate the production order dates.
I have maintained the following
1. Work Center: A formula to calculate the duration. I have marked the u201Crelevant to finite indicatoru201D in the Capacity Header Tab. I have also maintained the available capacity as 24 Hrs.
2. Routing: I have maintained the values for the standard value keys
3. SPRO: In scheduling parameters for the order type, I have marked u201CGenerate cap requirementsu201D and u201CSchedulingu201D; In the production scheduling profile, I have marked u201CSchedule orderu201D (on release) & u201CFinite Schedulingu201D (Availability check).
But the production order is not getting scheduled & the start & end times are the same. I get the error u201CNo req/capacity exists or not relevant for finite schedulingu201D.
Can anyone guide me as to what I am missing?
Best regards
TomDear Tom,
Please check following;
1. Your operation contol key; whether it allows scheduling.
2. scheduling parameters for production order on OPU3: Please select proper combination of plant and order type and tick scheduling and generate capacity requts indicators in detailed scheduling tab.
Please revert back if problem persist.
Best Regards
Uday -
Scheduling problem in LSMW for Sales Order
I am doing LSMW for Sales Order using the BAPI method.
I am able to upload the item details along with their quantities also but the problem that I am now facing is the scheduling problem.I am unable to schedule the item quantities, only the last quantity passed is taken as the final quantity and the consolidated quantity is also getting ignored.
I am using E1BPSCHDL structure, in this structure I am mapping Itm_number , req_date and req_qty(scheduled qty).....
in the structure E1BPSCHDLX, the same fields are mapped as 'X'.
in the structure E1BPSDITM, I am mapping the item info along with the consolidated qty(TARGET_QTY), but this is getting ignored and the last scheduled qty is taken as the final consolidated qty and the rest scheduled qty data is getting rejected.
Please do help... I dont know why this problem is coming... tried n number of alternatives but of no hope... do try to help me
with regards,
Daya.Check the format of your date and check the format expected.
sometimes you can have diff like YYYYMMDD, MM.DD.YYYY,...
Look at the converted data.
Hope this helps,
Erwan -
Hi All,
My problem is the next:
I would like to call two functions, in one function module, but I cannot schedule the second job after the first. I wrote the code, use the parameter PREDJOB_CHECKSTAT of JOB_CLOSE, but when the mother function called two jobs started immediately and paralell. What is worng in the following code?
Thanks /and points :)/ for your help!
Tamas
L_JOBNAME = 'REQUEST_COPY'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_JOBNAME
IMPORTING
JOBCOUNT = L_JOBCOUNT.
SUBMIT RSSEM_REQUEST_COPY
WITH RNR = I_RNR
WITH S_CUBE = LS_CUBES-SOURCE_CUBE
WITH T_CUBE = LS_CUBES-TARGET_CUBE
USER SY-UNAME VIA JOB L_JOBNAME NUMBER L_JOBCOUNT
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = L_JOBCOUNT
JOBNAME = L_JOBNAME
STRTIMMED = 'X'.
L_JOBNAME2 = 'REQUEST_CLOSE'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_JOBNAME2
IMPORTING
JOBCOUNT = L_JOBCOUNT2.
SUBMIT Z_REQUEST_CLOSE_ZSD_P25
USER SY-UNAME VIA JOB L_JOBNAME2 NUMBER L_JOBCOUNT2
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = L_JOBCOUNT2
JOBNAME = L_JOBNAME2
STRTIMMED = 'X'
PREDJOB_CHECKSTAT = 'X'
PRED_JOBCOUNT = L_JOBCOUNT
PRED_JOBNAME = L_JOBNAME.Hi Thomas,
Thanks for all helps, I found the solution!
Inserted a select from the Job Status Table into th second job definition.
Thanks for the ideas!
Tamás
The finally code is the the following:
L_JOBNAME = 'REQUEST_COPY'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_JOBNAME
IMPORTING
JOBCOUNT = L_JOBCOUNT.
SUBMIT RSSEM_REQUEST_COPY
WITH RNR = I_RNR
WITH S_CUBE = LS_CUBES-SOURCE_CUBE
WITH T_CUBE = LS_CUBES-TARGET_CUBE
USER SY-UNAME VIA JOB L_JOBNAME NUMBER L_JOBCOUNT
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = L_JOBCOUNT
JOBNAME = L_JOBNAME
STRTIMMED = 'X'.
L_JOBNAME2 = 'REQUEST_CLOSE'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_JOBNAME2
IMPORTING
JOBCOUNT = L_JOBCOUNT2.
DO.
SELECT SINGLE STATUS FROM TBTCO INTO L_STATUS
WHERE JOBNAME = L_JOBNAME
AND JOBCOUNT = L_JOBCOUNT.
IF L_STATUS = 'F'.
EXIT.
ELSE.
WAIT UP TO 1 SECONDS.
ENDIF.
ENDDO.
SUBMIT Z_REQUEST_CLOSE_ZSD_P25
USER SY-UNAME VIA JOB L_JOBNAME2 NUMBER L_JOBCOUNT2
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = L_JOBCOUNT2
JOBNAME = L_JOBNAME2
STRTIMMED = 'X'
PREDJOB_CHECKSTAT = 'X'
PRED_JOBCOUNT = L_JOBCOUNT
PRED_JOBNAME = L_JOBNAME. -
Background job scheduling problem in APO
Hi fellow SDNers,
i am going through this peculiar problem of background job scheduling:
scenario is like , i have an CSV (excel file) in aplication server which would load data into the infosource, which i have scheduled to run in backhround (in infopackage) ,after event is triggered (option in scheduling tab of infopackage...THE SCHEDULING OPTIONS)
now everything seems to be fine.. but the data is not getting loaded...?? could u lease help me out..how to load data from excel file (in background), after an event gets triggered.
thanks in advance,
Rohanhi Alexander,
i am triggering the event from BP_EVENT_RAISE FM in APO by passing the event id... this would automaitically raise the event...just like sm64
Thanks
Rohan -
Scheduling problem with delivery date in purch.req and requirement date
Dear all,
I have the problem, that the calculated delivery date in the purchase requisition does not correspond with the requiement date of the production or planned order.
I would like to use planned delivery times in the material master.
Example:
Planned delivery time: 20 days
Todays date 01.10
Case 1)
Requiement date of planned order 10.10
Case 2)
Requiement date of planned order 20.09
This situation can happen in our envirnoment, as the engineering process still continues after start of production. In this case I would like to have the following result:
Case 1)
Delivery date is 10.10 minus the goods receipt time
Case 2)
Delivery date is day of MRP or one or two days more
I made the setting that dates in the past are not allowed. This solves my first smal problem. I tried to set the scheduling margin key but these settings do not help me, as they are relevant for all materials. I need of course individual planned delivery dates per material.
So, I want to change the standart MRP procedure that in the case of the "wished requirement date" not the calculated date is beeing taken, but the "wished date". Usually you receive an exeption for this case and you would need t solve this manually. But this we dont want to do.
Can s.o. please help me? Thank you all very much, I really dont know what to do in this case.
With best regards,
BjoernThe question cannot be answerd by SAP standart as I see. We will go through a workaround.
-
Hi everyone,
I am getting problem in the BEx reporting.After loading the new data in the respective data targets, it is not reflecting in the BEx Analyzer. I have created the process chain, and loading is done in the background scheduling. I can see the updated request time and date in Monitor. It is showing that data is updated successfuly in the data targets.
But when I execute the report after 2hrs, It will reflect in the query and it will show the latest updated records.
If anybody knows the reason why it takes time to reflect in query, please give me some outputs.
Thanks,
PandeyHi Manoranjan,
If your data target is ODS, you can find the updated records for reporting only after activation. If it is InfoCube there could be some processs defined after dataload like create index,Stats and rollup if aggregate are present. may be this could be the reason...
Hope this helps..
Best Regards,
DMK
*Assign points if it serves your purpose... -
Scheduling Problem for uploading Data from Flat file to SAP
Hi guys,
I am facing a weared problem in uploading some leave records in z table. The code is working fine if we run it through se38 after selecting the file from a shared location from production server which has all the access rights.
This folder lies in the \usr folder of SAP Production.
I have kept all the Flat files in the shared path "
Tis-mum-iz-s1\migration\SAP-INT\leave\" ...
To give u exact directory structure..
Tis-mum-iz-s1 is the Server Name
usr is the SAP System folder used for uploads and downloads
usr |
...-> Migration |
-> SAP-INT |
-> leave -> (Flat Files)
Migration folder is shared with all rights.
Obviously, we cannot give shared drive as the variant in the scheduler.
So i use the system path i.e. \usr\sap\tmp\migration\sap-int\leave\ as the variant.
All my other download programs are working fine with this path as a variant...
But my this particular upload program does not work with this path....
I am giving u my code...
TATA INTERACTIVE SYSTEMS (A Division of TATA INDUSTRIES LIMITED)
REPORT : ZMIGRATE_ZLEAVE
DESCRIPTION : To Upload the Leave data. (ZLEAVE)
CREATED BY : Abhishek Bachhawat
CREATED ON : 01.09.2005
CONSULTANT : ANAND
REPORT ZMIGRATE_ZLEAVE.
TABLES: ZLEAVE.
data: begin of wtab,
MANDT(3),
ZLVID(8),
PERNR(8),
ZSTDT(8),
ZENDT(8),
ZDAYS(4),
AEDAT(8),
ERDAT(8),
end of wtab,
itab like WTAB occurs 0 WITH HEADER LINE.
data: temp like zleave occurs 0 WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK file
WITH FRAME TITLE text-005.
parameters: file like rlgrap-filename Obligatory.
Concatenate File SY-DATUM '_Leave.txt' into File.
SELECTION-SCREEN END OF BLOCK file.
at SELECTION-SCREEN ON VALUE-REQUEST FOR file .
CALL FUNCTION 'WS_FILENAME_GET'
IMPORTING
FILENAME = file.
IF SY-SUBRC <> 0.
ENDIF.
start-of-selection.
if file ne space.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = FILE
FILETYPE = 'DAT'
TABLES
DATA_TAB = ITAB.
else.
message e000(zps) with 'Specify a file'.
endif.
SORT ITAB BY ZLVID.
LOOP AT ITAB.
REFRESH TEMP.
CLEAR TEMP.
TEMP-MANDT = sy-mandt.
TEMP-ERDAT = SY-DATUM.
TEMP-ZLVID = ITAB-ZLVID.
TEMP-PERNR = ITAB-PERNR.
TEMP-ZSTDT = ITAB-ZSTDT.
TEMP-ZENDT = ITAB-ZENDT.
TEMP-ZDAYS = ITAB-ZDAYS.
TEMP-AEDAT = ITAB-AEDAT.
TEMP-ERDAT = ITAB-ERDAT.
APPEND TEMP.
SELECT SINGLE *
FROM ZLEAVE
WHERE ZLVID = TEMP-ZLVID
AND PERNR = TEMP-PERNR.
IF SY-SUBRC = 0.
UPDATE ZLEAVE SET ZSTDT = TEMP-ZSTDT
ZENDT = TEMP-ZENDT
ZDAYS = TEMP-ZDAYS
AEDAT = TEMP-AEDAT
ERDAT = TEMP-ERDAT
WHERE ZLVID = TEMP-ZLVID
AND PERNR = TEMP-PERNR.
ELSE.
INSERT ZLEAVE FROM TABLE TEMP.
COMMIT WORK.
ENDIF.
ENDLOOP.Hi,
open dataset file for input in text mode.
check sy-subrc = 0.
while sy-subrc = 0.
read dataset file into wa.
if sy-subrc = 0.
append wa to itab.
else.
exit.
endif.
endwhile.
close dataset file.
regards
Siggi
PS: check also the F1-help for open, read and close statements! -
Scheduling problem in planned order.
Hi all,
I have a problem in scheduling of planned orders.
I had mentioned the following parameters.
1. Available capacity in the work center as 06:00:00 to 12:00:00
2.Set up time is 10mins in the routing.
3. The planned order qty is 100 nos.
While doing manual scheduling in planned order, the system proposes the start time as 11:50am and finish time as 12:00am. But as per calculation, for 100nos x 10 mins = 1000 min = 17 hrs.
But the system calculated 10 mins for 100 nos.
Is there anything i am missing , due to which the system is doing wrong scheduling.
With regards,
Afzaldear afzal ,
system is taking setup time only for first piece you are machining and for rest other 99 piece its not considering the setup time.
Check in the formula you are using if its defined as only to consider one time the setup activity or its taking piece wise/quantity wise.
Check and change it , it will solve your problem.
Hope it helps you.
regards
Ritesh -
Win 7 Backup and Restore schedule problem
Dear Technet,
I have a strange problem with the above mentioned utility.
The problem is with the next scheduled backup. It is not tested if it going to work, but i seriously doubt it. Please help.
http://img198.imageshack.us/img198/1920/vaskess.jpg
Regards
IvayloHi Ivaylo,
like you I had too exactly the same problem... next backup: 12/30/1899.
I believe it happened because I did something unexpected to windows 7:
1) I created a backup to test how it works.
2) I deleted the backup: with the backup program and phisically, deleting the backup folder "WindowsImageBackup" and all the file created.
3) I recreated the backup schedule (with the backup program) and after a reboot I noticed the next backup: 12/30/1899
Form me it worked the solution proposed by Arthur Xie.
2. Enter “Task Scheduler” in Start Search box.
3. Locate to Microsoft\Windows\WindowsBackup.
4. Delete the task “AutomaticBackup”.
5. Re-create the scheduled backup. <<< via backup program
I have the same errore opening Task manager: Task {0} does not exist.
Elvis Stokovac -
Hello,
I send delivery from R\3 to FTP.
In the R\3 system the deliveries number create consequential,
Delivery number 1003 came before delivery number 1004 and so on (not always serial, for example 998, 1003, 1004, 1017 and so on)
To XI system the deliveries came in the wrong order (for example 1017, 1003, 1004, 998 and so on).
Do you have any idea about this problem?
Thanking you in advance
EladHi,
You can do ABAP program to handle this type of problem.. and schedule that program also..
Or you can have ABAP porxy to handle ..
See below links
ABAP Program back ground scheduling issue.
Schedule Module program in Background with Dynamic Input values ?
Schedule Jobs with multiple steps via ABAP Program
/people/claudio.ciardelli2/blog/2005/09/01/launching-an-apd-analysis-process-from-an-abap-program
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - ABAP Proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
/people/sravya.talanki2/blog/2005/08/23/sender-xi-ftp-adapter-with-regular-path-expression-150-abap
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm
Regards
Chilla.. -
"AT" scheduler problems on Solaris 10 (Sparc 01 release)
I am having a problem with 'at' scheduled jobs not running in Solaris 10.
When scheduling an 'at' job, I see the 'at' job listed with 'at -l', and the job does not run the script. .At the execution time, the job will not run and i still see the job listed in queue afterwards with 'at -l'. I have tested these on solaris 8 and another solaris 10 server and 'at' works fine without any problem at all.
Interestingly enough, 'at' jobs DO run correctly when scheduled in a cronjob, but not from command line. I have tried to make 'at' work with command line using differnet users and shells to no avail.
Here are two simple scripts I've created to show the issue.
# cat start_alert.sh
#!/bin/sh
at now + 1 min <<\EOF
./alert.sh
EOF
#cat alert.sh
#!/bin/sh
echo "AT Started the script" > /tmp/sh_status
Heres what happens:
app1# ./start_alert.sh
commands will be executed using /bin/sh
job 1152889697.a at Fri Jul 14 11:08:17 2006
(tried csh also)
app1# at -l
user = root 1152889697.a Fri Jul 14 11:08:17 2006
app1# date
Fri Jul 14 11:09:13 EDT 2006
app1# ls -al /tmp/sh_status
/tmp/sh_status: No such file or directory
app1# ps -ef | grep alert
root 11839 3520 0 11:19:30 pts/3 0:00 grep alert
Strange, as I said, i've checked permissions, tried different users and shells... Problem remains....
Anyone have any idea why this isn't working in solaris 10 ?Hey
I actually found the problem,
I needed to
edit /usr/lib/cron/queuedefs
change contents to:
a.100j0n
b.20j2n90w
otherwise the jobs just queue and don't run even if I only start one ? Strange but it works! -
OBI 10g iBot scheduling problem to deliver report
Hi ,
I have done with iBot configuration(OBI 10g ) as mentioned in the oracle documentation .
But when I try to schedule one report immediately I am getting the below error from : C:\OracleBIData\web\log\sawlog0.log file :
One thing I am bit surprised in below error : RemoteIP-1x.xxx.xx.x is picking my local IP . Is it okay or it should be the SMTP mail server IP ?
Could anyone help how to fix the below problem :
Type: Error
Severity: 42
Time: Thu May 08 20:04:09 2008
File: project/websubsystems/ssremote.cpp Line: 1515
Properties: ThreadID-928;HttpCommand-IBotPicker;RemoteIP-1x.xxx.xx.x;User-Administrator
Location:
saw.httpserver.request
saw.rpc.server.responder
saw.rpc.server
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadPool
saw.threads
***kmsgNoDisconnectedApplicationFound: message text not found ***
Type: Error
Severity: 42
Time: Thu May 08 20:04:21 2008
File: project/websubsystems/ssremote.cpp Line: 1515
Properties: ThreadID-928;HttpCommand-IBotPicker;RemoteIP-1x.xxx.xxx.x;User-Administrator
Location:
saw.httpserver.request
saw.rpc.server.responder
saw.rpc.server
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadPool
saw.threads
***kmsgNoDisconnectedApplicationFound: message text not found ***Hi,
Any chance you were able resolve this issue, Please share the resolution steps.
thanks in advance. -
Hi,
When i try to schedule de SBO Backup in the SAP Service Manager to "daily" and click oke, then it always switches back to "on specific date"
What is my problem?
Greetings
MarkHi Mark,
Thanks for the details, we were checking all the fixes included in version 2007A in regard the backup services and not similiar issue had been reported.
The change in the backup frequency could be related to a third party application as Anti-virus a/o spyware reseting the system values to the previous one.
As already commented in this thread, it will be advisable to reinstall the server tools or make the proper changes to allow you antivirus to take the change.
If still facing the issue after applying previous recommendations, please generate and forward a message to Business One support including all the details from your test and observations.
Regards,
Juan Manuel Marrero
SAP Business One Forums Team -
Schedule problem (Failure sending mail)
Hi experts
Hows going.......... After a long time i am sending this post.. I am in serious terrible. Please help me out....
Problem: We have some reports which are sent via scheduler (To mail). It worked fine since last two years.
But unfortunately we got an error while scheduling. We did not change any configuration in Adaptive job server.
My error message is like this:
address error. [Error sending address(es) to SMTP server. Return code: SMTP 550 - Requested action not taken: mailbox unavailable.. Reason: [email1 <email1>].]: [CrystalEnterprise.Smtp]
Note:
1. We have restarted all the Services
2. We checked smtp and it works fine
3. Scheduler is OK when we schedule reports to Inbox
Any suggestion will be highly appreciable.
Thanks in advance.
Best regards
Arif
Edited by: Arif Arifuzzaman on Apr 26, 2010 7:29 AMMake sure that
1. the destination email address is correct.
2. the mailbox is not bouncing.
Check scheduling the report to another valid email address and see that the error repeats or not.
Regards -
Sql Server Agent: job hasn't run once today. Scheduling problem?
I created this job yesterday at about 4PM; the view history shows that it last ran successfully at 11:53PM. These are the settings I put:
Schedule Type: Recurring
Occurs: Daily
Recurs every: 1 days(s)
Occurs every: 5 minute(s)
Starting at: 05:00:00 PM
Ending at: 11:59:59 PM
Start Date: 10/30/2014
No End Day (selected)
The job is enabled, but it hasn't run once yet today. I don't want to start it manually because it should've started already. It is currently not running.
What can the problem be?
Thanks.
VMThe output is:
Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (X64)
The length varies, but it's usually a bit over an hour to finish. It's set at 5 minutes so that, as soon as it completes, it runs the job again. The job history yesterday was: 5:48P, 7:03P, 7:43P, 8:58P, 9:53P, 10:58P, 11:53P. The job downloads some files,
and that's why the job varies in length.
VM
I would say there is no point in scheduling a job which runs for 1 hr to run at every 5 mins although as per SQL Server agent logic if job is currently running and it misses schedule it will only start when job is finished. I would say to change logic to
run every 1 hr.
Plus I cannot find the support article but I know there was bug where Agent job could miss schedule can you please apply
SQL Server 2008 R2 SP3. There are 2 reason
1. it might fix your schedule skipping issue
2 You would come under purview of extended support. Which I guess is very important.
You can easily open job activity monitor and look for column Next run date
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP
Maybe you are looking for
-
Error while creating new table
Hi First I had deleted one custom table. Then I try to create the same table with different fields. Now I am gettinh the errors. 1. ZLV_COMP_TABLE: Inconsistency DD <-> DB (check table with analysis tool) 2. A table called ZLV_COMP_TABLE exists
-
I bought a composite cable to connect my iPhone 4 iOS 6 to my tv so I can watch sky sports tv on it but when I connect it it just played sound no picture, I also tried new YouTube app and a video on my download manager app and same thing also tried o
-
OK, I killed it... any suggestions? - topcase replacement issues
I'm really hoping someone can help... I was given a 400 mhz powerbook 2 years ago which needed a new top case (broken from being dropped), which I successfully used since then. I bought a replacement top case from ebay (used), which looked to be in f
-
Dear all, I am a beginner to the Business objects. I want role and responsibilities of BO projects. And I want common errors of webi reports and crystal reports and sap universe creation and non sap universe creation. Thanks, Baskaran.
-
Hi Gurus, When I enter the transaction code CAT2, We have 10 profiles and I want a user to see only 3 profiles related to his Country UK. If a US user enter the tcode CAT2 he needs to see only 2 profiles that are related to his country instead of all