2006 Aug 17 2:49 PM
Dear Experts,
What setting i need to do for automatically logging out from sap after 20 minutes for a particular user. Might sounds like a basis job, however reply if u got some answers to share.
Thanks in Advance
Senthil
Dear Experts,
What setting i need to do for automatically logging out from sap after 20 minutes for a particular user. Might sounds like a basis job, however reply if u got some answers to share.
Thanks in Advance
Senthil
2006 Aug 17 2:51 PM
2006 Aug 17 2:55 PM
Assign 20 min to Profile parameter rdisp/gui_auto_logout in tx RZ10.
REgards
Sridhar
2006 Aug 17 3:00 PM
here is the program to do that task. i havent tested this yet.
you create this program and assign this to a background JOB to start at a particular time.To test, you can goto SE37, and TEST the function module.
hope this will give you some idea.
REPORT ZSRIM_TEMP8.
data : v_user type sy-uname.
v_user = 'give user name'.
CALL FUNCTION 'TH_DELETE_USER'
EXPORTING
USER = v_user
CLIENT = sy-mandt
* ONLY_POOLED_USER = ' '
* TID = -1
EXCEPTIONS
AUTHORITY_ERROR = 1
OTHERS = 2
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |