2009 Apr 17 1:13 PM
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,
Jirka
2009 Apr 17 1:32 PM
Hi Jirka,
With the job procesing, you always will have this problem.
If you need that another program runs after the creation of the production order, you can execute your second step in a function module in update task or in background task.
This ensure you that the process is executed just before the commit work (the FM must be marked as a RFC FM)
Regards,
Pepe
Hi Jirka,
With the job procesing, you always will have this problem.
If you need that another program runs after the creation of the production order, you can execute your second step in a function module in update task or in background task.
This ensure you that the process is executed just before the commit work (the FM must be marked as a RFC FM)
Regards,
Pepe
2009 Apr 17 1:20 PM
Hi 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.
2009 Apr 17 1:32 PM
Hi Jirka,
With the job procesing, you always will have this problem.
If you need that another program runs after the creation of the production order, you can execute your second step in a function module in update task or in background task.
This ensure you that the process is executed just before the commit work (the FM must be marked as a RFC FM)
Regards,
Pepe
2009 Apr 17 11:06 PM
Thanks a lot,
IN BACKGROUND TASK statement solved my problem.
Best regards,
Jirka
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |