UpdateTextElements
Updates text elements—symbols, selection texts, and headings—of existing ABAP programs, function groups, or classes, replacing stored values and optionally activating the object.
Instructions
Updates the text elements of an existing ABAP program (PROG), function group (FUGR) or class (CLAS), each part given replacing its stored one, activating the object when asked.
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": {
"object_kind": "<object_kind>",
"object_name": "<object_name>",
"activate": "<activate>"
},
"name": "UpdateTextElements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent. | terse |
| symbols | No | The text symbols: the whole list; symbols left out are deleted. | |
| activate | Yes | true activates the object together with its text elements after the write; false leaves them inactive. | |
| headings | No | The list header and four column headers (programs and function groups); a heading given empty or left out is deleted. | |
| selections | No | The selection texts (programs and function groups): the whole list; texts left out are deleted. | |
| object_kind | Yes | Kind of object: program, function_group, class. | |
| object_name | Yes | Name of the program, function group or class. | |
| transport_request | No | Transport request number, not a task. Optional if the object is local or already in a transport request. |