on 07-04-2011 2:16 PM
Hello everyone,
I have a new question. I have a webdynpro application which generates me an standard url. Ok this works perfectly.
My problem is, i want to modify the Url with certain key figures (for example.......URL&Product&Location etc.)
I have found some tutorials who describes some Url Modification with Parameters, but the problem is this tutorials is they have constant values (Paramter1 = Value1 & Parameter2 = Value2). This is not what I want.
I need the whole keyfigure without any constant value!!
Is it possible?
Thanks Stefan
If you are talking about adding Dynamic_Parameter then you can combine there 2 classes
cl_wd_utilities=>construct_wd_url to construct the url
cl_http_server=>append_field_url to append parameter value
* Get the URL of the called application
call method cl_wd_utilities=>construct_wd_url
exporting
application_name = 'ZZ_CALLED_APPLICATION'
importing
out_absolute_url = w_url.
* make the Value type compatible that has to be passed with the URL
w_value = lv_ebeln. "set the value here
* Attach the parameters and its value with the URL that
* have to be passed to the 2nd application
call method cl_http_server=>append_field_url
exporting
name = 'EBELN'
value = w_value
changing
url = w_url.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.