Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

program which is start with user logon

Former Member
0 Likes
1,480

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.

1 ACCEPTED SOLUTION
Read only

former_member585060
Active Contributor
0 Likes
1,330

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

9 REPLIES 9
Read only

former_member585060
Active Contributor
0 Likes
1,331

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

Read only

0 Likes
1,330

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

Read only

0 Likes
1,330

thanks a lot i think it will help, 

Read only

0 Likes
1,330

first of all ı will search trigger event ı think there is a lot of things to learn

Read only

0 Likes
1,330

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

Read only

Former Member
0 Likes
1,330

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

Read only

0 Likes
1,330

@

yep it can works to

@Thomas Zloch

hmm yes it can be a problem for me

Read only

0 Likes
1,330

@ robs burbank

ı looked it but it is too simple.

ı think manager do not accept this

Read only

0 Likes
1,330

Oldun Saricalik wrote:

ı looked it but it is too simple.

ı think manager do not accept this

Remind your manager of Occam's razor.

Rob