cancel
Showing results for 
Search instead for 
Did you mean: 

To run a job on 1st and 2nd week of the month.

former_member503200
Participant
0 Kudos

I need to schedule a job on 1st full week and 2nd full week of the month. What is the best way to identify the Week and trigger the job? Any input is appreciated.

thx

Jeff

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member503200
Participant
0 Kudos

Thx Visu, Can you elabarate little bit more, how to use the function module u mentioned. Do i need to use it in a Process Chain.

thx

Jeff

Former Member
0 Kudos

Hi Jslader,

I agree with the 1st option of Visu - by calendar.

For example, assign the CALENDAR parameter to MNTH-12WK (example only) unless there are predecessors of the job you have created.

Best regards,

Sev

Former Member
0 Kudos

Hi Jeff,

You don't need a process chain for this.

Please refer to [BP_EVENT_RAISE: Trigger an Event from an ABAP Program|http://help.sap.com/saphelp_sm32/helpdata/EN/fa/096f33543b11d1898e0000e8322d00/frameset.htm]

Former Member
0 Kudos

Hi Jeff,

Couple of options. Either define a factory calendar with the relevant days. Assign it int he start condition

or

you can use the duntion model BP_EVENT_RAISE to raise a event. Schedule it to run for the period you want and use the event name in start condition to trigger the job.