Deleting Lock Objects

When deleting a lock object, note that function modules generated when the lock object is activated may still be in use in programs. These function modules are deleted automatically with the lock object. Therefore, before deleting a lock object, determine all programs which contain these function modules and remove the calls to the function modules.

Proceed as follows to delete a lock object:

  1. Enter the name of the lock object in the initial screen of the ABAP Dictionary.
  2. Select object class Lock objects.
  3. Choose DD-object ® Delete.
  4. A dialog box is displayed in which you are asked to confirm that you wish to delete the lock object. If the function modules belonging to the lock object are still in use in programs, a corresponding warning appears. In this case you should adjust the programs affected before deleting the lock object.

  5. Confirm your deletion request.

The lock object is now deleted.