SAP Message R-711 - Error while locking the DB tables for dataset &

Diagnosis
Database tables or individual data records may be locked due to anotheruser (who is in the process of editing the tables) or due to a databaseerror.

System Response
Processing is interrupted since data cannot be written to locked DBtables.