Skip to Content

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.

/wp-content/uploads/2012/09/1_134108.jpg

Select “Change Selections”.

/wp-content/uploads/2012/09/2_134109.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.

/wp-content/uploads/2012/09/3_134110.jpg/wp-content/uploads/2012/09/4_134162.jpg

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

/wp-content/uploads/2012/09/5_134163.jpg

/wp-content/uploads/2012/09/6_134164.jpg

/wp-content/uploads/2012/09/7_134165.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).

/wp-content/uploads/2012/09/8_134166.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.

/wp-content/uploads/2012/09/10_134167.jpg

/wp-content/uploads/2012/09/11_134168.jpg

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

/wp-content/uploads/2012/09/12_134170.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.

/wp-content/uploads/2012/09/13_134171.jpg

/wp-content/uploads/2012/09/14_134172.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 )

/wp-content/uploads/2012/09/15_134173.jpg

/wp-content/uploads/2012/09/16_134174.jpg

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

/wp-content/uploads/2012/09/17_134175.jpg

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

/wp-content/uploads/2012/09/18_134176.jpg

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

/wp-content/uploads/2012/09/19_134177.jpg

/wp-content/uploads/2012/09/20_134178.jpg

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

/wp-content/uploads/2012/09/21_134179.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.

/wp-content/uploads/2012/09/22_134180.jpg

/wp-content/uploads/2012/09/23_134181.jpg


To report this post you need to login first.

5 Comments

You must be Logged on to comment or reply to a post.

  1. Ronaldo Rigobello

    SAP BW now allows a process chain to have different start processes, which may be individually scheduled. In order to do that, you just need to link the different start processes to an “EXOR” condition.

    (0) 

Leave a Reply