on 09-04-2008 7:44 AM
Hi,
Can youplease tell me how to create plugs dynamically. If there is a doc or API then would be of good help.
Regards
Piyush
yes it is possible we have a method 'DO_DYNAMIC_NAVIGATION' in IF_WD_VIEW_CONTROLLER.
check this code.
data:
l_view_controller type ref to if_wd_view_controller,
l_nav_services type ref to if_wd_navigation_services.
l_view_controller = wd_this->wd_get_api( ).
l_nav_services ?= l_view_controller.
l_nav_services->do_dynamic_navigation(
source_window_name = 'YH1108_APP11'
source_vusage_name = 'MAIN_USAGE_1'
source_plug_name = 'GOTO_TEST'
* PLUG_PARAMETERS = PLUG_PARAMETERS
* TARGET_COMPONENT_NAME = TARGET_COMPONENT_NAME
* TARGET_COMPONENT_USAGE = TARGET_COMPONENT_USAGE
target_view_name = l_view_name
target_plug_name = 'IN'
* TARGET_EMBEDDING_POSITION = 'MAIN/CONTENT'
).
also check this standard program WDR_TEST_UI_ELEMENTS and check the view MAIN.
Thanks
Suman.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When i am doing dynamic navigation, my requirement is to call the other Window (TARGET ) more than once.
So i am dynamically calling the window in a loop. But the problem is that, the window is called and displayed only for the last iteration.
I thought that we need to navigate back to the source window and call the target window again. This Will create a cycle and show all window. Just a thought.
Thats the reason i need to create dynamic plug.
If there is a solution to this, it would be really helpful.
Regards
Piyush
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.