Hi,
The logs are stored in table SPERS_OBJ.
Recommendations:
- If possible, unlock document with the related user,
- If the user is not available (sick, leaved the company,...) the deletion is only allowed for system administrators,
- To the delete the locks you need to create an own report, but this is not supported by SAP,
- You can use the following example as reference to create the Z report.:
example: REPORT ZBBP_DELETE_SC_WORKAREA.
-----------------------------------------------------------------------------
PARAMETERS username TYPE SYUNAME.
CALL METHOD cl_pers_admin=>delete_data_user
EXPORTING
p_pers_key = 'BBPSOCO01/GROUP_AREA'
p_uname = username
EXCEPTIONS
pers_key_not_found = 1
user_does_not_exist = 2
not_set_to_default = 3
internal_error = 4
OTHERS = 5.
*****************************************************************
Please try to avoid the manual deletion from SPERS_OBJ, because of security reason.
Regards
Laszlo