How to keep track of which tab is currently active in the page using Session object?

Hi,
Just curious as to whether it is possible to have a PL/SQL event fire on an active tab.
The reason is I want to keep track of which tab is currently active on the page is that I have "generic" forms and reports published as portlets that I wish to be able to determine from the session object what page/tab the user is coming from and apply certain restrictions etc.
kind regards,
Matt.
null

Hi Konstantina,
Yes You can do like that 2012-->q1-->January
Steps:
1. Create time dimension hierarchy as by following like Total--> year--> Quarter--> Month--> if you need you can keep Description.
2. Drag the Year column from period dimension table to the dimension hierarchy of year.
3. Drag the quarter column from period dimension table to the dimension hierarchy of Quarter.
4. Drag the month column from period dimension table to the dimension hierarchy of month.
5. Drag the hierarchy to period dimension table in presentation layer.
In Answer side keep as it as Default: drill in primary and secondary interaction under column properties.
For more refer : http://mkashu.blogspot.com
Regards
VG

Similar Messages

  • How to keep track of which checkboxes are checked

    I have 21 checkboxes on a scene and want a user to have to
    pick at least four of them, i will then use the ticked checkboxes
    to bring data back from a database. My question is how do i keep
    track of which checkboxes are clicked so i can put them in to a sql
    statement like this?
    select * from table where title in (checkbox1, checkbox2,
    checbox13);
    And how do i make sure the user has picked four boxes before
    being allowed to leave the current frame?
    EDIT: sorry this is probably in the wrong forum it should go
    under basics, but instead of posting the thread there can someone
    please reply to it here, thank you.

    i am using flash component checkboxes, i tried to come up
    with my own way to do this i am doing different:
    on CheckBoxState -- name of custom handler
    TickedBoxes = [] -- a empty list will be filled where ever a
    checkbox is ticked
    CheckBoxNames = ["dr no", "from russia","goldfinger",
    "thunderball", "you only live" ]
    -- the above is a list containing the names of all my
    checkboxes
    repeat with i = 1 to 5 - repeat for each checkbox
    CurrentCheckbox = CheckBoxNames
    -- used to keep track of which box is checked this sets
    currentcheckbox to value of i, i is a checkbox from checkboxname
    list
    if the hilite of member(CurrentCheckbox) then -- if
    currentcheckbox hilite is true (checked)...
    append(TickedBoxes, CurrentCheckbox) -- ... add
    currentcheckbox to the tickedboxes list
    end if
    end repeat -- end repeat
    return TickedBoxes -- return the list of checked boxes
    end
    on mouseUp me -- on mouse click
    choosenBoxes = me.CheckBoxState() -- chosenboxes is a
    variable calls the handler on it
    -- will put sql here
    end
    this is the only script i have which is attahced to my
    submit button, but for some reason when i try to trace the results
    in the message window it always return void can anybody tell me
    what i am doing wrong?

  • How can I get that which one is currently activated window

    I created a frame. The user may be minimize that frame and he may use some other window like internet explorer or Notepad or something else. Then I want to know that which window is the currently activated window. Is it possible. Please help me.

    you can use Javascript functions/varibles.
    In any page you can insert a special form like this:
    <form name="myNameWindow">
    <input type="hidden" name="myName" value="Ivan_pag01">
    </form>
    and in the other reading that value.
    Obviusly you have to save a reference in a variable of the other window.
    This is possible only if:
    1) other page is in the same browser window but in an other frame
    2) you have generated the other page via an "window.open" function (or your page is generated from it via that function)
    -- Ivan

  • How to keep track of last song played?

    Hi!
    Does anyone know how to keep track of which song played last time before itunes was closed? I have a big list of songs in my playlist and I play it everyday while I'm working. If I shut down my computer and start it again the next day, I have to manually look for the song I played the previous evening. Is there a way where it will keep track of the last song and play it from that?
    Thanks
    JB

    Subwaygirl, welcome to the Mac family! I'm not sure whether you're asking about beginning to play from the last song played on your iPod or iTunes so I'll answer both.
    From the iPod, simply hit Play and it will begin at the next song. It cannot go back to the last song played.
    From iTunes, use my answer to Chris to add the Last Played column, sort by that and select the song at the top of the list. That is your most recently played song. If you hit the >> or Next button you will then go to the next song in the randomly-sorted list.
    Powerbook G3 Mac OS X (10.3.9)

  • How to keep track of how many times a link has been clicked?

    How to keep track of how many times a link has been clicked or accessed? Do I need to use database for this?

    Hi
    Proably something like this can work,
    1> Have a servlet/bean invoked when the link is linked
    2> have a static variable in that servlet/bean wich gets incremented before the control is passed to another desired page..
    The problem with this approach is that care has to be taken that the servlet/bean is not re-instalised, in case of which the static variable will also be instalised and the data would be lost.
    The best thing is to store the count in the database.
    Regards
    Arathi.

  • How to keep track of the users who are all currently logged in

    Hi All,
    I have basic knowledge of Session and Servlets. I am wondering how to keep track of the users who are all currently logged in. There should be some way of achieving it.
    I thought of it and come up with having an Application variable that hold it when ever a user successfully logged in.
    Thanks in advance for any reply.

    You can do this by keeping data in a static veriable in a some class of yours. The variable will need to be a collection.
    Whenever a user loogs in to the site a servlet/jsp should put the users information in to the collection and when logs off or when the session expires the entry should be take off.
    You can achive this by storing the velues in a some sort of a week collection where the entries are automaticaly removed when all the other refferences to the entry goes out of scope.
    You might need to read bit about java.lang.ref package and WeekReference
    Or you can make the entry in the collection contain the last time that the user visited any of the pages and a thread can run time to time and clean up the older entries which have timed out

  • How to keep track of the changes done in ALV GRID Report

    Hi Experts,
    how to keep track of the changed record in ALV GRID Report. how to set the field to be editable even for the entire row also. Can anybody guide along with code also?...
    Valuable answers will be rewarded.
    Thanks,
    Satish.

    Hi,
    Access the table through SM30. It comes blank as standard. Click "New Entries" and make entries for changes to be tracked. For example, whenever an org. unit changes 002 and 003 relationship, you will make entries like:
    01 O 1001 B002 Activate box checked
    01 O 1001 B003 Activate box checked
    Here, 01 is your active plan version, O is org. unit, 1001 is infotype and B002 and B003 are the subtypes. You can also use * for infotype and subtype which means every change will be logged.
    If you then run the report RHCDOC_DISPLAY through SA38, it will pick up all the changes pertaining to B002 and B003 relationship for org. units (in the above example).
    Similarly, you can set up this table for other object types.
    For more information, follow SPRO>Personnel Management>OM>Basic Settings>Activate change documents and go through the documentation for that node. Also, read up the documentation for the report.
    Hope this helps.
    Donnie

  • How to keep Track of the wagetype Changes

    Hi Experts,
    How to keep Track of the Changes after changing the wagetype values.If any body has made changes to the existing wagetype, how do we keep a track of what changes has done, is there any standard Tcode through  which we can get the information.
    Thanks in advance,
    Regards,
    Magesh.S

    Hi,
    Access the table through SM30. It comes blank as standard. Click "New Entries" and make entries for changes to be tracked. For example, whenever an org. unit changes 002 and 003 relationship, you will make entries like:
    01 O 1001 B002 Activate box checked
    01 O 1001 B003 Activate box checked
    Here, 01 is your active plan version, O is org. unit, 1001 is infotype and B002 and B003 are the subtypes. You can also use * for infotype and subtype which means every change will be logged.
    If you then run the report RHCDOC_DISPLAY through SA38, it will pick up all the changes pertaining to B002 and B003 relationship for org. units (in the above example).
    Similarly, you can set up this table for other object types.
    For more information, follow SPRO>Personnel Management>OM>Basic Settings>Activate change documents and go through the documentation for that node. Also, read up the documentation for the report.
    Hope this helps.
    Donnie

  • How to keep track of the sequence of the BSP Pages being invoked.

    Hi,
    How to keep track of the sequence of the BSP Pages being invoked.
    I have a BSP Page A.htm. There are two other pages B.HTM and C.HTM in the same BSP Application.
    The page B.HTM has a link A.HTM. The page C.HTM also has a link A.HTM. On clicking  these links the Page A.HTM would be invoked. Is there any way to keep track which BSP Page  (i.e B.HTM or C.HTM) invoked the page A.HTM.
    Any input on this Regard would be of great help.
    Thanks and Regards,
    Pavithra

    Hi Pavithra,
    Declare in page attributes:
    appl_url type string
    In the onClick event of the link that calls the A.htm page , use:
    call method runtime->get_url
    receiving
    URL = appl_url.
    Now appl_url contains the url (also name) of the page that invoked A.htm .
    Hope it helps.
    Anubhav.

  • Where is the file that keeps track of which mail items were open?

    Searching for the file that keeps track of which mail items were open- sometimes it suddenly is shorter, forgets some of the items of mail that was open, in my 'in box' as it were.
    just happened to me- 15 emails I wanted to keep open till I answered them are now lost back in the mail stack
    any idea where i can find that, retrieve from a backup done last week?
    any trick to fixing this problem?
    hope so
    i gotta track down some of those emails, will be a huge chore to do it one by one
    thanks

    any idea where i can find that, retrieve from a backup done last week?
    Good luck with that; it's not likely to happen.
    any trick to fixing this problem?
    You could just reply to the email right away, rather than putting it off until later, whenever "later" happens to be. Or, you could also put your emails that have not yet been replied to in a separate folder, and move them out into your Inbox when you have replied.
    Mulder

  • How to keep track of changes made for a particular Inq Doc number.

    hi all,
    my senario is as follows :
    the requirement is to send mail every time we take print for a sapscript for inquiry ..however the header and the body of the mail will change depending whether the user created a new inquiry doc or changes an existing doc. how to keep track of the changes.
    please give me some suggestion.
    thanks in advance
    Srinivas

    its time cosuming process :
    check table CDHRD/CDPOS tables to keep track of changes.
    Regards
    Prabhu

  • How to keep track of emails btn Blackberry & Outlook???

    Hi,
    I'm considering buying a Blackberry Curve (Sprint).  My hangup thus far is that I want to have all of my sent emails in my Outlook on my home computer.  My solution thus far has been to use GoToMyPC so that I can connect to my home PC from any computer and take care of my emails.  Also, I work mostly from home, so this isn't a huge problem in terms of convenience and efficiency. 
    Most people tell me that they CC themselves when they send an important email from their Blackberry.  This is how they keep track of important emails sent from their Blackberry.  IS THERE ANOTHER WAY?  A MORE RELIABLE WAY?  IS THERE A WAY TO HAVE ALL EMAILS SYNC'D WITH OUTLOOK WHEN (THEORETICALLY) SYNCING MY BLACKBERRY WITH MY HOME COMPUTER?  IF NOT, WHAT IS THE BEST WAY?
    Thanks in advance,
    Gary 
    Solved!
    Go to Solution.

    I have two (2) EMails addresses; on is my blackberry address, and the other is my Outlook.  I mostly give out my Outlook address so I could have it on my PC at home, and when Isync it is there,. Or, in the field if I inadvertantly delete a message, I know it will still  be on my PC at Home. I think your friend is correct. If she has the Blackberry
    Enterprise System through her IT Dept. at work. I have the BIS (Blackberry Internet Service).
    I hope this helps. It is quite confusing
    Writer~
    Thanks,
    Writer~

  • How to keep track of what I've previously draw

    They said:
    Everytime the paint method is called, everything that was drawn before must be redrawn. The paint method has no way to keep track of what you've previously drawn, it is your responsibility as the programmer to keep track of such things.
    Is this right?
    How can keep track of my random shades of random amounts?
    Is there a simple way to do that?
    In a example, I must use getGraphics to get JPanel's graphics, then I use it to random draw something in the JPanel.
    I just want to keep them in my JPanel when it resizes.I haven't get the answer yet.
    Can you help me?

    Ok I haven't got time to write the code for you, but here's the idea:
    //User drags mouse around to draw on screen
    //use mouseActionListener to catch MouseDragged event
    int x = mouseEvent.getX();
    int y = mouseEvent.getY();
    Point p = new Point(x,y);
    arrayListOfPoints.add(p);
    // end mouse action capture
    //override paint method of component
    public void paint(Graphics g){
        super(g);
        Iterator it = arrayListOfPoints.iterator();
        while(it.hasNext()){
            Point p = (Point)it.next();
            g.drawLine(p.getX(),p.getY(),p.getX(),p.getY())   

  • How do I find out which tab was pressed?

    Our site is using tabs. We have few portlets in different tabs whose custom rendering depends on which tab the user has clicked.
    Programmatically, how do we find out which tab was pressed?
    We're using portal 9.0.4. Thanks for your help.
    Ashraf

    Thanks Sanjay for your quick reply!
    Option 2 looks like a potential solution. Not quite elegant as you indicated, but will work.
    I recall reading somewhere, before the release of 9.0.2.6, that in upcoming version 9.0.2.6/9.0.4 you should be able to programmatically determine the last tab clicked. If you could kindly confirm whether no such built-in mechanism (API, etc.) exist to find out last tab clicked in portal version 9.0.4? We're looking to implement this feature in database provider environment.
    Thanks again for your help.
    Ashraf

  • How to keep songs on iphone, work computer and home computer the same?

    How to keep songs on iphone, work computer and home computer the same?
    This seems like something everyone would want to do. I don't know why Apple won't give us a simple solution. They could even charge us for it. I would pay!
    Has anyone solved this? What is your solution?
    Thanks!
    [email protected]

    If you just want to be able to sync your devices to the same PC without having them get overwritten all the times, here is a free method
    http://cnettv.cnet.com/sync-your-ipod-two-computers/9742-1_53-50004835.html
    Basically, you put the same itunes database file on all the PCs. This fakes itunes into thinking it is always the same PC and the ipod is OK to sync with it. It will NOT keep your libraries truly synced, though. I've just resigned myself to always buying from one PC and manually transferring the content to other PCs I want it on.

Maybe you are looking for