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: 

ENQUEUE_EPPRELE

duma_msongelwa
Explorer
0 Kudos

I am using ENQUEUE_EPPRELE to lock all infotype records in 2001 and it returds a foreign lock message.

CALL FUNCTION 'ENQUEUE_EPPRELE'

EXPORTING

PERNR = p2006-pernr

INFTY = '2001'

EXCEPTIONS

FOREIGN_LOCK = 1

SYSTEM_FAILURE = 2

OTHERS = 3.

1 ACCEPTED SOLUTION

SimoneMilesi
Active Contributor
0 Kudos

This means that someone is working into the infotype 2001 for your PERNR.

Try again, and if sy-subrc eq 1 again, go to SM12 and check if someone is in infotype 2001 for your pernr

1 REPLY 1

SimoneMilesi
Active Contributor
0 Kudos

This means that someone is working into the infotype 2001 for your PERNR.

Try again, and if sy-subrc eq 1 again, go to SM12 and check if someone is in infotype 2001 for your pernr