2012 Apr 24 1:25 PM
hi
ı want to develop a program which will start with user logon(for a specific user) and force to user enter some descipstions
then it will update a dtable which contians logon time log off time user name and descriptions
here is my questions
how can set this program to start with logon and for a specific user
and how can ı get user logoff time.
2012 Apr 24 1:38 PM
Hi,
You can implement this customer exit "SUSR0001 :- User exit after logon to SAP System" to get your program get triggered. This exit will trigger when a user logs into SAP.
EXIT_SAPLSUSF_001 :- Customer-Specific Check After Every User Logon.
Thanks & Regards
Bala Krishna
2012 Apr 24 1:38 PM
Hi,
You can implement this customer exit "SUSR0001 :- User exit after logon to SAP System" to get your program get triggered. This exit will trigger when a user logs into SAP.
EXIT_SAPLSUSF_001 :- Customer-Specific Check After Every User Logon.
Thanks & Regards
Bala Krishna
2012 Apr 24 1:48 PM
Hi,
'SPH_R3_LOGOFF' function module is triggered when user logs off from a session, may be for log off time you can use an IMPLICIT enhancement where you can add the entry into ztable to update logoff time.
Thanks & Regards
Bala Krishna
2012 Apr 24 2:08 PM
2012 Apr 24 2:13 PM
first of all ı will search trigger event ı think there is a lot of things to learn
2012 Apr 24 2:24 PM
Keep in mind that these are very delicate places for customer enhancements, e.g. by accidentally implementing syntax errors you could cause all sorts of trouble and will sure get a call from your system administrators.
Thomas
2012 Apr 24 2:30 PM
the simplest approach, since this is for a specific user is to make your program and transaction a start transaction.
From the main logon menu:
Extras -> Set start transaction
Enter your transaction.
Rob
2012 Apr 24 2:41 PM
2012 Apr 24 2:47 PM
@ robs burbank
ı looked it but it is too simple.
ı think manager do not accept this
2012 Apr 24 2:50 PM
Oldun Saricalik wrote:
ı looked it but it is too simple.
ı think manager do not accept this
Remind your manager of Occam's razor.
Rob