Start of Content Area

Procedure documentation Deleting Lock Objects  Locate the document in its SAP Library structure

Prerequisites

When you delete a lock object, the function modules generated when you activated the lock object are automatically deleted as well. These generated function modules might still be in use in programs or classes.

Therefore, before deleting a lock object, find all programs or classes that contain these function modules and remove the calls to the function modules.

Procedure

  1. In the initial screen of the ABAP Dictionary, select object type Lock object and enter the lock object name.
  2. Choose This graphic is explained in the accompanying text to find all the programs or classes that are still using the lock object. Remove the lock module calls in the objects you found.

  3. Choose This graphic is explained in the accompanying text.
  4. A dialog box appears in which you must confirm the deletion request. If the function modules belonging to the lock object are still in use in programs or classes, a corresponding warning appears. In this case you must adjust the programs or classes affected before deleting the lock object.

  5. Confirm the deletion request.

Result

The lock object is deleted together with the function modules generated from this lock object.