when creating the material by using the bapi "BAPI_MATERIAL_SAVEDATA",
system is throwing an error
" A system error has occured while locking".
Please suggest what should i do.