10-26-2007 9:35 AM
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.
10-26-2007 9:38 AM
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.
07-26-2010 6:39 PM
Hi,
TT- can you sharr your code or tips regarding how you handle the subequipment part in IE01.
Help appreciated..
07-26-2010 8:39 PM
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].