on 04-29-2010 1:40 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.