cancel
Showing results for 
Search instead for 
Did you mean: 

Transferring parameters from workflow to BSP

0 Kudos

Hi,

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?

Many thanks,

Leo Jabaaij

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

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:

DATA:

ls_iihttpnvp TYPE ihttpnvp,

lt_tihttpnvp TYPE tihttpnvp.

  • OnInitialization

CALL METHOD request->get_form_fields

CHANGING

fields = lt_tihttpnvp.

LOOP AT lt_tihttpnvp INTO ls_iihttpnvp

WHERE name = 'user'.

me->user = ls_iihttpnvp-value.

ENDLOOP.

ENDMETHOD.

  • me->user is the variable used later on at the program