on 2018 Dec 13 12:29 AM
Hello:
In SAP Business One for HANA, the manager user is locked in only one company database. He can log in to other companies. And, his User Setup window does not show the "Locked" box as checked.
What script can I run in HANA to unlock the user? Unless there is a safe way to do so in the B1 app, I'm going to have to go the HANA route.
I'm a HANA newbie who comes from a SQL background. So, please help me out.
Thanks!
John
Request clarification before answering.
Hello:
Where can I find the OUSR table in HANA? In which database?
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If its production company, please raise ticket to SAP to unlock.
Do you have any other super user other than manger in that company? If yes, then other super user can unlock manager ID.
Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
First Take full backup of database and restore it as test db then try this -when id locked you have just change the status of locked field in ousr table for manager id by edit top 200 rows.
Note- Use this method as a last option if you have any other solution then go for that.
Regards,
Satish Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If your Manager ID was Superuser and no other Superuser in the system, then you would not be able to reset the password and unlock the Manager ID.
In such a case, check SAP Note 978292 regarding the issue.
Regards,
Jitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try this script in HANA Studio.
UPDATE OUSR
SET "Locked" = 'N'
WHERE "USER_CODE" = 'manager';
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.