We have created a workflowtask which calls a BSP. The task is generated by wf_extsrv (webservices), we have defined several parameters. When testing the workflow the BSP application is started but the paramaters are not transferred from the task to the BSP. It seems we have to do something more in our BSP application. Where do we have to define the importparameters?
Meanwhile, I solved it by myself.
In the <b>DO INIT</b> section of the BSP you have to read the URL. This can be done as follows:
ls_iihttpnvp TYPE ihttpnvp,
lt_tihttpnvp TYPE tihttpnvp.
CALL METHOD request->get_form_fields
fields = lt_tihttpnvp.
LOOP AT lt_tihttpnvp INTO ls_iihttpnvp
WHERE name = 'user'.
me->user = ls_iihttpnvp-value.
me->user is the variable used later on at the program