on 12-31-2009 12:40 PM
Hello Experts,
I am trying to call the ABAP web dynpro application from one function module and used PRGN_GENER_EXECUTE_URL to call the url of web dynpro application.
its calling the application but now i want to pass some values from FM to this web dynpro application while calling.
Can anyone has come acrossed with this?
Regards,
Kunaal
You can use the class CL_WD_UTILITES to generate the URL with your parameters. See code below:
DATA: lv_url TYPE string.
DATA: host TYPE string,
port TYPE string,
out_protocol TYPE string.
DATA: in_parameters TYPE tihttpnvp,
wa_params LIKE LINE OF in_parameters.
wa_params-name = 'PERNR'.
wa_params-value = '123456'.
APPEND wa_params TO in_parameters.
CALL METHOD cl_http_server=>if_http_server~get_location
IMPORTING
host = host
port = port
out_protocol = out_protocol.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'Z_WDA_TEST_APP'
in_host = host
in_port = port
in_protocol = out_protocol
in_parameters = in_parameters
namespace = 'sap'
IMPORTING
out_absolute_url = lv_url.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can pass these values as url parameters....
here is the link to help you with that....
http://help.sap.com/saphelp_erp2005/helpdata/EN/7b/fb57412df8091de10000000a155106/content.htm
Thanks...
AS...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.