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

Forcefully Dequeue a PERNR Enqueued through PA30.

Former Member
0 Likes
764

Hi All,

I have a requirement, where I need to forcefully Dequeue a particular, pernr and then update it's relevent details intable TEVEN.

I have checked PA30's code and found that its getting Enqueued through Enqueue method inside class CL_HRPA_MASTERDATA_ENQ_DEQ.

I have also tried using the relevent dequeue method in the same class, but its not working.

Putting the break point at Dequeue methods, neither works.

Yes, I know, we are not supposed to forcefully Dequeue but its the business requirement.

Any body having any idea pls post.

Hi All,

I have a requirement, where I need to forcefully Dequeue a particular, pernr and then update it's relevent details intable TEVEN.

I have checked PA30's code and found that its getting Enqueued through Enqueue method inside class CL_HRPA_MASTERDATA_ENQ_DEQ.

I have also tried using the relevent dequeue method in the same class, but its not working.

Putting the break point at Dequeue methods, neither works.

Yes, I know, we are not supposed to forcefully Dequeue but its the business requirement.

Any body having any idea pls post.

1 REPLY 1
Read only

GirieshM
Active Contributor
0 Likes
635

Hi Ankit,

I tried in such a way by using the same class (cl_hrpa_masterdata_enq_deq=>enqueue_by_pernr ) findout the SAP User ID which locks the PA30  screen and try to kill the session using FM 'TH_DELETE_USER'. But the entire transaction screen of the locked user will be killed .

After killing the session you can enqueue, upload and dequeue.

With Regards,

Giriesh M