on 2016 Jan 21 3:35 AM
Hello Gurus,
Is there a way to unlock the shopping carts which are locked by other users (Buyers) in carryout Sourcing??
Scenario: We have a shopping cart which is under process by Buyer A (SC is in Carryout Sourcing Step 2), and the buyer logged off by keeping the shopping cart in COS step 2 (i.e., locked by the Buyer A in step 2 of COS).
Is there any chance of unlocking the shopping cart from Buyer A account to process that SC by another Buyer???
Please share you valuable ideas on this issue...
Thanks in advance
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.