Application Development 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: 

Trigger User Log out event of SAP System

Former Member
0 Kudos

Hi community,

Is possible trigger an event to force a log-off of user in sap system with Gui???

Best'regard.

Antonello

1 ACCEPTED SOLUTION

0 Kudos

Hi all,

you can use

CALL 'SYST_LOGOFF'.

Bye, Stefano.

2 REPLIES 2

Former Member
0 Kudos

Hi

You can create a little code for BDC program to triggered log off:

perform bdc_dynpro using 'SAPMS38M' '0101'.

perform bdc_field using 'BDC_OKCODE'

'/NEX'.

call transaction 'SA38' using bdcdata

mode 'N'.

Now your problem is only when you run this program.

N.B.: I've use SA38, but you can use whichever trx user can run.

Max

0 Kudos

Hi all,

you can use

CALL 'SYST_LOGOFF'.

Bye, Stefano.