on 11-04-2009 10:49 AM
Hi
I have created input fields dynamically using cl_wd_input_field class on the WDDOMODIFYVIEW method of 1 view.
These fields are themselves created with the dynamic context node created at run time.
Now i want to pass the values entered in these dynamic input fields into the next view or even the WDDOBEFOREACTION Method once i enter the submit button.
How can this be possible..
Shivi Goel
Hi,
lo_el_resume_info->get_attribute(
EXPORTING
name = `USERID`
IMPORTING
value = lv_userid ).
pass the value lv_userid to a variable in comp controller.
i.e 1. Declare a varibale gv_temp of type lv_userid in attributes of comp controller.
2. move corresponding lv_userid to wd_comp_controller->gv_temp .
3 in the WDDOINIT of next screen bind the value wd_comp_controller->gv_temp to the one which u want using set static attributes.
Regards,
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are the context nodes are also dynamic.
when you create the INPUTFIELDS you might have bound the VALUE property to some ATTRIBUTE right...
Is this context attribute a static/dynamic one..
You can use GET_ATTRIBUTE method of if_wd_context_node..so that these values can be used in the 2nd view.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Refer this :
http://wiki.sdn.sap.com/wiki/display/stage/dynamiclayoutmanipulationinWD+ABAP
In this wiki, dynamic nodes n contexts are created.
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.