Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

restrict users with the same company code

Hi All,

  I have developed editable ALV which allows users to edit and delete records and save those changes in database.

Input is Company Code , Document Number and Fiscal Year.

Now I want to restrict multiple users trying to edit/delete records with same company code at a same time.


User A is editing records for company code 1250.

If User B tries to access for same company code 1250 at the same time, it should return an
error message saying “Table currently locked by User A”.

and also want to restrict the records if multiple users are trying to edit/delete the same record at

a same time,I should give an error message.



Not what you were looking for? View more on this topic or Ask a question