on 03-31-2011 12:23 PM
Hi All,
I know a view can be opened as a popup.. Somewhere there was a method like "open_view_in_popup" or similar..
Does anybody know where to find this method?
Thanks,
Johannes
Also checking the API of the Window Manager, there are methods for creating a popup for a window, for a component usage, and the built in confirmation dialog - but not for a view.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/79f82ccbec6fcde10000000a1553f6/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
like I said, was sure that I have seen such a method before... And now I have found it:
cl_wdr_runtime_services=>display_view_in_popup(
EXPORTING
component = lo_api_component
target_view_name = 'VIEWNAME'
close_button = abap_true
button_kind = if_wd_window=>co_buttons_none
window_title = lv_window_title
IMPORTING
popup_window = wd_comp_controller->go_popup_window_viewname ).
Tada!! I knew it
Have fun with it..
Johannes
Hi,
I have a perfect example with me in a word file which describes clearly how to create a web component which uses a view and which throws a popup on clicking on this view.I have posted the material in wiki a document named"BASIC USER WEB DYNPRO APPLICATIONS",please find the attatchment over there.Thanks.
Praveen Kambala.
Edited by: PRAVEEN KAMBALA on Apr 7, 2011 4:21 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Generally you open Windows in a popup. There is a code wizard for this. Just create an extra window in your component and place the view you want to open within it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.