Delete ABAP Object
delete_abap_objectDelete an ABAP repository object from SAP and record the irreversible deletion on a Workbench request; check where-used first because references may remain.
Instructions
Delete an ABAP repository object from the SAP system and record the deletion on a Workbench request (not needed for a local $ package). Irreversible. The tool locks the object, deletes it and unlocks it. Check where_used first, since other objects may still reference it. Transport: a transport you pass is checked and used; an object already locked into a request uses it; createTransport: true creates a new one; otherwise the transport already used for this piece of work (workItem, else this session) is reused; otherwise exactly one open request is used, several are listed for you to choose, none offers creation.
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": "delete_abap_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ADT object URL to delete (e.g. /sap/bc/adt/programs/programs/ZREPORT) | |
| workItem | No | Name of the piece of work (e.g. HPM, a ticket). Keeps using the same transport for it across calls and sessions until you pass another. | |
| transport | No | Workbench request to record into. Checked before use; becomes the transport for this piece of work. | |
| connectionId | No | SAP system connection ID | |
| createTransport | No | Create a NEW Workbench request (only when you mean it; existing requests are preferred). |