In the SAP system there is a posibilty to set the amount of time in which an user can manage the data of an employee in transactions PA30, PA40, PA61.
With an very easy configuration you can get the following funcionality:
- Transaction PA30, we were thinking in change data
- After the time customized with no modification, the system sends a warning message with the remaining time before the system changes to display mode if no modification occurs
- Finally the system changes to display mode
In IMG: SAP Customizing Implementation Guide – > Personnel Management -> Personnel Administration -> Basic Settings -> Automatic Toggle to Display Mode for PA30, PA40, and PA61 -> Define Time Period for Toggle to Display Mode
Additionally It is possible to use badi HRPAD_B_GET_TIMER.
OSS note https://launchpad.support.sap.com/#/notes/2110196 (OSS user required)