cancel
Showing results for 
Search instead for 
Did you mean: 

Process chins

Former Member
0 Kudos

How can we restart the process chains

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Siggi's weblogs for data load error and how to restart process chain

/people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks

/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains

/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains

For common data load errors check this link:

/people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks

/people/juergen.noe/blog/2007/12/13/overview-important-bi-performance-transactions

Tarak

former_member345199
Active Contributor
0 Kudos

Hi,

Method when it fails in a step/request

/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains

How is it possible to restart a process chain at a failed step/request?

Sometimes, it doesn't help to just set a request to green status in order to run the process chain from that step on to the end.

You need to set the failed request/step to green in the database as well as you need to raise the event that will force the process chain to run to the end from the next request/step on.

Therefore you need to open the messages of a failed step by right clicking on it and selecting 'display messages'.

In the opened popup click on the tab 'Chain'.

In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:

1. copy the variant from the popup to the variante of table rspcprocesslog

2. copy the instance from the popup to the instance of table rspcprocesslog

3. copy the start date from the popup to the batchdate of table rspcprocesslog

Press F8 to display the entries of table rspcprocesslog.

Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.

Now copy the entries of table rspcprocesslog to the input parameters of the function module like described as follows:

1. rspcprocesslog-log_id -> i_logid

2. rspcprocesslog-type -> i_type

3. rspcprocesslog-variante -> i_variant

4. rspcprocesslog-instance -> i_instance

5. enter 'G' for parameter i_state (sets the status to green).

Now press F8 to run the fm.

Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.

Of course you can also set the state of a specific step in the chain to any other possible value like 'R' = ended with errors, 'F' = finished, 'X' = cancelled ....

Check out the value help on field rspcprocesslog-state in transaction se16 for the possible values.

Hope this helps.

Thanks,

JituK

Former Member
0 Kudos

Hi Vijay,

You can re-start a process chain by modifying its start variant process and making it immediate and then activating & scheduling it to run immediately

(or)

You can do repeat scheduling:

Open context menu of Start Variant -> Scheduled Jobs-> (Menu) Jobs -> Repeat-> Repeat Scheduling->

Immediated-> Check and Save-> A new active job will be created and the process chain starts.

Hope this helps...

Cheers,

Habeeb