UpdateInterface
Update an existing ABAP interface by providing its name and complete source code. Optionally specify a transport request and activate the interface.
Instructions
Update source code of an existing ABAP interface. Uses stateful session with proper lock/unlock mechanism. Lock handle and transport number are passed in URL parameters.
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": {
"interface_name": "<interface_name>",
"source_code": "<source_code>"
},
"name": "UpdateInterface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | Activate interface after update. Default: true. | |
| source_code | Yes | Complete ABAP interface source code with INTERFACE...ENDINTERFACE section. | |
| interface_name | Yes | Interface name (e.g., ZIF_MY_INTERFACE). Must exist in the system. | |
| transport_request | No | Transport request number (e.g., E19K905635). Optional if object is local or already in transport. |