cancel
Showing results for 
Search instead for 
Did you mean: 

Checking whether a process chain runs

Former Member
0 Kudos

Hi

Is it possible to write an ABAP program testing whether a process chain currently is running? And if yes, is there a table storing this information?

The aim is to create a process type, checking whether an instance of the process chain already is running. As this is not desirable.

Thanks in advance.

Karsten Larsen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you can use function RSPC_API_CHAIN_GET_STATUS to retrieve that information

Michael

Former Member
0 Kudos

Thanks for your answer Michael.

It seems you have to supply the I_LOGID. This way you have to ask on a specific run of the chain - e.g. the last.

Also you would have to find the ID of this run somewhere?

Br

Karsten

Former Member
0 Kudos

in table RSPCLOGCHAIN

you can find all LOG_ID for one chain_id.

Take the last one (date and time of the run is available)

Former Member
0 Kudos

Thanks Phillippe that should do the trick.

Br

Karsten

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Karsten,

You can check in the Job Monitor i.e SM37 and give the selection "Job Name" and User (mostly it is under BW_Remote).

Former Member
0 Kudos

Thanks for your answer Dinesh.

But it is not possible to see the process chain in SM37 just the included process elements. Correct me if I am wrong.

Br

Karsten