on 07-09-2009 3:34 PM
Hi,
In my WD application -MAINVIEW , I made 2 different groups under ROOTUIELEMENTCONTAINER
GROUP1 -Selection fields with search button - with ROW LAYOUT
GROUP2 -INTERACTIVE FORM - with FLOW Layout
Basically when we click the Search button I get the form in the same view underneath GROUP1.
I am calling this WD application in Portal by giving the hyperlink via BSP application.So when they run the WD application now With portal headers it is still becomming heightwise small area.
Is there a way with which we can open form in completely new window without the Portal Headers?
Rgds
Vara
yes.. you can launch the form from a selection screen into a new window...
I am using this to launch an editable PDF from a selection screen into a new window. This code is placed on the event handler of my Create button on the selection screen.
DATA: str TYPE string,
l_window1 TYPE REF TO if_wd_window_manager,
l_cmp_api TYPE REF TO if_wd_component,
result TYPE REF TO if_wd_window,
lt_parms TYPE TIHTTPNVP,
ls_parms like LINE OF lt_parms.
ls_parms-name = 'OPERATION'.
ls_parms-value = 'C'.
APPEND ls_parms to lt_parms.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'your_wd_application_here'
in_parameters = lt_parms " <- any URL parameters you need to send
IMPORTING
out_absolute_url = str.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window1 = l_cmp_api->get_window_manager( ).
result = l_window1->create_external_window(
URL = STR ).
result->open( ) .
You have to be aware, though, that you will lose ALL your context data b/c you are opening a new user session. That's why I had to use url parameters to pass data to my form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Robert ,
My URL is always same when it is selection-screen or when it is with adobe form.
Do i need to change something to reflect changes?
http://sape-dev****net:8000/sap/bc/webdynpro/sap/zschedule?sap-language=EN
rgds
Vara
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.