How to tracking all windows open event?

I have a pb 11.5 app. I want to track when user open any window. Firstly, use need to open login window and verified by username and password. After that, open a main frame window with menu.  Then user will open any window for the app. I want to track when a user open a window.
Simple solution is: in open event script for each window add a code to track who and when open this window. This need too many code as the app has more 400 window object.
Also thinking about a solution, like a global service, when open any window, log this open event. but not sure how to do it. W
What's the best solution with minimum code for this issue?

You can create a new ancestor for all the windows with the code you want. Any window that is inherited from window needs to be edited to inherit from your new ancestor. That's the simplest way to do it.
If you edit source on windows inherited from window they look like this:
forward
global type w_child_gen from window
end type
end forward
shared variables
end variables
global type w_child_gen from window
Change the work window to w_newancestor or whatever you called it. That's the simplest solution with minimal code changes.
To find these windows you can use pbsearch to look for "from window"

Similar Messages

  • Where is the F9 expose function in Lion that shows all windows open?

    where is the F9 expose function in Lion that shows all windows open?

    Hello.
    What you’ve used and loved as Expose and Spaces is now called “Mission Control”.
    http://appleslut.com/blog/software/osx-lion-mission-control

  • How to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS

    Dear gurus,
    how to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS
    Arun

    Hi,
    Take a look:
    http://www.morganslibrary.org/reference/pkgs/dbms_audit_mgmt.html
    Regards,

  • Apps open in a new window/space.. how do I turn this off so all windows open in "desktop"?

    Whenever I open an app it creates a new space to open the app in. All apps do this, and you can see the windows/spaces by hitting F3; the icons are lined up at the top of the screen. How do I disable this feature so all windows and apps open in the "desktop" space?

    OS X Yosemite: Work in multiple spaces

  • 6.0.1 update lost default window sizing and all windows open full screen now, why and how do I get my original window sizes back?

    After updating Firefox to version 6.0.1, all browser windows open in full screen size. I need new browser windows to open in their original default size since I use a website for work that opens multiple browser windows.
    I used to be able to fix this problem by renaming my localstore.rdf file in my profile and then restarting Firefox but this does not seem to work in this last update.
    This appears to be a recurring problem for Firefox and it's extremely frustrating.

    Safe mode disables the installed '''Extensions''', themes ('''Appearance''') and '''Plugins''' in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. So it could be that an extension is causing it. You can try to isolate it starting with script blockers and similar extensions and '''Disable''' or '''Remove''' it.
    Please also note that safe mode also disables hardware acceleration: '''Tools''' > '''Options''' > '''Advanced''' > '''General''': '''Use hardware acceleration when possible'''.
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]

  • How to list all currently open Excel files with ActiveX?

    Hello all!
    I would like to program with ActiveX a way to retrieve a list (array of strings) of the filenames of the currently opened Excel files in windows. However, I am fairly new to the ActiveX/Excel business in LV and after hours looking at the "millions" of objects in the property nodes I give up and hope some kind soul here can help me. I couldn't find any information in this forum regarding the same issue, although some were close
    I am using LV 7.1 without the Report Generation Toolkit.
    Thanks!
    /Goran

    Hi KC,
    thanks for your reply. I have in fact been able to find the desired things in the ActiveX properties/methods for Excel in LabView. It took me some looong work going through the functions which I suspected to be the ones. Anyway, I post a little jpeg here of the code if someone ever needs the same functionality. What it does is that it checks how many Excel workbooks are open and controls if each of them matches the searched Excel filename, if one does, it is closed.
    Enjoy
    /Goran
    Attachments:
    List open excel sheets and close open ones.jpg ‏104 KB

  • Message KO020 - How to check all the open down payments and request.

    Hi Comunity,
    I need to check wich are all the open down payments in the system and then clear them, to close an order in KO02 or KO88. Please let me know if there is a  way to verify the open down payments por vendors, for customers, for AUC, or pending payments request that could be causing the error message ko020.
    Thanks a lot.
    Vero.

    Hi
    1) Use below parameters of structure SSFCTRLOP
    NO_OPEN, NO_CLOSE: These two flags prevent the print request from being closed after accepting the output of the Smart Form and allows you to include all other form output into this print request. The value should be like the following:
    1st call: 
    NO_OPEN = SPACE.
    NO_CLOSE = 'X'.
    nth call:
    NO_OPEN = 'X'.
    NO_CLOSE = 'X'.
    last call:
    NO_OPEN = 'X'.
    NO_CLOSE = SPACE
    2.SSFCOMPOP: Structure for the output option.
    TDNEWID: A flag indicating whether a new request is created.
    4)     Define one data wa_print_control referencing the structure SSFCTRLOP, and define another data variable wa_output_option referencing the structure SSFCOMPOP in the top include file of this report.
    5)     Clear the above two work areas before the print loop happens on the internal table that contains the selected invoice headers.
    6)     Initialize these two work areas with the values which would not change during the print loop as the following code fragment:
    wa_print_control-no_dialog = ' '. u201DShow print setting dialog
                wa_print_control-preview = 'X'. u201DEnable print preview
                wa_output_option-TDNEWID = 'X'. u201CNew spool request.
    7)     In the loop at the internal table which holds the selected invoice headers, set blank value to of the field wa_print_control-NO_OPEN and set u2018Xu2019 to the field wa_print_control-NO_CLOSE for the first loop at the AT FIRST event because it will be the first call to the function module of the smartform. The code is bellow:
        print_control-no_open = ' '.
        print_control-no_close = 'X'.
    8)     Set blank value to the field wa_print_control-NO_CLOSE to close the spool request for the last loop at the AT LAST event.
    wa_print_control-NO_CLOSE = u2018 u2018
    9)     Call the function module generated by the Form Design by passing the print control work area and output area.

  • How to simulate Javasript "window.open"?

    Hi,
    I am working on a GUI based on JATO. I am trying to
    create a window that pops up when the user clicks a button, leading to further UI interaction through that
    window(i.e.it has its own text fields, buttons,etc).
    How do I accomplish that in JATO? Before, I used to call
    the window.open() function in Javascript.
    thanks
    vignesh

    Vignesh,
    You would do the same thing, except your URL must be a valid JATO URL.
    See this JATO Tip at this link and ask more questions if you still have some. It's not exactly the same thing you need to do, but the techniques should apply:
    http://groups.yahoo.com/group/iPlanet-JATO-Tips/message/3
    craig

  • How to get the window.opener object into a model window

    Hi,
    I m opening a new popup window with the help of window.showModalDialog(url,self,''). Now i want to access the opner window inside this popup window. Since this showModalDialog does not support window.opener so i passed 'self' as parameter and if i want to access the parent window i can access it with the help of window.dialogArguments . But the problem is window.dialogArguments is not an object .
    for e.g.
    var caller = window.opener
    then caller can be used as object but if i do like this
    var caller = window.dialogArguments
    then i can't use caller as an object.
    Can anybody tell me the correct way.
    manish

    Hi Manish,
    I'm trying to use as well showModalDialog in IE and in the same time have a similar experience in other browsers (like Firefox) - similar to the Hotmail Empty Junk mail button, so here is a piece of code you might be interested in:
      Caller page
      // showModalDialog for Non-IE browsers
      if (!window.showModalDialog) {
        window.showModalDialog = function(sUrl, vArguments, sFeatures) {
          var wFeatures   = sFeatures.replace(/dialog/gi,"").replace(/:/gi,"=").replace(/;/gi,",");  // plus a little more replacement
          var modalWindow = window.open (sUrl, "_blank", wFeatures);
          modalWindow.setFocusToWindow = function () {
            modalWindow.focus();
          modalWindow.setInterval ("setFocusToWindow()", 100);
      // Show modal dialog...
      window.showModalDialog ("modal_dialog.html", self, "dialogHeight: 300px; dialogWidth: 400px; center: yes; help: no; status: no")
      modal_dialog.html
      // IE only - other browsers will be fine
      if (window.dialogArguments) {
        window.opener = window.dialogArguments;
      // Write something back in the opener window
      window.opener.document.write ("here you go...");

  • How to track all Z in a session ?

    Hi Gurus,
    I was looking for similar treads and couldn't find any... so, lets try your help.
    We are planning to update our ECC6.0 from stack 8 to 18 and only install (not activate) EHP4 in 2011Q1.
    Unfortunately there are more than 2,000 customer specific app ('Z': reports, user-exits, includes, functions, EnhPoints, etc ...) in our current instalation. Once nobody know where they are used .... it can be a problem tricky to handle.
    Well ... Is there any way to track ALL Z's that were called in a session (while user is testing a business process) ?
    Regards,
    Jone
    BTW: have a nice 2011.

    I was looking for similar treads and couldn't find any... so, lets try your help
    I just hit one.
    [Track zreports/transactions Usage|Track zreports/transactions Usage|TIP]
    This thread is similar to the one you are asking about. May be this clarifies.

  • Compiz: How to start all windows maximized?

    Hi all,
    I'd like to start all windows maximized on my netbook running compiz. There is a an option in "Window Management/Window Rules/Matches". Putting a value of "class=" in the box will set all windows maximized but cannot be un-maximized.
    Is there an option somewhere to start all applications maximized but allow to un-maximized them later on?
    Thanks!

    Not aware of a plugin but try this - https://aur.archlinux.org/packages.php?ID=22071

  • How to reset all the calendar events?!

    Hi everyone, two days ago i signed in into my iCloud account using a friend's mac computer, at tha sametime all my friend's iniformation was transfered to my iCloud account, now the problem is that i signed out and deleted my account of his computer and my iPhone still has all his information, including all his calendar events!!! and now i can't delete the events in my iPhone even if i use my iCloud account, i don't want to delete each event one by one. Please help me!!!

    Of course it transferred his data - what did you expect, it's a syncing service.
    If it has added separate calendars then you can control-click (Mac) the calendar and choose 'delete' or delete it on the iCloud website (select the calendar and click the delete button which appears).
    If there are cases where he has a calendar the same name as one of yours and the events have therefore been merged into that calendar you can only delete them one by one.
    The only other option arises if you have Time Machine and can restore iCal to a pre-mess stage. You will need to delete all the calendars off iCloud first, and when you restore them you will find the sync process promptly deletes them again, so you will need to follow the procedure outlined in this page:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudtm.html
    Please follow the instructions absolutely exactly. All this will of course remove any events you've added yourself since the TM backup you are using.

  • How to receive all the GUI event

    Hi, Expert
    Is it possible to catch all the UI event? For example, input something in which input field; click any tab, click any button.
    Background: customer would like to develop to tool to guided end user to do several sequence sctions:
       for example, 1) input a value into which  input field
                            2) click one button
    so after end user finished the 1st step, system should tell customer to click the button in the next step.
    Any comment is welcome.
    Thank you in advance
    Barton

    Hi,
    As a developer we have to do it manually., 
    let say, the user enter in the input field and press Enter,
    In PAI or AT Selection screen event,
    Check if the value is initial or not. ,
    if lv_value is initial.
    message 'Please Enter Value' type 'E'.
    else.
    message 'Please press submit button now' type 'S'.
    endif.
    hope this help u,
    even if you capture the events also you have to write the code as above.
    to provide the user manual for user you can put the same in SAP iTutor.
    Thanks & Regards,
    Kiran

  • How to trap applet window closing event?

    Hi all,
    I would like to know how could one trap the event of the browser window containing an applet being closed by the user?
    Thank you,

    Hi. this would be useful to me too.
    Trouble is, I'm not sure that you can. applet.stop( )
    and applet.destroy( ) might be called, but there is
    no guarentee that you can complete processing before
    you are terminated, especially if you need to do
    something slow, like returning state data to your
    server. And you can't stop the broswer closing.
    I know that in Javascript, you can catch and even
    stop the browser window being closed, which is how
    things like goggledocs can ask for confirmation
    before closing. (window.onbeforeunload( ) ).
    I have toyed with the idea of having a
    javascript/ajax thread in my html, to catch this
    termination, and communicate back to the server from
    java to say a document has changed, but it all seems
    rather heavyweight for such a simple task.Look at Runtime.addShutdownHook()
    You could also try using a WindowListener as well and trap the WindowClose Event.
    stop() should do very little other than invalidate the current thread/run flags
    and then exit. ie: a stop() example
    public void stop()
    task = null;
    or
    public void stop()
    running = false;
    Your run method should look for a stop condition and then exit.
    Otherwise you could be doing stop processing while run is still
    running.
    (T)

  • HT2474 how to minimize all windows in one entry

    How do i Minimize all open windows at the same time.
    (minimize them into the dock)

    Hi there,
    Actually it doesn't!
    I'm on latest OSX - F11 lowers the volume!
    However, I think you have assigned your F keys as standard function keys but even so, if you press F11 or fn + F11, you do not minimise the windows - you just spread them away. As soon as you open an app, all the screens come back!
    What the original poster's question is "Is there a way of minimising ALL the windows at the same time onto the dock?"
    Your method doesn't do that because if you look closely, the windows are at the top and on the side AND NOT IN THE DOCK.
    Maz

Maybe you are looking for

  • Error after unarchive process - Error: The MDM respository is invalid

    Hi Experts: We are on the process to unarchive a repository, but we are getting this error when trying to logon to load it. Repository connect failed Error: The MDM repository is invalid p.s. We are trying to copy our Production environment to our Te

  • Confused about editing RAW images on iPad

    I just got a new 3rd generation iPad. I got it primarily to store, view, and edit RAW images captured by my Canon DLSR. My camera takes 12 megapixel images. I am able to download them from the camera to the iPad using the Apple Camera Connection Kit.

  • What's it gonna be: NW2004S?

    Dear all, Within SAP's strategy to deliver products (PAM) I recently saw a version called NW2004S. I am wondering what kind of differences are between 2004 and 2004S. Topics I'd like to know are: - Guided procedures (CAF 2.0) available? - Adobe inter

  • How can I upload my movies (they're ALL my own) - to my iPad?

    I bought the iPad as it seemed like a great way of screening my work (shorts, trailers, animation - that i produce, animate, shoot myself - all 100% copyrighted to myself) for investors and clients (just as I do with the much smaller iPod touch).  Ev

  • How to enable online editing of Adobe Illustrator document on SharePoint 2010 ?

    Folks, I have installed SharePoint 2010 and have enabled CMIS (on SharePoint).  Does Adobe products have CMIS enabled as well ? Basically I want to enable online editing of Adobe files (Illustrator) on SharePoint 2010. Any help or pointers is appreci