cancel
Showing results for 
Search instead for 
Did you mean: 

Construct a Webdynpro Url with a Keyfigure

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hey guy thanks for your feedback but it doesn´t solve my problem.

I want to have a URL with Keyfigures from a Infocube.

The Keyfigures from the Cube are for example, Product, Price, Location.

And i want to append the Keyfigures from the Cube to the URL!

URLProductPrice .....

Thanks