setObjectSource
Replace the entire source of an ABAP object. Use for small objects or complete rewrites; for targeted changes on large objects, use editObjectSource.
Instructions
Overwrites the FULL source of an object (requires the entire new source + lockHandle). For targeted changes on large objects prefer editObjectSource.
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": {
"objectSourceUrl": "<objectSourceUrl>",
"source": "<source>",
"lockHandle": "<lockHandle>"
},
"name": "setObjectSource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| transport | No | ||
| connection | No | Optional: SAP connection name to use for THIS call only (overrides the active connection; see listConnections). Immune to server restarts and concurrent switches. | |
| lockHandle | Yes | ||
| objectSourceUrl | Yes |