cancel
Showing results for 
Search instead for 
Did you mean: 

Change Button for Interface View is Inactive

Amey-Mogare
Contributor
0 Kudos

Hi,

I have created a Web Dynpro ABAP component & application.

Now I want to add URL parameters to it.

I went to interface view, I can see "change" button in menu but its not clickable.

Any idea why this is happening?

Thanks and regards,

Amey

Accepted Solutions (1)

Accepted Solutions (1)

phanir_mullapudi
Active Participant
0 Kudos

Hi Amey,

IF you dont have any interface attributes or methods, there is nothing you can change in Interface View.

For Adding Parameters, goto your Application to add application parameters in Parameters tab.

You can chooose from existing set of parameters or Create a new parameter such as TEST1 & any default value like 1 or A etc .

Now goto your Window method HANDLEDEFAULT & frmo here you can access what value you are getting from the URL Parameter TEST1 by using below code...

data lv_configid type string.

lv_configid = wdr_task=>client_window->get_parameter( TEST1' ).

now IF for your application say zph_test02, if you are running URL as http://xxxxxx.xx/sap/bc/webdynpro/sap/zph_test02?sap-language=EN&TEST1=2

The value lv_configid will have value 2 now when application is launched with that url & parameter TEST1=2.

Thanks,

Phani Mullapudi

Amey-Mogare
Contributor
0 Kudos

Excellent Phani!

Solved my question.

Thanks and regards,

Amey

Answers (0)