Quantcast
Channel: SCN : Document List - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 1574

How to Schedule Process Chain to run at multiple selected times a day periodically by copying the job

$
0
0

Scenario:

 

The CSTCTR DELTA Meta chain needs to be scheduled to run at 12:45 and 21:30 daily.

 

Procedure:

 

Scheduling of Initial job at 12:45:

 

Go to Planning View, enter into change mode and select “Maintain Variant” from the context menu of the start process.

 

1.jpg

 

Select “Change Selections”.

 

2.jpg

 

Give the appropriate periodic selections for this job so as to schedule it to run daily at 12:45 save it and come back.

 

3.jpg4.jpg

 

Now Schedule the chain by clicking the “Schedule(F8)” button..

 

5.jpg

 

6.jpg

 

7.jpg

 

Sometimes you may notice an error “Job BI_PROCESS_ABAP could not be scheduled. Termination with returncode 8” at the bottom of the screen.

This is because the Program RSPROCESS is to be scheduled as job BI_PROCESS_ABAP under user RFC_RET (Sometimes you may notice other user instead of RFC_RET).

 

8.jpg

 

This is because usually “BW Background” user is used for scheduling the process chains.

We can change the “Execution User” appropriately by choosing the menu option

Process Chain > Attributes > Execution User and the radio button for the BW Background User or the radio button for Special User select the appropriate user and schedule as shown below.

 

10.jpg

 

11.jpg

 

We can notice the appropriate success message as shown below once the chain is successfully scheduled.

 

12.jpg

 

Now, this scheduled job can be displayed by selecting the “Displaying Scheduled Job(s)…” option from the context menu of the Start Variant as shown below.

 

13.jpg

 

14.jpg

 

Scheduling of job copy at 21:30:

 

Now we need to copy the above job and schedule the copied job appropriately.

Select the Job and choose “Copy” from Job Menu options as shown below.

 

( Note: The same can also be done using the 'Repeat scheduling' option highlighted below )

 

15.jpg

 

16.jpg

 

This job can be noted in SM37 job monitor with Scheduled status as highlighted below.

 

17.jpg

 

Select this job and choose “Change” from Job Menu to give the required scheduled conditions i.e.,21:30

 

18.jpg

 

Now, specify the appropriate Start Condition to schedule it periodically as required.

 

19.jpg

 

20.jpg

 

Once successfully saved, you can note it with “released” status in SM37.

 

21.jpg

 

We can crosscheck this once again by selecting the “Displaying Scheduled Job(s)…” option from the context menu of the Start Variant as shown below.

These two periodic scheduled jobs can be observed.

 

22.jpg

 

23.jpg

 



Viewing all articles
Browse latest Browse all 1574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>