Well I'm using the FM 'HR_INFOTYPE_OPERATION' for creating an infotype record.
Using the following sequence of FM's
The Problem is that, if PERNR is already locked, even then the FM'HR_INFOTYPE_OPERATION' is executed. and a record is created.
So what would be the BEST PRACTICE to avoid the creation of Infotype record. when a Pernr is can't be enqueued(locked).