Resizing pop-up window in webdynpro abap

Hi,
I am a newbie to abap webdynpro.I would like to know how to resize
a pop-up window.
I have used the method 'SET_WINDOW_POSITION'
from interface 'IF_WD_WINDOW'
Below seen is my coding, but this is not working. Can anybody  clarify!
L_FINAL_WINDOW->SET_WINDOW_POSITION(
LEFT = 200
TOP = 200
*position =  ).
L_FINAL_WINDOW->SET_WINDOW_SIZE(
WIDTH = '3000px'
HEIGHT = '3000px' ).
Regards,
Sathish kumar

L_FINAL_WINDOW->SET_WINDOW_POSITION(
LEFT = 200
TOP = 200
L_FINAL_WINDOW->SET_WINDOW_SIZE(
WIDTH = '30em'
HEIGHT = '10em' ).
L_FINAL_WINDOW->open( ).
also you can use pixels.
don't use 3000px, use less.
L_FINAL_WINDOW->set_window_size( width = '300px' height = '' ).

Similar Messages

  • Reg:working with multiple windows in webdynpro-abap

    Hi ,
    How can we create multiple windows and how can we link them...
    suppose we have 3 fields on first screen .how to move the data from the first screen to second screen..
    Thanks & Regards
    Suman Puthadi

    Hi
    As per your Subject you are looking for "working with multiple windows in webdynpro-abap" and for abap there is a different forum. Web Dynpro ABAP
    Hope its clear to you...
    Even you can read this post when ever you get time Read before posting
    Regards
    Ayyapparaj

  • Remove Maximize button from popup window using Webdynpro ABAP

    Hi,
    Is there a way to remove the maximize button from a popup window using Webdynpro ABAP?
    Thanks,
    Jay

    Hi Jayanth,
    I think by setting is_resizable parameter pass abap_false. try this
    lo_window = lo_window_manager->create_window(
    window_name = 'POPUP'
    title = 'Window'
    close_in_any_case      = abap_true
    message_display_mode = if_wd_window=>co_msg_display_mode_selected
    message_type = if_wd_window=>co_msg_type_none
    is_resizable    = ABAP_FALSE ).
    Cheers,
    Kris.

  • Close Popup window in webdynpro abap.

    Hi,
    Can anyone tell me ...how to close the popup window through the action in webdynpro abap . In my popup window there is a button(i.e 'UPDATE') apart from that  default 'OK' button , I want that when 'UPDATE' button is pressed, along with the action window should be closed. I dont want to close the window by pressing 'OK' button at the botton
    I have used following code to open the popup window.
    data lo_window_manager type ref to if_wd_window_manager.
    data lo_api_component  type ref to if_wd_component.
    data lo_window         type ref to if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window(
                       window_name            = 'POP_UP  WINDOW'
                       title                  = ''
                      close_in_any_case      = abap_true
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                     close_button           = abap_true
                       button_kind            = if_wd_window=>co_buttons_ok
                       message_type           = if_wd_window=>co_msg_type_none
                       default_button         = if_wd_window=>co_button_ok
    lo_window->open( ).

    Hi Dear,
    please try this code,
    DATA lv_wc TYPE REF TO IF_WD_WINDOW_CONTROLLER.
    data lv_view TYPE REF TO IF_WD_VIEW_CONTROLLER.
    data lo_window  type ref to if_wd_window.
    lv_view = wd_this->wd_get_api( ).
      lv_wc = lv_view->GET_EMBEDDING_WINDOW_CTLR( ).
       lo_window =  lv_wc ->GET_WINDOW( ).
       lo_window->CLOSE( ).
    Message was edited by: kumar.k kulanthaivel
    Regards,
    K. Karthikeyan

  • Resizing Pop-Up Window

    Hi All,
    This is a question posted before and havent got an answer, but I'm trying my luck again, bringing it to everyones attention.
    I have a WD component used to several other component to show Error,Warning, Info messages on a Pop up window.
    The client wants the size of the window to be appropriate to the length of the message.
    I tried these code, but there were no difference.
    data: lo_window_manager type ref to if_wd_window_manager,
            lo_api_component  type ref to if_wd_component,
            lo_window         type ref to if_wd_window.
      lo_api_component  = wd_this->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window
        = lo_window_manager->create_window( window_name          = 'POPUP_WINDOW'
                                            message_display_mode = if_wd_window=>co_msg_display_mode_none
                                            button_kind          = if_wd_window=>co_buttons_ok
                                            message_type         = if_wd_window=>co_msg_type_none
                                            default_button       = if_wd_window=>co_button_ok ).
      lo_window->set_window_size( width  = '120' height = '120' ).
    If someone has manage to get this working please advice.
    Thank you.
    Regards,
    Vinod

    hi ,
    POP UP WINDOW can not be re sized
    also refer the related SAP NOTE :  1003826  in this regard
    'set_window_size'  is not effective
    If u change the height and width of View which is embedded in the pop up window then it can help u in sm way .
    please go thru the Thomas' reply in this thread :
    Re: Confirm Popup in Web Dynpro, window size
    You can not set the size directly on the popup. I know that there are attributes and methods for this; but they are ignored in the HTML rendering. They are for future usage/smart client rendering. For now in the HTML rendering you can set the size by inner content of the popup. The popup automatically resizes to its inner content. If you are reusing one of the standard SAP-Provided confirmation popups, then you really can't control the size.
    I hope this information wud suffice ur query .
    regards,
    amit

  • Auto-resizing pop-up window

    What I'm doing is making a calendar and when you click on a
    day a small pop-up window of that day's activities pops up. Well
    not all the days have the same amount of activities, so is it
    possible to have pop-up windows that auto-resize according to how
    much text is in the pop-up window?

    i dont know of any extensions that provide this....
    however you could do something based on # characters. create
    some calculation for the height of the window based on #
    characters.

  • Login pop-up when launching Webdynpro ABAP application from SAP Inbox

    Hello All,
    We have configured our workflow to trigger WD ABAP application from SAP Inbox.
    However when we launch the workitem from SAP Inbox, we are getting a login pop-up screen in IE which prompts us to enter SAP password.
    Can you please help how can we avoid getting that login screen and how the WD ABAP application can single sign on from SAP GUI to IE for that user-id.
    Appreciate all your help.
    Regards,
    Samta.

    Hi Samta,
    You can configure User(RFC) and password for your webdynpro appl'n using SICF tcode.
    Path : /default_host/sap/bc/webdynpro/sap/(your wdp appln)
    Thanks
    Katrice

  • Issue with Pop Up window in Webdynpro java

    Hi Folks
    i am trying to use the below code for my test application.
    I took the below code from SDN.
    public void showAddressbookPopup() {
    // @@begin showAddressbookPopup()
    // get the repository content at runtime of the Web-Dynpro-
    // Window u201CAddressbookWindowu201D
    IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI
    .getComponentInfo().findInWindows("AddressbookWindow");
    // create the u201CAddressbookWindowu201D
    IWDWindow window = wdComponentAPI.getWindowManager()
    .createModalWindow(windowInfo);
    // set the WindowPosition on the screen
    window.setWindowPosition(300, 150);
    // and show the window
    window.show();
    Here i dont find the function show under window.
    window.show();
    My NWDS prompts me with the Error msg as
    The Method show() is undefined for the type IWDWindow.
    Can anyone provide some pointer over this.
    Thanks
    Kumar T

    You found it? Use "Open" instead of "show" and it will work like ours.

  • POP UP window resize in web dynpro ABAP

    Hi All,
    I have created a pop up window by using method create_window of interface  if_wd_window . The pop up window is Resizable by default . If user Resizes the pop up window , Screen is uncooperative . As a solution we decided not to allow Resizable option for pop up window but by default the pop up window is resizable . Please let me know how to disable this default  Resizable option .
    Our SAP system is of version 700 ( SAP_BASIS 700 ) . I checked other system where SAP_BASIS version is 701 , here the pop up window is not resizable by default . Is there any way ( OSS note ) to disable the default Resize option in SAP_BASIS 700 ?
    I tried to adjust the pop up window size by using SET_WINDOW_SIZE but it is not  working in SAP_BASIS 700 .
    Please let me know if there is any solution for this .
    Thanks in advance ,
    Kiran.

    Hi,
    I am not sure if you would be able to solve this with some note (i doubt if it exists of 7.00 ). Try to see once again if_wd_window has any method or attribute which would help you otherwise (I think you have done that already ).
    Why not upgrade to 7.01 ?

  • WebDynpro ABAP Pop-Ups don't pick up the theme

    Hi everyone,
    I've developed a WebDynpro ABAP component that makes use of a Freely Programmed Input Help.
    This input help is shown in a pop-up which doesn't inherit the portal theme. Actually it inherits only parts of it and not the whole look and feel (for instance labels are rendered fine but page background is the standard blue colour).
    Unfortunately I cannot use the parameter:
    WDFORCEEXTERNALSTYLESHEET=X&sap-cssurl=
    because I have no control on the window (free style Input Value Help Windows are opened automatically by the framework and I parameters can't be added to the URL).
    Any ideas?
    Thank you.

    Hi,
    Refer Portal Theme in Webdynpro ABAP
    This might give you some idea.
    Thanks,
    Chandra

  • Auto resize a pop up window

    Hi,
    I have a pop up window that appears when you click on a link. The problem that i am having is that when the user does not select anything from a drop down list or inserts any comments within the pop up window, the pop window displays error messages(validation checks) which hides most of the buttons and information within the pop up.
    Is there any way where the pop up can resize itself to a postion when those error messages appear so that all the information is visible without the user having to re size it themselves.
    any help will be appreciated
    Monica

    If you are not passing any values through the URL you could implenet Popup2() like this...
    1. Make a display as text item and remove the label.
    2. In the pre element text put
    <a .href="javascript:popUp2('f?p=&APP_ID.:38:&SESSION.::NO:::', 600, 800);">Click Here</a>remove the . infront of href (the forums will filter out the link if i don't put it there)
    This is a link to page 38 in your current app using your current session.
    When you run your app you should see a link that says Click Here and it should create a popup window to page 38 of your application.

  • Pop up window resize disabled not working in fire fox (Linux)

    Hi all I am using Dreamweaver 8, with behavior I made a pop
    up window and disabled window resizing. It worked nicely in my
    windows XP system (I checked it in IE and Fire fox). But it is not
    working in Linux machine having same version of Fire fox
    browser(but worked correctly in IE on the same machine). In Linux
    machine we can simply resize the window.
    Does anybody give a solution to fix this problem?

    Post a link to the page, please.
    Why disable window resizing? What about those whose screen
    won't display
    the size you have picked?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "thozhayan" <[email protected]> wrote in
    message
    news:egpsde$s3r$[email protected]..
    > Hi all I am using Dreamweaver 8, with behavior I made a
    pop up window and
    > disabled window resizing. It worked nicely in my windows
    XP system (I
    > checked
    > it in IE and Fire fox). But it is not working in Linux
    machine having same
    > version of Fire fox browser(but worked correctly in IE
    on the same
    > machine). In
    > Linux machine we can simply resize the window.
    >
    > Does anybody give a solution to fix this problem?
    >
    >

  • WebDynpro ABAP iView not opening in new window

    Hi,
       I have created an iView for a WebDynpro ABAP application and I am having a link in a home page from where the iView should open in a new page. I have set the properties "Launch in new Window" and "Show open in new window option" of the iView but still it doesn't open up in a new window.
        Can someone suggest me what's going wrong?
        Will reward points for helpful answer.
    Regards
    Mukesh

    Hi Volker,
       Thanks for your reply.
       I think, I have set the properties of the iView right. I have tried with all the options for the property "Launch in new window" property of the iView but it didn't work.
       "By home page framework" I mean that the link of the iView in portal has been created using the "Home page framework" i.e. from "SPRO" transaction in the backend.
       Please let me know if you need any other input from me.
    Regards
    Mukesh

  • How can we navigate between two windows of same component in webdynpro ABAP

    Hi
    how can we navigate between two windows( not views ) of same component in webdynpro ABAP. its an urgent requirement
    Thanks in advance.
    Regards
    Laeeq

    Hi Laeeq,
    You cannot navigate between windows of one component. You can only call a dialog box showing the contents of a second window, or you can embed the contents of a window of a different component.
    Just add all the views you need to the one and only main window of the component.
    Ciao, Regina

  • Printing window contents in webdynpro ABAP

    Dear fellow SDNers,
    The first reply that may come to your mind for this post is that "This has been discussed numerous times in this forum".
    But the fact is that I am not able to make out how it is possible to print the contents of a webdynpro window. I want a print-screen like functionality wherein i click a button on the view and the contents of the same view, along with the ui elements, values entered everything should open for print-preview in another window. The new window should basically have the same view displayed, with none of the user actions enabled. From there i need to actually print through another button if the user so desires.
    Having done a search, I found that people have suggested ways to do it easily in webdynpro java. But i need to do it in webdynpro abap.
    Also, some posts mention the use of interactive forms. But I could not make out how to pass the entire view displayed to a form at runtime. Do I need to create a form separately and display it using the interactive form ui element? What I could find out was that the values of the context node attributes can be passed on and mapped to an adobe form but that is not what i require. I need the entire view layout as it is displayed.
    Please help me out on this. If this is the exact requirement that is discussed many times in the forum then I request you to please lead me to the right threads.
    Regards,
    Priyank

    >
    Satheesh Soundararaj wrote:
    > Hello,
    >
    > The interactive form can be a good option since the data is automatically populated in the PDF and the user can review it before printing it.
    >
    > There is no need to create a new form from scratch using SFP. Webdynpro will generate a form for you with the help of context. The context data will be passed to the interactive form automatically.
    >
    > 1. At first you need to create a Interactive form UI element
    > 2. Bind the context to the data source of the Interactive form UI element property
    > 3. Maintain the form name in the context attribute and bind it to pdfsource
    > 4. Enter the form name in template and double click it. Select the context as the interface. This will help you out in generating a form automatically.
    >
    > Refer to this sap link for additional information
    > http://help.sap.com/saphelp_nw2004s/helpdata/en/f6/501b42b5815133e10000000a155106/frameset.htm
    >
    > Regards,
    > Satheesh
    Hi,
    i have tried this proceeding.
    But i got an Error: "Could not start Layout Designer"
    So there is a need of a local installation of the Forms Design Tool to use the InteractiveForm-UIElement.

Maybe you are looking for

  • Problem with WIFI in Ipod touch

    Hello, I have a problem just today, the day before ipod touch worked fine. Today I want to download some app. and then when I click on app button the screen show Loading... and just a few second it said *"cannot retrieve download information. please

  • I've downloaded iTunes on this computer but now nothing happens when I plug my phone in the USB port.

    I had a software update on my phone and tapped it to start the update then decided to cancel it. Now it will not let me back in my phone and has a picture that is telling me to plug into iTunes. I had to download iTunes on this computer first because

  • Combining Word Documents - Selecting Pages - Acrobat X Pro

    Hi, I am hoping someone can tell me where I can find the setting to be able to do the following action, When combining different types of files, I get different behaviour for selecting pages, i.e. the "Preview and Select Page Range" dialog, e.g. for

  • Drag and Drop a file to a JForm

    Im developing my desktop app with netbeans. Is there any way to drag a file from your directory explorer (i.e. window's explorer) and drop it on the JForm (Dont mind if on the form directly or over any other object) , and make the app, i.e. show that

  • Can't play Purchased Music getting error 42404

    Have the newest iTunes and Quicktime. When Authorizing it gets error 42404 "We could not complete your iTunes Store request. A required iTunes component is not installed. Please repair or reinstall iTunes -42404." I have uninstalled Quicktime and iTu