Hi Sridar,
Yes, that is probably your problem. If it's a similar data type it wouldn't matter. But WFSYST-INITIATOR is an HR structured type and has the object type prefixed (e.g. US=User), thus "USBOND007", whereas BNAME is just a username "BOND007".
This would still technically work if your code strips the "US" object type component, but BNAME will be too short and cut off long IDs as in "USBOND00". This would explain why it only occasionally fails.
Regards,
Mike