on 08-28-2013 11:30 AM
Hello all,
We have a requirement to schedule a job with some restrictions:
Conditions: 1) it should run on every 1th to 9th of a month
2)if a Saturday,Sunday, a public holiday falls on this days b.w 1 to 9th job should not run.
We had created factory calender in SCAL and called it in sm36. Some other logics work but am not get this conditions to be satisfied.
Please help me in this case
Regards
Alen
Hi Alen,
You can achieve the same by using the SAP CPS as it will automate the job scheduling, job chains, etc. If you want to do the spectific jobs alone you can deploy this component in the existing environment itself.
Your requirement will comes under free licensing part itself so no need to pay anything.
Regards,
Raja. G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alen,
We are running few typical jobs in our landscape using UC4 ,important thing is that UC4 requires license and using UC4 for just one job in not feasible , please also check whether you can put other jobs in UC4.
Thanks and Regards,
Kunal Gahlot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alen,
I standard SAP it is not possible. Following options can be explored
1) Write an ABAP program to control the scheduling of the jobs based on conditions
2) Use UC4 to control the scheduling of these jobs. UC4 has enough flexibility to schedule condition based jobs.
Hope this helps
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alen,
Refer below documentation for better understanding
http://hosteddocs.ittoolbox.com/uc4-wp-sap-netweaver-012008-101008.pdf
http://www.slideshare.net/roelspi/lcmpresentationuc4
Hope this helps.
Regards,
Deepak Kori
I am not sure, if that is feasible, but have you tried creating a factory calendar where only the days you want are working days, i.e. all days from the 10th to the end of the month are non-working days?
Otherwise, the only way to achieve this through SAP's job scheduling is to create 9 jobs (1 for each day) using your factory calendar to skip non-working days.
An alternative would be to create a little ABAP program that checks all your conditions and runs the desired program(s) either directly or by creating a new (one-time) job, if all conditions are met.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alen,
You have to create a job 1st to 9th as monthly job. As well it need to check the factory calaender for working days to run the jobs.
Regards,
Raja. G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.