Deprovision locked SAP users on schedule
Recipe ToolsMarketingDocument/FileSales EnablementERP
What it does
When a scheduled time arrives, this automation retrieves locked user accounts from a Google Sheets spreadsheet. It runs a BAPI in SAP to unlock each user so they regain system access.
Who it's for
IT teams who need to restore SAP access after a system lockdown without manual intervention.
How teams use this
Restore access after planned maintenance
When SAP goes down for maintenance and locks all users, this automation unlocks them from a prepared list in Google Sheets. The team does not need to manually unlock each account.
Unlock users in a specific department
Filter the Google Sheets rows to include only users from Finance or another department so only those accounts are unlocked. The same automation runs but targets a subset of locked users.
Notify IT when unlock completes
Add a Slack notification step after all users are unlocked so the IT channel knows access has been restored. This keeps the team informed without checking SAP directly.
How it works
- Check every 5 minutes. This automation runs on a schedule every 5 minutes to look for users who need to be unlocked in SAP.
- Fetch locked users from the sheet. Retrieve all rows from the Google Sheets spreadsheet that list the SAP users locked during the system lockdown event.
- Unlock each user in SAP. For each row in the spreadsheet, run a BAPI in SAP to unlock that user account so they regain system access immediately.