Skip to Content
Former Member
Apr 20, 2010 at 01:42 AM

How to check lock entries?


Hi all,

Im working on a custom smartform to print a smartform for a particular batch no(for which i have no of deliveries/handling units) mainatined in a custom table .After this custom smartform ,2-3 proceeding /trailing smartform outputs(for the same batch) will be called.Now In the driver program,after fetching all the data and before calling my smartform,I need to check whether all trailing outputs for the released batch are completed and stapled to the spool.To ensure this,I need to check no locks exists for the Delivery/ HU being processed.

Now how do I check if there are any locks on any of the deliveries which exist in the batch ID for which my smartform will be called?

Any inputs will be highly appreciated.