cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to schedule a job in SM36

krishna111111
Discoverer
0 Kudos
462

I need to schedule a job for last two days of every month without thinking about working/non-working days.

How do I do that?

How to schedule a job foe last two day of month without using factory calender ? Is it possible via SM36?

Accepted Solutions (0)

Answers (1)

Answers (1)

venkateswaran_k
Active Contributor
0 Kudos

Hi

Option 1

You write one wrapper program - that checks the last date & and its previous date and if it is true then submit your actual program. - Use that wrapper program as a job at SM36. (There are FMs available to find the last date of the month)

Option 2

(But you said you dont want to use the calender - however look for this option too)

Another way is to maintain a custom factory calendar where highlight the day it should be run and rest all days are maintained as holiday. Transport such a calendar to the production system .

Then in SM36 , while scheduling jobs

Lastly Select the Restrictions tab. In this select the calendar which is customized according to your requirement.Then select the option "Do Not Execute Job on Sundays or Holidays".