cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict process chain scheduling

Former Member
0 Kudos

Hi,

We have a process chain running hourly, which loading data to a cube. I interest to compress the cube each day, but it's impossible to load data while compressing is active. Therefore I want to stop the loading for two hours at the night in order to perform the compressing.

How can I restrict the scheduling of the process chains to stop running for two hours every day at night?

Best regards,

Mohamad.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The only way I could think is to run your process chain from an ABAP program that calls function module <b>RSPC_API_CHAIN_START</b> which will execute your process chain.

1. Change your process chain to Start Using Meta Chain or API.

2. Create ABAP program with variant so that it calls function module RSPC_API_CHAIN_START with parametes to execute your process chain. Also, have logic in your ABAP program to check the current time. If the current time is within your two-hour window, then it will bypass calling the function module (process chain will not execute).

3. Schedule job to call your ABAP program hourly.

Hope this helps.

Answers (0)