Question:
Does anyone know if there is a standard program to lock users? I know about t-code su10 but I would like to run a program/variant and select my criteria. Please let me know. I am running kernel release 620.
Answer:
Indeed there is.
SAP has recently removed the functionality in a support pack. I think it is 50 for 4.6C. The functionality does not exist in standard 6.40 anymore.
It was intended only as a test program (like some others). The note has version potential.
Ned
Answer:
There is a function called BAPI_LOCK_USER that allows you to lock one user. I am not sure if you can use a * to lock all users. I wasn't going to test that!
Answer:
You canīt single test it to easily, but you can program it to do so.
Ned
Answer:
That should be program BAPI_USER_LOCK, though it cannot be displayed or executed directly from SE38 F8 without having seen how it works in STAT.
Also, the code correction is not BAPI related. An executable test program exists in SUSR. SAP has deactivated it.
Ned
Answer:
I beleive there is a report designed for Euro upgrades/implementation or PUTs that allows you to lock all non-logged on users. I'll have o look for it but I beleive it starts with an 'E'.
Answer:
Indeed, but the Euro program pertains to lock only from a first look at it.
Deactivated code has several other features, including F8 without a selection screen but with parameter transaction capability.
Ned
Answer:
The report is EWULKUSR, which may work different in higher versions.
Answer:
Hi,
we have a test system for release 5.0, our normal stages are 4.6C.
The report John mentioned works in both.