on 08-23-2007 1:11 PM
Hi All,
Does anyone have how to create another window with input fields & button init. There will be a seach button on my page ,on clicking on it a new window will come with fields and a seslect button.The search result will also so in the table in that window. Any one plese tell me how to do it. I am new to this technology. If possible please provide sample code.
plz.
Thanks,
Prosun
I your view you have to create input field & search button
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prosun ,
First create a view with your search field and embedded it in a window.
Now create an window reference in component cont controller level.
Then create a window object.
On click on the button just perform your action.
Then bind your search data in the context of new view.
Next open the new window with window open().
I am sending some sample code here, hope it will help you.
Calling window from action button.
wd_comp_controller->create_window( ).
Create window method at component level.
method CREATE_WINDOW.
DATA: component TYPE REF TO if_wd_component,
wd_window TYPE REF TO if_wd_window_manager.
component = wd_this->wd_get_api( ).
wd_window = component->get_window_manager( ).
CALL METHOD wd_window->create_window
EXPORTING
modal = ABAP_TRUE
window_name = 'Window Name
title = 'Window title
close_button = ABAP_TRUE
button_kind = 3
message_type = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
close_in_any_case = ABAP_TRUE
message_display_mode =
default_button =
receiving
window = wd_this->window
.
wd_this->window->open( ).
endmethod.
I am sending some sample code here, hope it will help you.
Regards
Satrajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you should try to use this:
<a href="/people/koen.labie2/blog/2006/11/17/custom-f4-functionality-in-webdynpro-for-abap F4</a>
or check the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9b/c51c42735b5133e10000000a155106/frameset.htm">F4 functionalities</a>
or <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/bcd2b8e326332ee10000000a11466f/frameset.htm">dialog boxes</a>
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.