RDDITLCK: Lock/Unlock SAP System for Logon

This program RDDITLCK allows you to set a lock in the system which prevents users from logging on to the SAP system. As long as the system is locked in this way, the only two users able to log on are SAP* and DDIC.

You lock the SAP system by specifying a T100 application area and a T100 message number.

If a user now tries to log on to the system, he or she is unable to and sees instead the specified T100 message in the status bar.

Note

Bear in mind that the message long texts cannot be read since this requires a user to log on successfully.

This mechanism allows any messages to be sent, particularly messages you have defined yourself, when logging on is to be prevented temporarily.

If the parameter “Unlock” contains the value “X”, the lock is removed.

Note

This mechanism is also used by tp (transport control) to prevent users from logging on during an import or upgrade. A system that has been locked by tp cannot be unlocked with RDDITLCK.

Requirements

You require authorization S_CTS_ADMIN (administrator for the Workbench Organizer and transport system) to be able to lock/unlock the system. The value ‘SYSC’ is checked for the authorization object S_CTS_ADMI.

Output

The program reports whether locking or unlocking has been successful or has failed.

Example

Lock:

Call with unlock = ” “, T100 application area = “TW”, T100 message number = “900” allows each user to see the T100 message TW900 when logging on.

Unlock:

Call with unlock = “X” removes this lock.

You May Also Like

Leave a Reply?