To Find the user log off date
Hello Gurus
I need to find the user log off and log on details.Suppose if the user logs of today and Logs on tommmorow...Then I need to get both those log off and log on details.The log details can be found from USR02 table..Plz help me in finding out the log off date of the user..IThanks
Ganesh
Edited by: Ganesh Kumar on Mar 9, 2009 6:57 PM
Explore SM19 and SM20 tcodes for your requirement.
Similar Messages
-
RMI listener stops whenever the user logs off Windows
Hi guys...
I have a problem whereby the RMI listener stops whenever the user logs off Windows.
I've gone through the net and the only solution was to add "-Xrs" to the end of the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IBM Tivoli Identity Manager Adapter" service for the ImagePath statement.
Unfortunately for me, that did not work.
Anybody knows how I can go around fixing this.
Much appreciated.What's the RMI listener?
Do you mean the RMI Registry?
In which case the solution is to add that same flag when you run the registry. -
How to find the user logged on to machines in last 2 weeks,
Hi All,
I am running SCCM 2012 R2. I need your expert advice in a SQL query/sccm report.
I have a list of about 1000 users. I need to find out the all the machines names that these user logged on to in last 2 weeks
Hope you can help.
Thanks
ManishHello,
First, I don't this could be done with SCCM.
If you have SCOM implement, it may help in this case. SCOM forum:
https://social.technet.microsoft.com/Forums/systemcenter/en-US/home?category=systemcenteroperationsmanager
In addition, logon information could be found in event log of DC. Audit the log with script could be another workaround.
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Query to find the user ID create date and locked date
Hi,
As title, below is my query, it seem that it will not work as my expectation, can someone help?
SELECT T0.[USER_CODE], T0.[U_NAME], T0.[LOCKED], T0.[LstLogoutD] AS 'Last Logon Date' , T1.[CreateDate] FROM OUSR T0 INNER JOIN AUSR T1 ON T0.USERID = T1.userSign WHERE T0.[LOCKED] = 'N' AND
T1.logInstanc = 1
ThanksTry this
After the Mr. Nagarajan post
SELECT
T0.[USER_CODE], T0.[U_NAME], Case when Isnull((Select Min(T1.date) from usr5 T1 where T0.USER_Code = T1.usercode GROUP by T1.Usercode), 0) <> 0 then (Select Min(T1.date) from usr5 T1 where T0.USER_Code = T1.usercode GROUP by T1.Usercode) else T0.[updateDate] end 'Creation date', T0.[lastLogin], T0.[Locked] FROM [dbo].[OUSR] T0
Regards, -
Java dying when user logs off machine
I have developed a class that monitors a MQ queue, I used the active-x bridge to allow distribution to both java and VB developers to use. The application that is to be developed should be running on a machine in the background.
I created a test VB program using the java class and created a "scheduled task" to start on system start up. When I start the machine, the application starts up and runs. Then a user logs into the machine, and application is still running. Then the user logs off the machine, and the program stops.
I have a VB porgram without the java active-x bridge object and that works throughout the login/logout process.
Any thoughts on how I can keep the program running continously, thanks.Well, I found a solution. If you add the paramater -Xrs to the java command, it will reduce the use OS signals. Thus it will ignore the hook that Windows has.
It turns out this was a bug in version 1.3. For some non-light reading and more info, see http://developer.java.sun.com/developer/bugParade/bugs/4323062.html -
Want to know the number of user logged off
Hi
Using Mii server, how to check how many user where logged off.
Regards
RizviHi,
You need to write customized java code in your development. Set the session of the user logged in and store. And get these details from the JSP page.
Also in MII logs you can find these details.
http://localhost/Lighthammer/Illuminator?service=SystemInfo&Mode=SessionStats
Using this you have to play around the code.
-Suresh -
Need to find Logon Group in which the user Logged in
Dear Experts,
I have a issue to find the logon group while logging into the SAP
For example
One server having three LogonGroups
1) MFSTRESS
2) TEST
3) HQSTRESS
in that I want to find out the logon group in which the user logged in. I am not able to find in the transaction SMLG or AL08
Is ther any function module is available or any other way to find the logongroup.
Please help on that its very urgent . I will reward the points immediately.hi,
TH_USER_INFO Returns information about user
TH_USER_LIST Displays users logged onto server
Hope this helps, Do reward. -
Find the Users who are Currently logged in
Hi SDNers,
I have Admin rights. Is there any way to find the Users who are Currently logged in?
Please suggest.
Thanks & Regards,
Priti Rani PatnaikHi Priti,
Check the Connections table under Admin node which shows the users who are currently logged in along with the application users are accessing.
Regards,
Jitesh Talreja -
I accidentally turned off bluetooth and now my keyboard won't connect. I already tried to reboot the computer. I can't use the mouse because I ca't get past the user log-in screen. Please help
http://www.cultofmac.com/247979/whoops-reconnect-your-bluetooth-keyboard-and-mac -after-logging-out-os-x-tips/
had the same problem and it worked! -
IPlanet 6.0 SP2 restart on Windows NT when a user logs off the server.
UPDATE: We have found that the iWS 6.0 only restart with JDK 1.3.1 installed for JSP pages. What is the best JDK to use?
iPlanet 6.0 SP2 restart on Windows NT when a user logs off the server. If a admin or joe developer logs into the server (C+A+D) and does what ever... When the
person logs off the NT 4.0 box ... ALL the httpd process restart. We have 80 & 443 & Admin. The processes are running under a user account. Any one have an idea why the process are restarting?"Hi,
You can use following JDK version for Windows NT.
And please check it out whether WinNT-SP6 as been installed in winNT box.
Window NT:
SDK and JRE 1.4 http://java.sun.com/j2se/1.4/
SDK and JRE 1.3.1_02 http://java.sun.com/j2se/1.3/
SDK and JRE 1.2.2_011 http://java.sun.com/products/jdk/1.2/
JDK and JRE 1.1.8_009
http://java.sun.com/products/jdk/1.1/download-jdk-windows.html
I hope this helps.
Regards,
Dakshin.
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support. -
Find the User ID through which the end user logged in BEx Analyzer?
I want to fetch the end user USERID who is executing the query. I am the end user and want to view a report, so I will login into BEx Analyzer with my userid and start executing query. Is there any way I can find that ID, in any table, program, function module or some where........?
I don't want 'created by', 'last changed by'. I want ID through which end user is logging into in Analyzer.
Also if the end user is logging in through RSRT wanted to know the SAP login user ID through which the user logged in?Hi,
If you want to see the end user id that is running the query, and then open the workbook, select Layout from the menu u2013 Display Text elements. Click on All (or General, Filters or Variables based on your requirement). It will display the technical name, info provider, current user details. You can save it as existing work book transport to production, then when this query executed you can find end user login id.
May be you can check RSRWBTEMPLATE table for workbook users details. Mostly end user will not have access to RSRT.
Hope it helps you
Thanks
Riyez -
Hello,
i am using Firefox version 31. I have a problem with page setup margins. I need to use left
30mm; right 10mm; top 20mm; bottom 20mm. I am using VMware floating assignemnt linked clones
virtual desktops. After users log off - machines are deleted and users next time logs on get's brand
new VDI's. Users gets printers to VDI using login script from Active Directory.
Option Explicit
Dim strPrinterUNC, objNetwork
strPrinterUNC = "\\some_server\printer_number_1"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection strPrinterUNC
WScript.Sleep (20000)
objNetwork.SetDefaultPrinter strPrinterUNC
Set objNetwork = Nothing
Each user have different logon script, because they use different printers (different printer names e.g. \\some_server\printer_number_2 ; \\some_server\printer_number_3 and etc. Page setup margins in Internet Explorer are ok. But how to make Firefox page setup margins as i need? For other options i have
used CCK2 Wizard 2.0.4 tool. It worked fine. Maybe i can put some information in C:\Program
Files\Mozilla Firefox\defaults\pref\autoconfig.js I have some usefull data in it allready. I
have found info that: "Setting print margins is done in the printer settings". I have a lot of
printers, so i can not set printer margins individualy for each of them. Now mozilla shows top,
bottom, right, left each 12.7 mm. What should i do if i have a lot of printers in enterprise
environment?Firefox has a profile folder that has preferences to save this. But the config that would need to be changed is:
print. save_print_settings = True - (default): Save the print settings after each print job
Locking that preference: [http://kb.mozillazine.org/Locking_preferences]
Or done manually:
#In order to check the margins, we need to go to ''File'' > ''Page Setup''.
#Once this is done, switch to the ''Margins & Header/Footer'' tab.
#Check what's set there under ''Margins''.
The following are the default values for ''Margins'':
Check these values accordingly and change them if necessary. -
How to find the user-exit for transaction fpp2
Hi experts,
could you help me how can I find the user-exit for transaction fpp2. I tried to after the package, but I did not find it.Hi,
Use the following program to find user exits of specified code.
*& Tables
TABLES : tstc, "SAP® Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP® Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP® Modifications
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
I executed the above program but there are no user exits for the specified Transaction.
Thanks,
Naveen Kumar. -
How to find the user exit for a screen..
Hi,
plz help me how to find the user exit for a screen..?
Regards
AnbuHi,
check this program this will give you the list of user-exit and BADI for the perticular Tcode.
REPORT zuserexit_badi.
TABLES : tstc,
tadir,
modsapt,
modact,
trdir,
tfdir,
enlfdir,
sxs_attrt ,
tstct.
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
PARAMETERS : p_tcode LIKE tstc-tcode,
p_pgmna LIKE tstc-pgmna .
DATA wa_tadir TYPE tadir.
START-OF-SELECTION.
IF NOT p_tcode IS INITIAL.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
ELSEIF NOT p_pgmna IS INITIAL.
tstc-pgmna = p_pgmna.
ENDIF.
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name EQ enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
SELECT * FROM tadir INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object IN ('SMOD', 'SXSD')
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(105) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
SORT jtab BY object.
DATA : wf_txt(60) TYPE c,
wf_smod TYPE i ,
wf_badi TYPE i ,
wf_object2(30) TYPE c.
CLEAR : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT jtab INTO wa_tadir.
AT FIRST.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Enhancement/ Business Add-in',
41 sy-vline ,
42 'Description',
105 sy-vline.
WRITE:/(105) sy-uline.
ENDAT.
CLEAR wf_txt.
AT NEW object.
IF wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
ELSEIF wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
ENDIF.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 sy-vline,
2 wf_object2,
105 sy-vline.
ENDAT.
CASE wa_tadir-object.
WHEN 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE modtext INTO wf_txt
FROM modsapt
WHERE sprsl = sy-langu
AND name = wa_tadir-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WHEN 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
SELECT SINGLE text INTO wf_txt
FROM sxs_attrt
WHERE sprsl = sy-langu
AND exit_name = wa_tadir-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
ENDCASE.
WRITE:/1 sy-vline,
2 wa_tadir-obj_name HOTSPOT ON,
41 sy-vline ,
42 wf_txt,
105 sy-vline.
AT END OF object.
WRITE : /(105) sy-uline.
ENDAT.
ENDLOOP.
WRITE:/(105) sy-uline.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
DATA : wf_object TYPE tadir-object.
CLEAR wf_object.
GET CURSOR FIELD field1.
CHECK field1(8) EQ 'WA_TADIR'.
READ TABLE jtab WITH KEY obj_name = sy-lisel+1(20).
MOVE jtab-object TO wf_object.
CASE wf_object.
WHEN 'SMOD'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
WHEN 'SXSD'.
SET PARAMETER ID 'EXN' FIELD sy-lisel+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Reagards,
Bharat. -
To find the User Exits for a particular Transaction.
hi,
I want to find the number of User Exits for a The Transaction MM01 or MM02,
I serched in the forums but could not find satisfactory ans,
I tried with:
T.Code-> System>Status->Prog Name>SE38>find Call Customer-Exit.
But its not helping me,
Please help me.
Thanks and Regards
Suraj S Nair.hi ,
if you are new to user exist use --> follw the below methos to find the user exit for a particular transaction or t-code
create one custom pgm in se38 and execute >selection screenenter t-code and execute it will return all the user exists for a specific transaction..
Finding the user-exits of a SAP transaction code
* Finding the user-exits of a SAP transaction code
* Enter the transaction code in which you are looking for the user-exit
* and it will list you the list of user-exits in the transaction code.
* Also a drill down is possible which will help you to branch to SMOD.
* Written by : SAP Basis, ABAP Programming and Other IMG Stuff
* http://www.sap-img.com
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
*---End of Program
Regards,
Prabhudas
Maybe you are looking for
-
I purchased an album with 11 tracks from the Store. When the download was complete, I edited the name to make it easier for me to find. I then synced my iPod and iPad with the new album. However I found that one of the tracks was defective and afte
-
I pad to Mac mini ? Can they connect wirelessly?
How do I connect my iPad to my Mac mini wirelessly ?
-
How To create Dynamic destination in blazeDS
Hi, Can anyone tell me how to create dynamic destinations ? thnks
-
After installing itunes 8.1 itunes crashes whenever I plug my ipod in...
I downloaded itunes 8.1 yesterday when apple told me to, but now whenever I plug my ipod (4th gen. nano) in itunes crashes with the vista message 'itunes has stopped working' and it forces me to close the program. How can I fix this?
-
IE prompts credentials after some time and we get error rsHttpRuntimeClientDisconnectionError
Hi all, Windows Server 2012 Reporting Services 2012 SP2 Internet Explorer 8 After some time running a report the end user is asked for his credentials again with the authentication prompt. In the ExecutionLog we see the Client (IE) has its connection