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
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can use the function module RSPC_API_CHAIN_START
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!
Btw. I am not an experienced ABAP guru
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
thanks, using the "pattern" function generated the correct code. The trick was the dynamic function call.