on 07-24-2007 6:06 PM
Hi,
I have a requirement where in I have to create different iViews for a same WebDynpro application e.g. one iView for manager and one for employee. The WebDynpro application url will have a parameter which will determine whether it has been called by an employee or a manager and accordingly the application will behave differently.
Can someone suggest me how to access url parameter from the WDDOINIT method of the component controller in WebDynpro ABAP.
Regards
Mukesh
inside the appropriate start plug. eg Default
data: lt_all_url_param TYPE tihttpnvp.
wdevent->get_data( EXPORTING name = '_ALL_URL_PARAMETERS'
IMPORTING value = lt_all_url_param ).
Cheers
phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mukesh,
First u go to webdynpro application click on tab parameters and add your parameters there...
Then u go to your default window and add same parameters to your default in plug and you can then access these parameters as simple inbound parameters and can set a data in context nodes..
Anuj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
please check this <a href="/people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp for code sample on reading url parameters
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.