on 01-11-2011 5:04 PM
Hi,
I´m sending some parameters form the Portal iView containign the WDA component, how can I retrieve the parameters sent in to my webdynpro ABAP development.
Kind Regards,
Gerardo J
Hi Gerado,
Go to the window in your WD ABAP component.
Declare those parameters as importing type in HANDLEDEFAULT method.
You will receive the values at runtime in these parameters.
Please check this wiki also. It tells about reading URL parameters in WD ABAP but it will work the same way for iView paramters.
[http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP]
I hope it helps.
Regards,
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you need to write the code in the handledefault method of the window to fetch the parameters and then pass the values to the
component controller thorugh context mapping.
suppose you are paasing parameter id=456
in the handle default you need to write the following code to fetch the parameter.
data lv_param type string.
lv_param = wdr_task=>client_window->get_parameter( 'id' ).
then use this string lv_param to set an atribute of context which through component controller you can access in the desired
view controller.
thanks
sarbjeet singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.