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: 

How to automate the Background process for a job whenever file arrives into AL11

0 Kudos

Hi All,

I have a requirement which I need to automate the process of background scheduling whenever file placed in AL11 for every 30 mins. If there is no file then background schedule shouldn't work.

So, Here I have developed a report and scheduled in Background for every 30 mins so here in SM37 displaying lot of jobs are in canceled status. how to avoid those..??

Thanks,

RajuDasi

5 REPLIES 5

Sandra_Rossi
Active Contributor
0 Kudos

Do you want to make them appear in status "Finished" instead?

0 Kudos

Hai Sandra,

Thanks for reply.......

If I schedule job for every 30 mins, then here up to 30 mins I'll get displayed lot jobs are in cancelled status so I want only existing file which are placed in AL11 should process and after that job should be stop. Again next time it should repeat as above process.

Thanks

RajuDasi

Sandra_Rossi
Active Contributor
0 Kudos

Sorry I was not clear enough. After 30 minutes, the job runs and after that you only have the choice of job status either "Finished" or "Cancelled". You said that you don't want "Cancelled". So you probably mean that you want your jobs always with status "Finished". Hence my initial question.

DoanManhQuynh
Active Contributor

your question doesnt maske sense to me. you check new files in your program, run it as a job but you also want to stop that job running if there are no new files (stop here mean no log in SM37, if i understand your question correctly). you can exit program after check fail then the status will be finished, thats all.

VenkatRamesh_V
Active Contributor
0 Kudos

Hi,

Validate process, by comparing the data's from table TBTCO

Regards,

Venkat.