on 05-21-2012 11:23 AM
1)first way ....you can do one thing ...you create that pop up window in some other component ...and in previous component define link to url. so , you can work with both the windows .
2) or you can definf on_lead_select event in table action ...and in that you can use method
create_window ( you can give the name of the window ).
but link to url will be the best option i am gicing you the code for it .
in context make one node and attribute url and in wddointi write the code :
data : node_node type ref to if_wd_context_node ,
elem_node type ref to if_wd_context_element .
node_node = wd_context->get_child_node( 'NODE').
elem_node = node_node->get_element( ).
elem_node->set_attribute( name = 'URL' value = 'http:// 'url of wda aaplication').
but both the windows should be in different component
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dhinesh,
just create an attribute under component controller... follow the below.
1. create an attribute type ref to IF_WD_WINDOW at component controller level(ex. lr_window)
2. come to your main view(screen 1), write the below line of code where you are generating popup window.
wd_comp_controller->lr_window = lo_window.
3. Now in Ok button, write the below.
wd_comp_controller->lr_window->close( ).
clear: wd_comp_controller->lr_window.
4. Now test the application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhinesh,
Refer following link.
http://scn.sap.com/thread/3179158
The answer given by Sayan will be useful for you.
Thanks
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create outbound plug from popup screen to screen1 and write the code in OK button to fire the plug.
Create a message area in screen 1 and then after pressing the OK button, call the message in Message manager and then mention the view name as first screen name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhinesh,
Here u selecting one value from dropdown ....then pls fallow below procedure.
create one attribute in component controller.
do context mapping to view 1 and view 2.
in view2 u assign the selected value to that attribute.
in view1 bind that attribute to ui element...
For navigation create plugs() and call the view1.
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.