cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduling of a process chain in two meta process chains

Former Member
0 Kudos
89

Hi,

( Meta process chains - X, Z

X - runs at 2 a.m. daily

Z - runs after every two hours daily from 9 a.m. to 10.30 p.m

Process chain - Y is to be included in X & Z)

There is a Meta process chain X which is scheduled for 2 a.m. daily. This meta process chain contains another

process chain Y.

I want to schedule another Meta process chain Z which executes after every two hours daily. Now I want to include process chain Y in Z, with the condition that if system time is 11 a.m. or later than it only then it should be scheduled.

Since this process chain is contained in Meta process chain X, its start variant

has Immediate Start selected. I don't want to change this start variant.

Is there any option or event through which this can be achieved?

Thanks & Regards,

Manisha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manisha....

Check the following Blog....

/people/debjani.das/blog/2009/04/05/scheduling-process-chain

Regards,

Debjani....

Answers (1)

Answers (1)

Pravender
Active Contributor
0 Kudos

You have to use event instead of immediate start in the start variant. Then only it is possible.

You can trigger the event based on the time you require.

Former Member
0 Kudos

Hi Pravender,

If I choose an event in the start variant, wil it not affect the meta process chain X as well?

I don't wish to disturb the schedule of X.

Regards,

Manisha

Pravender
Active Contributor
0 Kudos

You need a program to trigger event (using function module BP_EVENT_RAISE). You can include this program and variant only in the process chain as a ABAP process type.

The program will have a condition based on the time (you can use parameters to make it dynamic), when ever the specified time condition will be satisfied, it will trigger the event.

So whenever you will execute the process chain X, everytime ABAP process type will also be executed. But the event will be raised only at a specific time, so is it process chain Y. Therefore it will not affect process chain X execution.