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

Terminate a user session

Former Member
0 Likes
1,507

hi,

iam new to SAP.

I have a requirement where i need to terminate the session of the particular user when i run a particular program.

kindly,suggest me if there is any standard function module calling which i can satisfy my requirement.

Thanks,

JiA

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,376

Hi Jiyaa

you can use this FM to log off

CALL 'SYST_LOGOFF'.

7 REPLIES 7
Read only

GauthamV
Active Contributor
0 Likes
1,376

Welcome to SCN.

Plz SEARCH in SCN before posting.

You can use Fm TH_DELETE_USER.

Read only

Former Member
0 Likes
1,376

Hi;

Go in Sm50,

It would give the list of the user and its running status.

Under program -> end session.

Regards

Shashi

Read only

0 Likes
1,376

Hi,

Thanks for the reply.

But i want the particular user session to terminate automatically when i run my program.

I will try using the std FM mentioned,by passing reqd parameters.

Thanks,

JiA

Read only

Former Member
0 Likes
1,376

1. T.CODE SM04

2. Then double click on user name

3 .click on transaction

4. then press END SESSION

Read only

0 Likes
1,376

can we convert the function to program..

how to write it

Read only

Former Member
0 Likes
1,377

Hi Jiyaa

you can use this FM to log off

CALL 'SYST_LOGOFF'.

Read only

0 Likes
1,376

Solved.