changePackagePreview
Preview the refactoring impact of moving an ABAP object to a new package, showing old and new package and transport request. Check before executing the move in ADT or SE80.
Instructions
What moving an object to another package would involve: the refactoring the backend proposes, with the old and new package and the transport it would be recorded in. Preview only - this server does not execute the move, because the library offers no evaluate step and the payload has to be assembled here, which is not something to run unverified against a real package. Do the move itself in ADT or SE80 once the preview looks right.
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": {
"objectUrl": "<objectUrl>",
"newPackage": "<newPackage>"
},
"name": "changePackagePreview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectUrl | Yes | Object to move, e.g. /sap/bc/adt/oo/classes/zcl_app_foo. | |
| transport | No | Transport request the move would be recorded in - the request itself, not a developer task. | |
| newPackage | Yes | Target package, e.g. ZAPP_BASE. | |
| objectName | No | Object name; looked up when omitted. | |
| objectType | No | ADT object type, e.g. CLAS/OC; looked up when omitted. | |
| oldPackage | No | Current package; looked up when omitted. | |
| ignoreSyntaxErrors | No | Ask the backend to propose the move even with syntax errors (default false). |