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: 

Idoc Processing Unsuccessful Not all preceding documents could be locked - How to unlock it

Former Member
0 Kudos
350

Hi Sap Gurus,

I have an requirement that need to create inbound delivery with respect to flat file. If flat file contains more than 10000 records then it should split data & create multiple deliveries.

example-

if file data < 10000.

create delivery!

else.

split data & create multiple deliveries!

endif.

so now my question is in debug mode it s creating multiple deliveries as per requirement but without debug mode its creating only 1st delivery & says below message

"Idoc Processing Unsuccessful Not all preceding documents could be locked"

even i tried to use WAIT UPTO 5 seconds, still not able to resolve.

Hence request you to please help me to overcome this problem.

Note:I used commit work & wait also but still problem exists.

Regards,

shabaresh

0 REPLIES 0