Unlock ABAP Object
unlock_abap_objectRelease the edit lock this server holds on an ABAP object without deleting saved inactive source. Use it to free objects you will not activate.
Instructions
Release the edit lock this server holds on an ABAP object, taken by lock_abap_object or kept by write_abap_object_source with keepLock. Saved (inactive) source is not removed. Use it to free an object you will not activate; abap_activate releases a held lock itself. If this server holds no lock and no handle is given, nothing is released and the call explains why; force_relogin drops the whole session's locks as a last resort.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "unlock_abap_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ADT object URL that was locked (e.g. /sap/bc/adt/programs/programs/ZREPORT) | |
| lockHandle | No | Lock handle returned by lock_abap_object or write_abap_object_source. Optional: defaults to the lock this server holds on the object. | |
| connectionId | No | SAP system connection ID |