on 09-29-2005 1:29 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.