Skip to Content
author's profile photo
Former Member

Transferring parameters from workflow to BSP

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 07, 2005 at 12:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded