Skip to Content
0

How to run the process chain for time period?

Mar 01 at 11:40 AM

38

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sebastian Gesiarz Mar 01 at 03:01 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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.

0

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

1