05-24-2012 9:11 AM
Hi,
Appreciate if any advise can be provided if I want to use an abap program to end a particular user session in order to prevent record locking during a batch input job is executing in background.
I know there is a function 'TH_DELETE_USER' that can terminate all user sessions, however, I only want to end the particular session in which the user is using a the same transaction code as in my batch input.
I have no clues on how the function ThUsrInfo can be called (with what parameters) to achieve this result.
Thanks,
Francis
05-24-2012 9:45 AM
Hi Francis,
Search for information about FM 'TH_DELETE_MODE. That might help you.
Regards,
Karthik D
05-24-2012 9:52 AM
05-24-2012 9:55 AM
Check the subroutine call_delete_user in program RSM04000_ALV. Look at this suggestion from Sandra http://scn.sap.com/thread/1954876
05-24-2012 9:57 AM
Check this thread http://scn.sap.com/thread/1447385
Looks like with multiple FMs this can achieved.
Priya