SAP Knowledge Base Article - Public

2402059 - Cloud Applications Studio File is Locked by a Support User in a Custom Solution

Symptom

You are trying to activate a file in the SAP Cloud Applications Studio (SDK), however activation is failing, and an error is appearing:

  • 'Failed to lock / unlock file /123456_MAIN/SRC/XXXX.xbo for user K123456 in client X'.
  • 'File  /Y123456_MAIN/SRC/XXXX.xbo on solution Y123456_MAIN branch X is locked by SAP_SUPP001 already'.

Environment

  • SAP Cloud Applications Studio
  • SAP Cloud for Customer
  • SAP Business ByDesign

Reproducing the Issue

  1. Log into the SAP Cloud Applications Studio.
  2. Open Solution: XYZ (XYZ represents your custom solution ID).
  3. Right click the affected file.
  4. Select: Active or Check.
  5. The errors will appear.
  6. You will not be able to Activate or Check in the affected file.

Cause

This issue can occur if SAP Support were working on an case that affected this file.

When you check in a file in the Cloud Applications Studio, a Session ID is created for that lock. This Session ID is what you can see in the Session Administration tool in the SAP Cloud Applications Studio.

If the SAP Support Engineer was testing this file in the back-end, then the lock would not have an Cloud Applications Studio Session ID. This is why you cannot see the lock in the Cloud Applications Studio Session Administration.

Resolution

  1. Open the SAP Cloud Applications Studio.
  2. Select: View.
  3. Open the Session Administration.
  4. If you do not see any locks, select the Refresh icon.
  5. If you still do not see any locks, but these errors appear you will need to open an case to SAP Support.

Please let SAP Support know that you have attempted to Refresh the Session Administration and still could not see the locks, so SAP can check in the backend.

Keywords

SDK, User Lock, Cloud Application Studio, Support User Lock, Session Administration , KBA , AP-RC-BDS-1O , ByDesign Studio OneOffs , How To

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions