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: 

BDC Equipment Master IE01

Former Member
0 Kudos

Hi all,

I am doin master upload for equipment.The equipments are succesfully created.But for certain records deletion flag needs to be set and sub equipments need to be created.This is possible only in change equipment ie IE02.So while I go to change mode it is givin me the message

S Equipment 20 is already locked by user <my username>

and the rest of d things not updated.I tried to give FM: DEQUEUE_EIEQUI to release the lock aftr IE01 and befor calln IE02.But still same message comin.

Do anyone have a solution for dis.Any help would be appreciated.

3 REPLIES 3

Former Member
0 Kudos

First upload all the IE01 equipments.

Next give a explicit COMMIT and then try to upload IE02 equipments..

You can try WAIT <n> statement also. So that it will wait for few seconds and execute next upload. So the lock may released in that time.

Former Member
0 Kudos

Hi,

TT- can you sharr your code or tips regarding how you handle the subequipment part in IE01.

Help appreciated..

Sandra_Rossi
Active Contributor
0 Kudos

It is either a bug (check SAP notes), or more probably an asynchronous update/lock which is not finished yet.

So simply execute the BDC in synchonous update mode (S or L). For more information, read paragraph #12 in [wiki BDC FAQ about errors|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-WhyBDCbehavesdifferently%3F] for more information, and [wiki BDC about update mode|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInput-+BDC#BatchInput-BDC-Updatemode].