SAP Knowledge Base Article - Public

3076114 - Error message F5287 "Account & & is currently blocked by user &" when posting and/or clearing with FI applications


An account is being used for clearing and another user (or the same user) tries to use this account. Error messageF5287 "Account & & is currently blocked by user &" is displayed.


SAP S/4HANA Cloud.

Reproducing the Issue

  1. Run the clearing applications for one specific account.
  2. Use the same account number for another clearing process.


If an account is used for clearing, this account is then locked for further clearing actions or cancellation transactions. The lock refers to the entire account. By means of this lock, it should be avoided that database inconsistencies are created. This is the standard system behavior.

For security and data safeguards, SAP will lock/unlock programs from being processed simultaneously, through an ENQUEUE process. If accounts are processed by other users at the same time, postings on these accounts will fail.


It is not possible to clear items on a single account by concurrent users (or the same user, even), as all open items on one account could be selected if a clearing transaction is used. Therefore, we have to completely lock the account. Otherwise, two users could select the same items for clearing, which could cause update terminations in the system as only one of these two clearing documents will be posted. Thus, it is not possible to lock only single line items.


F5287, Account & & is currently blocked by user &, Clear G/L Accounts. , KBA , FI-FIO-GL , Fiori UI for General Ledger Accounting , Problem


SAP S/4HANA Cloud 2105