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

Regarding BDC

Former Member
0 Likes
652

Hi all,

I am calling FI_ITEMS_MASS_CHANGE FM within loop.

it is giving error as 'Entry is locked by another user'.

for first record in loop it goes to FB02 transaction updates the entry and comes out succesfully but for 2nd entry it is giving above error.. externally I have used enqueue func module for BKPF but still not solved.

If i go in debugging mode for each entries(pressing F5) then I am not geting above error.

regards

Divakar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
554

Hi

Try using WAIT UPTO 1.(SECONDS)Mentioned some seconds of time.

Try to add DEQUEUE also along with enqueue.

Message was edited by: Vara Prasad Kunathi

Message was edited by: Vara Prasad Kunathi

2 REPLIES 2
Read only

Former Member
0 Likes
555

Hi

Try using WAIT UPTO 1.(SECONDS)Mentioned some seconds of time.

Try to add DEQUEUE also along with enqueue.

Message was edited by: Vara Prasad Kunathi

Message was edited by: Vara Prasad Kunathi

Read only

Former Member
0 Likes
554

Use the below FM for looking the BKPF table.

<b>ENQUEUE_EFBKPF

DEQUEUE_EFBKPF</b>

In the loop after the document is updated dequeue the document and wait for some few seconds.

Regards,

Prakash.