cancel
Showing results for 
Search instead for 
Did you mean: 

CL_RSPC_CHAIN=>EXECUTE

Former Member
0 Kudos

Hi all,

I am trying to develop a BSP-Page allowing to start a process chain. The chain should be executed in the OnInputProcessing event with the following code:

CALL METHOD CL_RSPC_CHAIN=>EXECUTE

EXPORTING

i_variant = i_chain_name

i_api = 'X'.

i_chain_name is the internal name of the process chain. This code works in that it executes the process chain. You can monitor this with transaction RSPC.

The problem is that the method call does not return!!!

What am I doing wrong here?

Thanks for any help!

Jürgen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you can use the function module RSPC_API_CHAIN_START

cheers,

Michael

Former Member
0 Kudos

Hi Michael,

thanks for your advice. Unfortunately it seems I cannot use this function module. Although finding it in SM37 if I use it in my code I get the message

Field "RSPC_API_CHAIN_START" is unknown.

What's wrong here!

Thanks

Jürgen

Btw. I am not an experienced ABAP guru

Former Member
0 Kudos

Hi Jürgen,

the error message lead to the assumtion that you didn't get the function call right.

please post the code of your abap or use the "pattern" function to let the system create the generic code for this function call

Michael

Former Member
0 Kudos

Hi Michael,

thanks, using the "pattern" function generated the correct code. The trick was the dynamic function call.

Jürgen

Answers (0)