How to close a pop up window of used component ( usage defined )

Hi Friends ,
I'm calling a window as a pop up of used component ( Usage defined ). I want to close that pop up using a button on the embedded view of that window.
it would be great help If any one can help me in this.
Regards,
Laeeq

>
Laeeq Siddique wrote:
> Hi Silke ,
>
> I Want to close a pop up using a botton on embedded view of window of used component and I do not have the refrence of window object there. I know what you are talking about but its not that simple.
>
> Regards,
> Laeeq
Actually it is pretty simple.  From the embedded view you can use the APIs to get access to the hosting window object.
data l_api_v_new_attachment type ref to if_wd_view_controller.
  l_api_v_new_attachment = wd_this->wd_get_api( ).
  data window_controller type ref to if_wd_window_controller.
  window_controller = l_api_v_new_attachment->get_embedding_window_ctlr( ).
  data window type ref to if_wd_window.
  window = window_controller->get_window( ).
  window->close( ).

Similar Messages

  • How to remove the pop-up window ''Wireless Radio Status" for t430s

    Hi, I have owned my t430s for now about 2 years without any major complaints recently I've had to use the fn + f5 function quite frequently, because of my poor internet connection. so that way i can reset which signal I want to choose because the default signal I am connected to is not mine. My problem is similar to what is posted here: https://forums.lenovo.com/t5/X-Series-Tablet-and-Helix/how-to-remove-the-pop-up-window-Wireless-Radio-Status/td-p/1191059 I really want to get rid of the pop up for this feature, I've tried to follow what the other thread user's have done and try out their solutions but it does not work for my t430s i tried changing the pmev thing to what was posted in the thread. Can anyone help me? Thanks!  

    I already tried that as mentioned in my original post, it doesn't work. I still get the pop up message: this is me pressing fn + f5 

  • How to create a pop up window while creation of the delivery note.

    Hello Experts
    How to create a pop up window while creation of the delivery note.
    As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
    For e.g.
    Str. Loc     Qty      UOM
    DE01        100        KG
    DE99          50        KG

    Dear all,
    i m having two document numbers for invoic of same types such as output type print program and smartform.
    biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
    Directly the cursor comes to initial stage of vf03.
    suggest what to do
    Thanks and regarnds
    ravi

  • Cannot download application world- how to close all the browser windows

    i cannot download the blackberry application world "sorry, your session has expired. Please close all of your browser windows and then return to the welcome page to start again." How to close all the browser windows?

    Hello numadia
    Welcome to BlackBerry Support Forums
    Is your problem resolved or you're still having problem with download BlackBerry world !
    If you're having problem then just peform a Battery pull restart by removing the battery while your device is Powered On, wait for a min. then reinsert it back after reboot please try it again.
    If problem persists then you can also go through this Knowledge Base  KB32113
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • How to recover administrator password in windows 7 using usb

    I have an HP netbook mini and need to how to recover administrator password in windows 7 using usb as we have forgotten and need to load itunes from another Iphone.
    This question was solved.
    View Solution.

    Hi,
    You could use a reset utility such as the free example on the link below - using another PC, this can be created on a usb flash drive.
    http://pogostick.net/~pnh/ntpasswd/
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • HT3986 How do I right click on Windows installed using Bootcamp?

    How do I right click on Windows installed using Bootcamp?

    It should work the same way it does in OSX, but for it to work correctly, you need to install the Boot Camp drivers in Windows. You can do this by using the Boot Camp Assistant in OSX, then creating the "Windows support software (drivers)" package. Follow the instructions there, then use the resulting thumbdrive to install the drivers and apps into Windows. Then you should be able to two-finger-click the touchpad or right-click your mighty mouse or other two-button-enabled mouse.
    http://support.apple.com/kb/HT4407 for more info on this.
    Caveat: I've done this, and I've found that the two-finger-click in Windows is iffy. That is, it frequently triggers a left-click function instead of right-click. :-/

  • How can I override pop-up windows for a specific site?

    In Firefox for Mac and Internet Explorer on a PC, you can turn off pop windows, but authorize specific sites to open a pop-up window.  Is there a work around in Safari?  The simple on/off switch (command-shift-k) is not adequate.  I'd like to use just one browser, instead of using one for general surfing, and another for sites I log into that open various pop ups as I navigate. 
    Safari is fast, but at a functional cost. 

    Adblock keeps popping up as a suspect in Safari crash logs, so I'm a little nervous about it. Glims seems to have a better rep for Safari-friendliness and I believe it offers selective ad blocking:
    Glims for Safari | www.MacHangout.com
    You can also try the Camino. browser, From the Mozilla crew, it is Mac-only and much leaner and faster than FireFox. The interface is very close to Safari, unlike FireFox's rather Windows-centric approach. You can selectively block or allow both cookies and pop-ups. It's my backup browser and my wife's primary browser.

  • How to Open  a pop up window?

    Hi
    I have 2 fields in my form.
    attribute1 and attribute1_meaning
    only attribute1 is displayed on the form .
    I want that whenever a user updates or inserts any record into the attribute1 field ,
    a window should pop up prompting for the user to enter field attribute1_meaning.
    in short --
    if attribute1 is updated or inserted then attribute1_meaning should also be updated or inserted.
    How to go about this?
    thanks

    well bro u have to create another canvas with dialog window, set its size and pop it up.
    You can also hide the meaning field and everytime the user changes or inserts set the visibility of the attribute_meaning to yes.
    and use validation and post change triggers to pop the window occasionally when the meaning is null or the record is new or changed.
    zaibi.

  • How to close a POP UP SCREEN

    Hi,
    Im calling a pop up screen (which contains and editable alv grid) when pressing a button on a status of a OO alv grid. Then, i write something on this alv grid from pop up screen and finally, when i want to close the window, i clic on the x thats on the right upper corner of the screen.
    When i do this, the program goes to the 'Module User command Input', where ive witten the sentences 'leave to screen 100 (first screen)', 'exit', 'leave screen', 'leave program'. Then it goes back to the 'Module status Output' (I dont know why it goes there) And finally nothing happens. The pop up window just wont close.
    I really need so serious help with this.
    Cheers,
    Roberto.

    Hi,
    have you tried the following two commands?
    SET SCREEN 0.
    LEAVE SCREEN.
    Cheers

  • How to create centered pop up window

    How do you get a pop up window to appear at the center of a
    screen? I did it in the past on go live using an action form a 3rd
    party. I don't see any placement options on the pop up window
    behavior.
    thx

    Works for me using Firefox :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    ~ Forum Posting Guidelines ~
    http://www.adobe.com/support/forums/guidelines.html
    CSS Tutorials for Dreamweaver:
    "martinstan" <[email protected]> wrote in
    message
    news:etmrvs$7v5$[email protected]..
    > Hi Murray
    >
    http://www.flevooware.nl/dreamweaver/extdetails.asp?extID=8
    >
    > it's the link that actually starts the download from
    this page. Nothing
    > seems to happen.
    > Thnx
    > Martin

  • How to create a pop-up window with a larger image

    Again, I'm looking to do something very simple and can't figure it out. I want users to be able to hover over/click on an image and there pops up a larger version of the image, much like you see on online catalogs and shopping sites. I've looked into Lightbox and jQuery but don't understand how to incorporate the code into my pages. Is there a simpler way using DW CS4?
    Thanks,
    Gail

    Select the thumbnail image and link it to the larger image file.
    Use DW Behaviors Panel and hit the plus + sign.
    Choose Open Browser Window.  This will invoke another panel for adjusting the size and other attributes of your pop-up window.
    Hit OK.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to read the pop-dialog window data in adf

    HI All,
    Using the jdev 11.1.1.6.
    I have two questions here :
    1) How to read the selected table row data from the Pop -dialog window .
    2)hOw can i forward to another URL view/view after selecting the data on dialog window and then click 'ok".
    NOte : One of the blog says ' we cant apply the action and actionListener on button ,if we apply showPopupbehavious ,SO how can i forard to another page/URL view ? ,
    scenario:
    Upon click of some button , infomration ll be displayed on pop-dialog window and then user will select the any one of the row and click "OK"
    . based on some data check i should forward it to the view/urlView .
    any hits highly appriciated
    thanks

    1) How to read the selected table row data from the Pop -dialog window .simple . get the employeevo and jobvo with relationship(fk or association/viewlink) drop the employee vo as af:table. show a detail icons at the end of column. make popup with show popup behaviour with lazyuncached drop the af:dialog it wiil show the details in job of concern employee
    2)hOw can i forward to another URL view/view after selecting the data on dialog window and then click 'ok".
    NOte : One of the blog says ' we cant apply the action and actionListener on button ,if we apply showPopupbehavious ,SO how can i forard to another page/URL view ? ,can you show the blo url to me.
    grasp things.
    http://hazem-adf-tips.blogspot.in/
    https://blogs.oracle.com/jdeveloperpm/entry/how-to_efficiently_redirect_to_an_adf_faces_view_using_adf_controller
    http://adf-lk.blogspot.in/2011/06/oracle-adf-how-to-redirect-url-in-bean.html
    http://adfdeveloper.blogspot.in/2011/07/adf-auto-redirect-while-still-passing.html
    http://www.slideshare.net/baigsorcl/oracle-adf-task-flows-for-beginners
    http://www.techartifact.com/blogs/2012/03/adf-jsf-some-handy-code-for-backing-beans.html

  • How to stop automatic pop-up window "Firefox wants to use the font "Stone Sans Sem OS ITC TT Semi"?

    Everytime I open Firefox I get the irritating pop-up window "Firefox wants to use the Font "Stone Sans Sem OS ITC TT Semi" on the volume, the font is not installed. I installed the font, but I still get it.
    The window gives me options "Do not ask again" "Show in Finder" "Don't Allow" "Allow".
    I click "Do not ask me again" and "Allow" but I keep getting this every time. How to stop it?! Thanks.

    See [https://bugzilla.mozilla.org/show_bug.cgi?id=567552 Bug 567552] – Fonts on External drive are activated by Firefox, and preference to not ask again is ignored
    please do not comment in bug reports

  • How to add a pop-up window when date field is populated?

    Hi All,
    I want a pop-up window to open when termination date is entered on MA-Header tab, how can we achieve this. Is there any settings or script ?
    Thanks,
    Saloni

    HI Saloni ,
    Popup windows are not possible in Sourcing by scripting..I too tried for that requirement.
    POP Up Window Possible?
    Regards,
    Uday

  • How to stop a pop up window if the session expires

    Hi
    I have a situation wherein i have my jsp page. in that i have a button on clicking it a pop up window will open to take a input parameter.
    Now what we want is that if the session is not valid than the pop up shud not open.
    Currrently what is happening wen the session is not valid the popup gets open and in that popup a login page is coming.
    The logic for pop has been put in a javascript code which gets executed when the page was first loaded . So even if i put a logic for checking the session before the popup opens it wont work. So what can be a possible way i can do it?
    I am writing a scriptlet to check the logic for valid session.
    function changeLimitFunc(count)
         <% if ((request.getSession(false)== null)) {%>      
              return false;
         <%}
         else {%>
    popUp('');
              openedForm.target = 'change_download_limit';
              openedForm.submit();
    <%}%>
    and in the page which geot loaded the same code appears like
    function changeLimitFunc(count)
         popUp('');
                   openedForm.target = 'change_download_limit';
                   openedForm.submit();
    this popUp is amethod where we are createing our popup.
    please help me out to resolve it

    I have written this javascript code to block the popup
    function changeLimitFuncUnopened()
    if (checkIfValidSession()) {
              popUp('');
              unopenedForm.target = 'change_download_limit';
              unopenedForm.submit();
              else {
              return false;
    function checkIfValidSession() {
    <% HttpSession httpSession = request.getSession(); %>
    var lastAccessTime = <%= httpSession.getLastAccessedTime() %> ;
    var maxInactiveTime = <%= httpSession.getMaxInactiveInterval() %> ;
    var date = new Date();
    var time = date.getTime();
    if( (maxInactiveTime > 0) && ((time - lastAccessTime) > (maxInactiveTime * 1000))) {
         alert("Session TimedOut. Please Re-login!!!");
         return false;
    else {
         alert("inside else true shud go");
         return true;
    The code is working fine and blocking the popup. But I am not sure if this will be a correct fix.

Maybe you are looking for

  • Memory on server

    I have Oracle on Unix. Can you tell me the command to know the RAM on the server. Also, please, the command to know the size of the database, like how much GB it is. I hope, my question is clear. Please help in solving the doubt. regards

  • Not able to start Coherence Server on Unix environment

    Hi, I am trying to configure Coherence-Web on Weblogic server on Unix. But when i try to start the server getting the below error. I am tried with Coherence 3.7.1 but say Bad class version so then tried with Coherence 3.6.1 And i used the below commo

  • Error while creating maintenance order - Budget almost exhausted.

    Hi Experts, We have maintained budget on WBS element. As per WBS report S_ALR_87013558 still Rs. 438000 available. Now when we were trying to make a maintenance order with assignment of same WBS element system is showing error "Budget almost exhauste

  • What are the minimum db user privileges required for CDC?

    What are the minimum privileges required for the source data server user in order to to successfully implement CDC Currently I'm getting an "Insufficient privileges" error when trying to start a CDC journal on a model. The error is happening on the s

  • Core Audio

    I would be interested if any other Powerbook Titanium user has come across the same problem I am having with core audio. I can only explain the problem as "a stall" or glitch in the sound output. It is very irregular but very annoying. It happens whe