Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.