Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule a job with less than one minute frequency

Former Member
0 Kudos

Hi all,

Is there any way of scheduling a periodic back ground job in a frequency of less than one minute?

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If you tell the scenario where you wnat the frequency less than 1 min, it will be easy to help.

but my understanding is you want job to be real time to avoid the delays. in that case better option will be Event based job rather than periodic job.

8 REPLIES 8

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

I think Minimum allowed frequency is 1 min. So try to convince your users to run the periodic job for every 1 min.

Thanks,

Vinod.

Former Member
0 Kudos

If you tell the scenario where you wnat the frequency less than 1 min, it will be easy to help.

but my understanding is you want job to be real time to avoid the delays. in that case better option will be Event based job rather than periodic job.

0 Kudos

Hi Shefali,

I want to upload the data into SAP system as soon as a file is placed in FTP location by user.So I wanted to schedule a job for that in a frequency of 5 sec.s.

0 Kudos

Hi,

in my opinion, I don't think is a good idea to schedule a job every 5 seconds ... means over than 700 jobs a day!!!

The job that processes the file could be scheduled on event (user event).

So, the external program that transfers the file via FTP, should also trigger the event, thereby starting the job ...

There are several choices in order to trigger an event from an external program.

Hereafter some useful information:

[ |http://www.sapfans.com/sapfans/sapfaq/robert.htm]

[http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/content.htm]

[http://www.erpgenie.com/sap-technical/abap/triggering-events-in-sap]

[http://www.basissap.com/2008/07/sap-event-processing/]

[http://wiki.sdn.sap.com/wiki/display/ABAP/SAP+Event]

Get help from your basis team...

Regards,

Andrea

Former Member
0 Kudos

Hi,

You can not schedule a job in less then 1 min. , Even 1 min is also a very large frequncey, so you are unnessary taking increasing a memory allocation, better to schedule after every 5 to 10 min .

Rani

0 Kudos

Finally we convinced our users to schedule report with a frequency of 1 min.

0 Kudos

Hi

Just a thought, even if the users did accept the 1 min schedule, isn't it an unnecessary load on server.

What if no file has been put in the FTP location by any user...or if the users are having a holiday?? Your job will run whole day un necessarily

Instead, like Andrea said, You can schedule a job with a trigger.

If the user can send a empty file, which can act as a trigger file, to SAP application server....You can schedule your job with the trigger as this empty file.

When ur job runs, it will delete that trigger file and complete your requirement..

later wen user puts another file in the FTP location, another trigger file is sent, which triggers your job,,

and the cycle continues

Cheers

Arun

0 Kudos

Hi Arun,

I am not clear how to create an event to identify that a new file is placed by user at FTP location.If I can create such event I can use it in SM36 comfortably.Could you guide me how to create event for identifying new files at FTP location as soon as they are placed there.

Thank you.