on 04-22-2011 12:09 PM
hai my dear WDAers,
how can
we pass the parameters from URL and how can we access that paremeter into another view.
regards,
rk
Hello,
reading parameters from an URL is part of IF_HTTP_SERVER (SE24).
Example: Read parameter dest drom URL.
DATA lv_para TYPE string.
* Read Parameter from URL
lv_para = server->request->get_form_field( name = 'dest' ).
greetz Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure what you mean by passing parameters in FQDN URL.
Is this application called from Portal ? Then you can define parameters in the iView application Parameters.
If you call the application using navigation api then there is a importing parameter lt_business_parameter.
You can define also parameters in the application , open the application and right side pane you can define the parameters.
You can read the parameters in on default plug of the window and save it in component controller attribute, you can read them back from any view in your component.
data lt_all_url_param TYPE tihttpnvp.
wdevent->get_data( EXPORTING name = '_ALL_URL_PARAMETERS'
IMPORTING value = lt_all_url_param ).
wd_comp_controller->gt_all_url_param = lt_all_url_param.
Note: Please read the forum rules once, search the forum before starting your post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.