Need a program which finds out if a user has not logged for 3 days?

HI,
   I NEED A PROGRAM WHICH FINDS OUT IF ANY USER HAS NOT LOGGED FOR THREE DAYS
    AND SEND A MAIL TO THE BASIS TEAM.IT SHOULD BE SHEDULED AS A BACKGROUND PROCESS.
I SEARCHED IN GOOGLE BUT NOT ABLE TO FIND IT.
PLEASE HELP ME OUT WITH THIS.
                REGARDS,
                      MANI

use table USR02 and analyse field field TRDAT
X = sy-datum - usr02-trdat.
-> if x ge 3...
for mail use e.g. fm SO_NEW_DOCUMENT_ATT_SEND_API1
hope that helps
Andreas from germany

Similar Messages

  • How can I find out if a user has an active session

    How can I find out if a user has an active session or sessionObject in the application Server.
    When a user logs on to my web-application, I want him to be able to see a
    list of all the other users that are also loged on. To do this I need to get a
    list of all the session objects avaliable in the sever at that perticular moment?
    In J2EE 2.1 I found the class "javax.servlet.http.HttpSessionContext" with the method "getIds()"
    that returned all the session Id's. By using the method getSession(java.lang.String sessionId)
    from the same class, you could then retrieve the sessionObject.
    But these methods are depricated (and want to be able to use the
    latest version of J2EE).
    Is there any other way to do this?
    I'm using JBoss application server.

    Check out HttpSessionListener -> http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html
    Essentially what you have to do is implement this interface. You also have to register the listener in your web.xml, like this:
    <listener>
        <listener-class>
            package.name.YourListener
        </listener-class>
    </listener>sessionCreated() will get called each time the app server creates a session and sessionDestroyed() will get called each time the app server invalidates a session. You could have a Map that contains all the active sessions, and a method for printing a list of all of the active sessions.

  • Is there an easy way to find out if a user has a message in their voicemail.

    Is there an easy way to find out if a user has a message in their voicemail from the
    UNITY subscriber page? Or anywhere I can look to see if they do.  I don't have access to the exchange servers.  We are currently running UNITY 5.0(1).  thanks

    The only way you'll be able to do that is to login to Outlook Web Access, or possibly setup an IMAP client to that user's mailbox or have TAC run the DohPropTest in attach mode to return the contents of the user's inbox.  If the first two don't work, I'd go with the latter and let TAC help you verify if there are any messages in the inbox that are unread.
    Hope that helps,
    Brad

  • How to find out if a user has a deferred task

    In my WF, I will add a deferred task to a user. If that user already has a deferred task then i want to skip it. How do we find out if a user already has a deferred task? Thanks

    This should help you
    <notnull>
    <ref>view.accounts[Lighthouse].properties.tasks[taskname]</ref>
    </notnull>

  • Find Out how many users are currently logged into

    Hi,
    Is there any way for us to find out in IDM application
    who are all the currently logged in active users.
    If I run audit log report I can just get all the users logged in and logged out and not the currently logged in users.
    This is just administartive purpose to , its not a requirement.
    Thanks,
    pandu

    Try /debug/Show_CacheSummary.jsp. Possibly the user session section will be of help.

  • How to find out if a user has no more resource accounts?

    I want to check to see if a user has no more resource accounts tied to it. The only resource account left is Lighthouse and nothing else.
    Do you know how I do this?
    Thanks

    I was able to find disabled users using the below code. Does anyone know how I can find users who have only Lighthouse account and nothing else? I want to add this to the search criteria.
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='queryObjectNames'/>
    <Argument name='type' value='User'/>
    <Argument name='single' value='false'/>
    <Argument name='attributes'>
    <map>
    <s>lhdis</s>
    <s>true</s>
    </map>
    </Argument>
    </Action>

  • How to find these many credit memo has been created for particular day

    Hi Frinds,
    I am facing an issue where i need to search for partcular date in which i have to fetch how many credit memos have been created for that particular day.I donno what is the way to find credit memo for that particular day...
    All your help will be valuable for me
    Thanks in advance
    kishore

    Hi,
    If i am not clear with my requirement let me put you all in much better way like this..
    Through FBO3 tcode i am able to get the document for particular date..But that datas which gets fetched has Debit memo, Credit memo and few other datas also.
    I want to fetch the credit memo document which should have only this flow
    order no, credit memo request no,credit memo number and Accounting document to be fetched via
    Condition. I think i am clear now
    Plz help me on this
    Thanks
    kishore

  • I got a text message which had a link attached to it, i did click on the link, basically some job scam but on the link. Now i just want to find out if my phone has been compromised in anyway and what are the tell tell signs.

    I got a text message which had a link attached to it, i did click on the link, basically some job scam but on the link. Now i just want to find out if my phone has been compromised in anyway and what are the tell tell signs.

    your phone has not been compromised.  There have been no viruses, worms or trojan horses ever reported.

  • Need to find out how many users are using Siebel Application

    Hello all,
    I need to find out how many users are using Siebel Application?
    Is there a way I can find out?
    Thanks.
    yasun

    Hi,
    Read the following:
    http://docs.oracle.com/cd/B40099_02/books/SysDiag/SysDiagSysMonitor30.html
    http://docs.oracle.com/cd/B40099_02/books/SysDiag/SysDiagSysMonitor17.html
    For full information about server status and statistics red:
    http://docs.oracle.com/cd/B40099_02/books/SysDiag/SysDiagSysMonitor.html
    T.Abed

  • Need a way to find out if a DB link is being used and by how many users

    Hi,
    I have a dblink from database FINDB to TESTDB named "ftslink".
    I need a way to find out if the dblink is being used and also how many users are acessing it at any instant of time.
    Regards.

    Hye,
    After some searching i found what i wanted.
    Check the below link on dblink -
    [https://netfiles.uiuc.edu/jstrode/www/orasql/db_link.html|https://netfiles.uiuc.edu/jstrode/www/orasql/db_link.html]
    Thanks.

  • Need a way to find out users who have not all logged in into the portal

    Hi all,
    Please can some body tell me the way to find out all the users who have not at all logged in into the SAP enterprise portal after their user ID's are created.
    Are there any methods(UME APIs) or attributes that set the status of user whether he/she has logged in into the portal first time.
    Thanks & Regards,
    Hajira Rehman

    There used to be a way, but here's what Detlev posted earlier this year:
    <b>Hi everyone,
    UPDATE on this: From SP16 on, the last successful login date does not get logged into the database anymore, see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/bc6b9202454dece10000000a422035/frameset.htm">here</a> - for performance reasons, as it is stated...
    Hope it helps not to fall into this new trap
    Detlev</b>
    So, there are no simple APIs - you'll need to build your own mechanism.

  • How to find out where a variable has been used?

    How can I find out where a variable has been used within a package/interface/procedure?
    Should I check it using repository's internal tables?
    Thanks

    Hi,
    you have to make some queries to find variable used in which ODI object.
    like, it fetch the variable with scenario name and scenarion can serve your need.
    select v.i_var,v.var_name,s.scen_name from
    ODEV91119_ODI_WORK.snp_var v,ODEV91119_ODI_WORK.snp_scen s
    where
    s.i_var=v.i_var
    and s.scen_NAME='V_BTCH_NAME'
    and agree with SH answer
    Thanks

  • How to find out if a user is logged into a windows XP or VISTA machine

    Hi,
    Could somebody please tell me how to find out remotely over a LAN, whether a user is logged into a computer that is running windows XP/VISTA or not? How can this be programmatically done if we know the name of the remote machine?
    Thanks.
    Ravisara

    Hi,
    Thanks for all the replies.
    Actually it seems that my question has either been misunderstood or has been badly phrased by me.
    What I want to know precisely is the way to find out if a user is logged into a machine or not. Say for example in a LAN there are three computers called A, B and C. If my Java program is running on machine C, how can the program check whether a user is logged into machine A? Assuming JRE is present in all three machines, the machines have as their OS windows XP or VISTA and all machines are connected to a windows domain(Windows 2003 server based network)
    The idea here is to identify all the computers in a network that users are not logged into and then to remotely shutdown those computers in order to minimize wastage of electricity(preferably after a particular time of the day in an organization).
    Any replies would be much appreciated.
    Kind regards,
    Ravisara

  • How to find out what text encoding has been used in mp3 tag

    Hello
    I have some foreign songs that I am importing into itunes. When a song called "04.公路 塵埃 北合起." gets imported, it comes up in itunes as "04.§Ω∏Ù π–ÆJ •¶X∞"
    Now I don't know a lot about different text encodings, but from what I've read on the forums is that the problem is that the tags that are encoded on the srcfiles are not unicode. I have tried the java application "UnicodeRewriter" recommended elsewhere in the forums, but both the commone Chinese ecodings, viz Big5 GBK etc.
    Is there a way to cut a world from (eg a chinese glyph) and somehow find out what text encouding has been used?

    Sorry, that question wasn't very well phrased. I'll try it again.
    I have some foreign songs that I am importing into itunes. When a song called "公路 塵埃 北合起" gets imported, it comes up in itunes as "§Ω∏Ù π–ÆJ •¶X∞"
    Now I don't know a lot about different text encodings, but from what I've read on the forums is that the problem is that the tags on the srcfiles are not unicode. I have tried the java application "UnicodeRewriter" recommended elsewhere in the forums, but whatever I sent the source encoding to, eg Big5, GBK, or one of about 9 others, I just get different types of garbage coming through.
    Is there a way I could take the original glyph in the file name (which shows up correctly on my desktop) and paste it into some sort of table. That table will then show me how that glyph will look in all different encodings without the correct conversion. So if I can match my "公" to my "§" I'll be able to see what the src encoding is.
    I know this is a longshot, but any help appreciated.
    Sorry for the rather rubbish explanation earlier.

  • How can I find out if my mac has a trojan with out third party software?

    I'm trying to find out if my mac has a Trojan on it. I got a pop from a tech support site warning my computer security could be compromised. I did not click any of the links in the site but did call the number. I got very suspisious when they told me the were certified microsoft tech support and told me there was "something band inside my computer". I'm pretty sure they were bogus and just going to try to sell me junk. But after much research I'm very concerned about the ramifications if I do had some kind of Trojan. I have done a bunch of research, most of the content I have found is from 2012/13. Don't want to purchase apps-sounds like there not that great, even ClamXav which can get stuck in a loop as stated on their site. I don't know much about DNS but sounds like it is may the fix. Does anyone know a good source for current info on Trojans and how to detect them. I'm running OSX 10.7.5 and an older iMac.

    See Tech support scam pop-ups.
    ClamXav which can get stuck in a loop as stated on their site.
    That's mostly been fixed for a long time now and can easily be avoided by following the instructions.

Maybe you are looking for

  • Signed Applet JTextField copy to system clipboard

    Hi all, We have a signed and deployed our JAR file that contains our applet following the instructions listed at: http://java.sun.com/products/plugin/1.3/docs/rsa_signing.html We used Thwate as our CA. All seemed good. However any JTextFields that ar

  • Converting AAC into AIFF in itunes 8.0

    Hey everyone I use itunes to convert my Garageband produced Podcast AAC files into AIFF so I can put them through a tidy up program. I can't seem to find how to do this in the latest itunes. Can anyone help me here? Bev

  • I see that some people have all their Apple products listed in every response

    not just the OP in their original question, but others who reply to their question.  I have not been able to figure out how to accomplish this.  I doesn't look like a copy and paste, as the products are listed in grey at the bottom of each reply. TIA

  • How can I delete an ID on the store?

    I have an ID for Itunes Store but I would like to change it with a newone. How can I do? The Sttore always ask me for the old password with the old ID .....

  • Vista 32bit, Service Pack 1 fails to install.

    I'm consistantly getting an error attempting to install Vista Service Pack 1 from Windows Update. Here's the error code: Install status: Failed Code 80070057 All other patches installed fine. This is on a Mac Pro 1,1, 4GB RAM, Boot Camp 3.1. Let me k