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.

Similar Messages

  • 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 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 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 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 maintain the sequence in the custom table

    Hi,
    We have custom table where we will store the standard text name based on different flags and it will be fetched the value according to the condition.
    Example code
    SELECT SINGLE field1
                      field2
                 INTO  ( vaiable1 variable2 )
                 FROM custom table
                WHERE tdobject = iv_signature
                  AND bukrs    = vbdkr-bukrs
                  AND vkorg    = iv_vkorg
                  AND vkbur    = iv_vkbur
                  AND lland    = vbdkr-land1
                  AND fkart    = vbdkr-fkart
                  AND kschl    = iv_kschl.
      CHECK sy-subrc <> 0.
      SELECT SINGLE field1
                      field2
                 INTO  ( vaiable1 variable2 )
                 FROM custom table
                WHERE tdobject = iv_signature
                  AND vkorg    = iv_vkorg
                  AND vkbur    = space
                  AND fkart    = vbdkr-fkart
                  AND kschl    = iv_kschl.
      CHECK sy-subrc <> 0.
    SELECT SINGLE field1
                      field2
                 INTO  ( vaiable1 variable2 )
                 FROM custom table           
                WHERE tdobject = iv_signature
                  AND vkorg    = iv_vkorg
                  AND vkbur    = space
                  AND fkart    = vbdkr-fkart
                  AND kschl    = space.
    The solution I created to avoid the select is, i have created the FM with all parameter. Addition to the FM, I have created a Table as well to maintain the flag.
    New table                                                                               
    TDOBJECT   TDID BUKRS VKORG VKBUR KUNNR      MWSKZ AUART VGBEL_AUART KTGRM LLAND FKART WERKS KSCHL STNAME                                                                               
    FOOTER                                                                           X     X           ZNET_DICI_FTR_FI  
    FOOTER                                                                           X     X           ZNET_DICI_FTR_NL  
    FOOTER                X     X                                                    X                                   
    i.e. say example if we maintain the value in the custom table based on the first select query. Then we need to maintain the flag in the table which was created newly.
    Note In the both field the key fields are same.
    The problem now is we have plenty of select query for different condition, i though of maintain the sequences of the entries. But my worry is how many sequence number will be maintained and in what bases it will be maintained.
    Could you please help me to resolve this problem?
    Regards,
    Vijay

    Hi,
    I got your requirement as,
    whenever a new entry is made in the table, one sequence has to be maintained somethign like serial number and everytime it has to be incremented. If it is so, then you can go for an additional field as serial number. Then get the max serial number from the following select query:
    select max(serial) from cust_table
    into v_serial.
    Now, when you make a new entry, just give (v_serial + 1) to serial number...
    Please let me know if i understood wrongly... or what you want...

  • How can we find the sequence of the execution of any MIDP

    Hey friends i m working in a project using the WMA. I wrote the code for the program but when i run the code in the emulator, the launch command in the emulator doesnot work i.e. it doesnot call the startApp() function situated in the same midilet. Any one can please help how can i get remedy of the problem. and with that please give me the information of the sequence of the execution of MIDlet by an emulator in default(i.e. upto the execution of the startApp() method).
    I would like to thank u guys in advance.

    Hey friends i m working in a project using the WMA. I wrote the code for the program but when i run the code in the emulator, the launch command in the emulator doesnot work i.e. it doesnot call the startApp() function situated in the same midilet. Any one can please help how can i get remedy of the problem. and with that please give me the information of the sequence of the execution of MIDlet by an emulator in default(i.e. upto the execution of the startApp() method).
    I would like to thank u guys in advance.

  • My daughter and I both have iPhone 4s'.   Last night she switched to ios7 and I am still using ios6.  I use the find my iPhone app to keep track of her and since the update it no longer works.  Her phone says its on. ???

    My daughter and I both have iPhone 4s'.   Last night she switched to ios7 and I am still using ios6.  I use the find my iPhone app to keep track of her and since the update it no longer works.  Her phone says its on but when I try and locate it from either my phone or laptop it shows it offline.  Any suggestions.  It's my only peace of mind! Thanks!

    Does she have her own iCloud account?  You can have more than one iCloud account installed on a device, and some users install a secondary iCloud account which is common to others in the family to allow "Find My iPhone" to be used from one account while keeping separate iCloud contacts, mail, etc.
    But with iOS 7 although you can still have multiple iCloud accounts installed, only the "primary" iCloud account supports "Find my iPhone".  So if her iCloud account is the primary, you can no longer track her from your iCloud account.  Is that what happened in your case?

  • HT4061 i lost my Pad Please how can i track it ,I cannot remmeber the serial number.

    i lost my Pad Please how can i track it ,I cannot remmeber the serial number. Please help me find it

    Unless you enabled Find My iPad on it before it was lost then there isn't any way to locate it. If you did enable it then you could try locating it either via http://icloud.com on a computer or Find My iPhone / Find My iPad on another device - but that will only work if it's connected to a network and the device hasn't already been wiped and/or Find My iPad disabled on it.
    If you think that it was stolen then you should report it to the police. You should also change your iTunes account password, your email account passwords, and any passwords that you'd stored on websites/emails/notes etc.
    There are some methods described on this page for how you might be able to find the serial number :
    http://support.apple.com/kb/HT4061
    Or you could try your support profile : https://supportprofile.apple.com/MySupportProfile.do

  • How dod i track down my ipod with the serial number?

    how dod i track down my ipod with the serial number?

    You can't. The SN will only identify the iPod when if it is recovered.
    Also see:
    Reporting a lost or stolen Apple product

  • Regarding the sequence of the fields in Marketing Documents.....

    Dear

    Dear All,
    I want to set the fields in the marketing documents as per the clients requirements means , in the
    sequece as they want .
    For example,  the fields must be in the following seuquece when the user entering the data into the
    marketing department:
    1.Item No.   2.  Item Description   3. Unit Price   4. Quantity  5. UDF1  6.UDF2   7.Tax Code etc,,,,
    But System takes that fields in the sequece automatically so please let me know how i can arrange the
    fields in the sequence that the user required....
    Thanks.....
    Regads,
    Manohar

Maybe you are looking for