Palash,
Thanks a lot for your reply. Is it mandatory to lock the table before modifying or inserting records. All these days I have been modifying without this extra check except when I update details for an employee using HR_INFOTYPE_OPERATION
Thanks
Aspire