on 07-26-2009 2:02 PM
Hi,
In SDN, i find the below two ways to extract the URL parameters, when i pass them while opening a new window. But, unfortunately they dont work for me. so, would like to know, if any other ways are existing to extract the URL parameters.
1)
HANDLEDEFAULT method of the window:
DATA: lt_url_parameters TYPE tihttpnvp.
wdevent->get_data(
EXPORTING
name = if_wd_application=>all_url_parameters
IMPORTING
value = lt_url_parameters ).
2) In HANDLEDEFAULT method, have the URL parameter names as importing parameters and use them normally.
If there is no other ways, can some one help me in pointing the issue that i face ?
Note: I have wdevent (CL_WD_CUSTOM_EVENT) importing parameter in place.
Thanks in advance,
Gaurav.
Hi,
Is that application contains the window, where your writing the logic for getting URL parameters. keep the break-point in that window and execute the URL and check whether it is going to that window or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The code is present in the default handle method of the window, which opens for a new application. Also, i see the parameters in the window URL. During breakpoint, i see the code getting executed, but doesnot extract the parameters.
Is there a way to make the code to extract the parameters for sure ?
Thanks,
Gaurav.
Hi,
How you are trying to pass your parameters ? I believe you are using some SAP provided template (like for XSS) and relying on passing of some standard parameters. These parameters may be absorbed by the standard component and may not be passed to your WebDynpro Component. You can try passing them as application parameters.
Thanks
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.