‎2008 Mar 24 7:43 AM
Hi all,
I am creating an application in WebDynpro ABAP. I want to know if there is any function module using which I can capture the user id and client number.
Also Is there any function module using which I can log out of the system.
Best Regards,
Rajesh.
‎2008 Mar 24 7:50 AM
HI,
u can use the system variable sy-uname for user name abd sy-mandt for client number.
there is a function module for logging off it is 'SXMI_LOGOFF'.
rgds,
bharat.
‎2008 Mar 24 11:50 AM
Could you please tell me of an example wherein "SXMI_LOGOFF" is used. I also used another Function Module ie TH_DELETE_USE which Logoff a user. Similar results to using SM04. However, this FM doesn't function if the user doesn't have authorization to use the transaction SM04.
I would also appreciate if you could tell me if there is any function module which would end a session.
Best Regards,
Rajesh.