Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member183012
Active Contributor

Requirement: Process chain will be scheduled after execution of info package on daily basis

There are two scenarios:

1)If you want to execute process chain after job - one time(It can be done directly from start variant after job)

2)if you want to execute process chain after job periodically(Here in your case you need to maintain subsequect process in infopackage)

Steps to Follow:

1)If you want to execute process chain after job - one time(It can be done directly from start variant after job)

1)      Schedule info package as per below screen

Here you can mention cancel job after after X run also.suppose you want to execute infopackage for 5 days then you should maintain 5.

It will create job for 5 days only.

Check the job in sm37 it is scheduled.

2)      Open the created process chain modify the start variant

Save the Variant -> Activate the chain

Do not forget to execute Chain.This is for one time when infopackage executed sucessfully process chain will be triggered.

This will trigger process chain one time only.But when you want this should happen periodically based on same job then

2)if you want to execute process chain after job periodically(Here in your case you need to maintain subsequect process in infopackage)

As per below screen change the infopackage

Click on subsequest process.

Click on trigger events -> create new event.This event we need to use in process chain start variant.

Modify Start variant

      As soon as your infopackge job is completed it will trigger event and event will trigger the process chain.

     

        Here the process chain triggered after info package successful execution.

       

       

       As we are scheduled info package on daily basis so it will create new job for next day after successful execution of info package.

Each sucessful run it will trigger event which achiev the purpose of execution of process chain based on job.

     

       

       

In this way we will able to schedule process chain after job periodically.

Appreciate you suggestions and feedback.

54 Comments
Labels in this area