Skip to Content
avatar image
Former Member

Delete Planning Locks and User Session using Program

Dear Experts,

I am trying to create an ABAP program which does the below steps,

1. Checks planning locks created by users on a particular Planning DSO - This I can get using method CL_RSPLS_ENQ=>READ_LOCKS.

2. Delete locks of that planning DSO - This can be achieved using ENQUEUE_READ and ENQUE_DELETE functions.

3. Close the session of users - For the above users who locked planning DSO, we have to terminate their sessions. We have some FMs like TH_DELETE_USER which can be used to close session of user in BW. But if user access planning reports using portal will this function works?

Mainly I am trying to find a function module which can be used to close sessions of users who access planning reports using portal and locks planning DSO.

Request your kind inputs on this requirement.

Thanks in advacnce!

Vinod

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers