cancel
Showing results for 
Search instead for 
Did you mean: 

How to run the process chain for time period?

Former Member
0 Kudos

Hello All,

I have a question on process chain. Actually business provide us file for time period (Which contain start and end date) where we have to run the process chain

twice in a day within. Currently we are doing it manually but we have to configure it automatically.

where I have to check wither current date lies in between start and end date. if current date is within time period it should execute otherwise not.

Is there any way to check condition?

Please help me to get the solution.

Accepted Solutions (1)

Accepted Solutions (1)

wounky
Participant
0 Kudos

Hi Suhas,

Would below solution be sufficient?

  1. Load excel file to BW
  2. Create an ABAP program that selects FROM/TO, and checks if SY-DATUM is in a given range (could be achieved either in range or via </>). Yes: run PC, Else exit.
  3. Schedule a periodic job that runs every X hours and triggers ABAP program (sm36)

Kind regards,

Sebastian

former_member186445
Active Contributor
0 Kudos

you could also use the abap program to trigger an event and schedule the process chian to start with this event.

then you only need to schedule a job for the program in SM36

Regards,M.

wounky
Participant

I don't see how it differs. Either way you have to check date range provided by client.

It's simpler to do it without event.

Regards,

Sebastian

Answers (0)