DeletePackage
Remove an ABAP package from the SAP system via ADT. Provide a transport request for transportable objects, or force a new session when the package is locked elsewhere.
Instructions
Delete an ABAP package from the SAP system via ADT deletion API. Transport request optional for local objects. A package can be saved only once per ABAP session (PAK/058 "Package … is already locked" otherwise). The package tools of this server save a package on a session apart from this one, so a delete here works after them; for a package saved elsewhere through this connection, pass force_new_connection=true to delete from a new session, closed afterwards. Runs outside batch mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| package_name | Yes | Package name. | |
| transport_request | No | Transport request number, not a task. Required for transportable objects. Optional for local objects. | |
| force_new_connection | No | Force creation of a new connection (bypass cache). Useful when package was locked/unlocked and needs to be deleted in a fresh session. Default: false. |