I need the code for creating popup windows and code for open and close

I can write the code for creating popup window , i am getting problem while trying to open and closing that popup windows.
Can anybody help me in that pls ?
Regards
Sreeni.

Hi
For pop up window
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition (300, 150);
window.show();
wdContext.currentYourNodeElement().setPopupAttribute(window);
For closing window code
IWDWindow window = wdContext.currentYourNodeElement().getPopupAttribute();
window.hide();
window.destroyInstance();
For more infornation refer this link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true
This link is very useful for you.
Regards
Ruturaj
Edited by: Ruturaj Inamdar on Aug 13, 2009 9:10 AM

Similar Messages

  • Help Needed. Creating popup windows when creating an app. And a text search button

    Hi, I'm new to indesign and am having trouble creating popup windows when creating an app. Also i would like to create a text search button so that people can search text within my app. Can these things be done?? im using cs6 at the moment.

    Questions on creating apps with the Adobe Digital Publishing Suite need to be asked in the DPS Forum, where I've moved your question.

  • Need the Oracle Developer Suite 10.1.2.3 for Windows XP & Windows 7

    Hi All,
    Need the Oracle Developer Suite 10.1.2.3 for Windows XP & Windows 7 for developing Custom Forms and Reports to be used in R12.1.3. Please provide a link from where I can down the same.
    Thanks in Advance,
    Kiran Panditi.

    The base release is available here:
    http://www.oracle.com/technetwork/developer-tools/forms/downloads/index.html
    In order to get to 10.1.2.3, you must then install Patch ID 5983622
    Installation on Windows 7 is only supported for Win7 (32bit) and requires special installation instructions found in MOS Note 1292919.1 . Not following these instructions will result in failure to install the product properly.

  • Popup window in Wendynpro for ABAP

    Hai,
    How to create popup window with some texts and close button.
    Once user click a table cell (link to action), the popup window shoud give information about the cell information.
    Please this is urgent.
    Thanks in advance,
    Tamil

    Hi,
    This can be achieved in the following manner,
    Firstly, As you want to have a pop up , you need to create a new window in the application. now as you wrote that you need some texts and a button. create a view having both the things, i.e create texts and a button on the view.
    Now as this view cant be displayed alone on screen, this view has to be embeded in the window you created for the popup.
    now the pop up creation is done and code the below on the link to action.
    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.
      data lo_view_controller type ref to if_wd_view_controller.
      data :  lt_text TYPE string_table,
              ls_text TYPE string.
    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 =  write window name here please note all should be in caps
    title =  title here
    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( ).
    Let me know in case of any issues!!
    Thanks and Regards,
    Shitanshu Sahai
    Kavita Rathore  Please provide the required code, I guess you implemented it in your program

  • SSO UIDPW not working for external Popup Window but works with SAPLOGONTICK

    Dear Experts,
    I have an issue with SSO user mapping (UIDPW), but the same scenario is working with SAPLOGONTICKET.
    Some list gets displayed in the Web Dynpro ABAP iView which has the hyperlinks where on click on the hyper link it opens a external popup window (another Web Dynpro Application) and display the summary some data.
    This scenario works when I set the logon method to SAPLOGONTICKET, but when I set it as UIDPW it won't work when a new window opens on click on the hyperlink from Web Dynpro iView as stated above. It asks to login to R/3 system.
    Can anyone please let me know what could be the reason it fails in External Popup window scenario when logon method as UIDPW.
    Thanks
    Murthy

    Hi Murthy,
    You can use application integrator iView to integrate your ABAP application into the portal and you'll be able to pass the variables <MappedUser>, <MappedPassword>, etc. assuming you know about the security risks in passing mapped info.
    http://help.sap.com/erp2005_ehp_05/helpdata/en/36/5e3842134bad04e10000000a1550b0/frameset.htm
    Still, your ABAPers might need to handle the passed in variables in the first ABAP application and pass them onto the second one.  Again, without knowing how you navigate between the 2 apps and other details about your system landscape, versions, etc. this remains as a guess.  If you search SDN, you'll find many different solutions then you can choose one which is most suitable for your situation.
    Regards,
    Dao

  • How to display the return message in popup window

    Hi Experts,
    In WDA i want to display the return message through popup window.
    Regards,
    M.Chella Meenal.

    hi Chella Meenal ,
    you can generate the popup using popup factory class also , look at the below sample code for displaying message in a popup , and you can do your own configurating like visible , enable the buttons you want ..
    data:
        lr_component type ref to if_wd_component,
        ls_conf type wdr_popup_to_confirm,
        lt_texts     type string_table.
      ls_conf-window_position = '1'.
      ls_conf-button_1-text = 'OK'.
      ls_conf-button_1-icon = 'ICON_OKAY'.
      ls_conf-button_1-enabled = 'X'.
      ls_conf-button_1-visible = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
      ls_conf-button_2-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      ls_conf-button_cancel-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      lr_component = wd_comp_controller->wd_get_api( ).
      append 'some text' to lt_texts.
      cl_wd_popup_factory=>popup_to_confirm(
          component        = lr_component
          text             = lt_texts
          CONFIGURATION    = ls_conf
          window_title     = 'some title' ).
    Regards
    Chinnaiya P

  • Whats the current deal with popup windows in flash?

    Hi There,
    whats the current deal with popup windows in flash? I'm
    trying to include popup windows in a site, and with IE7 (or
    whatever the newest version of IE is ..the firefox lookalike) the
    popups are not working at all, I have gone out a gotten other
    sample popup scripts and I encountering the same problem, which is
    the popups aren't working at all?
    Is this a problem with just IE7 or am i completely missing
    out on something here?
    any ideas would be really appreciated! or if anyone has any
    scripts for sizeable popup windows that work on IE7 i would really
    appreciate it. thanks
    :}

    well i have used a couple of different attempts. I have used
    code generated by this:
    http://www.flash-db.com/PopUp/
    on (release) {
    getURL
    ("javascript:NewWindow=window.open('pants.html','newWin','width=200,height=50,left=0,top= 0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');
    void(0);");
    I have also tried a couple of other tutorials from
    http://www.kirupa.com
    link;
    http://www.kirupa.com/kirupa.htm'
    and I used the javascript supplied and had no luck (I
    embedded the html etc) ... i have tried about 5 other tutorials and
    I've got to the point where I'm wondering is the problem based
    around by browser, I only using IE7 and have no ther browser. I'm
    using FlashMX 2004. all the example files .fla and swfs i have
    downloaded aren't working either so I'm totaly scartching my head
    at this point...
    any ideas where i'm going wrong here? any help very much
    appreciated
    :}

  • Validation for creating check in T-code FCH5

    Hi All,
    I have created payment docuemnt t-code F-48.
    Then for creating check in T-code FCH5, system allows me to assign different House Bank and Account ID.
    How can this be controlled through validation, kindly guide on creating validation for the same.
    Thanks

    Hi,
    In FS00 for bank gl accounts give house bank and account id. By giving this the problem will be solved.
    and also check
    In OBVCU for bank accounts check combination of house bank,payment method,currency,accoun id and bank subaccount.
    Hope it solve your problem
    Regards,
    Sankar

  • *NO AUTHORIZATIONS FOR CREATING ACCOUNTS IN COMPANY CODE*

    HI
    NO AUTHORIZATIONS FOR CREATING ACCOUNTS IN COMPANY CODE
    SYSTEM MESSAGE:
    No authorization for creating accounts in company code 3333
    Message no. F2305
    System Response
    You cannot access the requested data.
    Procedure for System Administration
    If necessary, include an entry in the user's authorization profile for the authorization object and parameters specified below.
    Authorization object:
    F_KNA1_BUK
    Parameter:
    Company code: 3333
    Actions: 01
    KINDLY THROW UR IDEAS

    Hi,
    You have not been authorized for this transaction. Please speak with your BASIS guy he will give you the authorization.
    Regards,
    Abhee.

  • Only SkinLF for creating irregular windows?

    I have tried to get an answer on my question at Java new but no success. I hope that somebody here will help me!
    I have downloaded SkinLF and very eager to use it. I want to use it by NetBeans 4.0. For themes there are no problems. But when I want to create irregular window or trying to run Clock Batch File from SkinLF the following message appears "If you are using JDK 1.4 (I am using jdk1.5) and it complains about jawt.dll use jdk.home\jre\bin\java instead of jdk.home\bin\java". I have tried to change NetBeans .config file but then NetBeans failure to run. May be I am doing something not in a right way or it is impossible to run SkinLF within NetBeans 4.0 environment at all?
    Another question, is there only SkinLF for creating irregular windows? Can you recommend another tool(s) (probably JDK 1.5 already has something new)?
    Please advise.

    Hi,
    Good Work Mohammed !!!
    Regards
    Taj

  • While playing games like NFS and CounterStrike my macbook pro it does connects to the hotspot by any device either a Windows laptop, but doesn't show or connect to the server (LAN) created by windows player.Or neither connects to the server that i created

    While playing games like NFS and CounterStrike my macbook pro it does connects to the hotspot by any device either a Windows laptop, but doesn't show or connect to the server (LAN) created by windows player. Or, any other devices doesn't  connects to the LAN server that i created in the Game.     
    Could any one help me please.

    Please do not post more than about 50 lines of console logs or output from an Application crash at a time. No one can make it through those.
    If you had a kernel panic, those are Full of good information and should be posted in their entirety. They are stored, and can be read back and posted using this article:
    How to log a kernel panic

  • Webdynpro for java 怎么实现弹出一个popup window时,使原来的窗口变的不太明显?

    webdynpro for java 怎么实现弹出一个popup window时,使原来的窗口变的不明显,比如变模糊,或者消失都行。不知道怎么实现?

    创建一个modalWindow实例就可以了,如下:
    IWDWindowInfo windowInfo =(IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("HelloWindow");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    window.setTitle("hello");
      window.show();

  • What r the steps to create task based user interface for interaction center

    Hi all,
                Can any one please let me know the steps to create task based user interface for interaction center? It would be great
                if anyone can share document with step by step.
    Thanks,
    Baasanthi

    Hi all,
                Can any one please let me know the steps to create task based user interface for interaction center? It would be great
                if anyone can share document with step by step.
    Thanks,
    Baasanthi

  • I am having a problem installing the x86 drivers on a Windows 2008 server for a hp 4000n.

    I am having a problem installing the x86 drivers on a Windows 2008 server for a hp laserjet 4000n.

    Hi all,
    Sylonious, did you manage to sort this problem out? I have been experiencing similar problems. I think my problem was because I had many different versions of JDKs. I have done a complete re-install. I would be really grateful to you (and anyone else) for help with this problem.
    I have re-installed JSDK1.4.2_03, set the "path" variable to "C:\JSDK1.4.2_03".
    When I compile using "javac" I get an error saying "javac" is not recognised.
    When I compile using "C:\j2sdk1.4.2_03\bin\javac Freq.java" no error is thrown.
    Every time I try to run a java file, I always get the NoClassDefFound error. When run with the -verbose option, files are loaded from C:\Program Files\Java\j2re1.4.2_03\bin - is this correct?
    I have removed all previous references to java in the registry editor.
    Please help !
    Regards,
    Vipul

  • Issue with records displaying in the advanced table in popup window oaf

    Dear All,
    I have a requirement as below.
    I have a popup search page in that i am displaying the searched data in advanced table, but the issue is all the rows not displaying in the popup window because of poup window size, even i am not able to view the "Next" button in the table to proceed next records, can someone suggest me how to display the "NEXT" button in the table so the i can view all the records in the table.
    or is it feasible to implement "SCROLLBAR" in the advanced table in popup window so that i can scroll vertically and horizontally to view records.
    Thanks

    Actually i have made a mistake, in my advanced table table property palllet i have mentioned maximum rows fetched 20 but in my page i was displaying 10 records only so thats why the navigation button not displaying,
    Thnaks

Maybe you are looking for