patch_text_elements
Adds or updates TEXT symbols in an existing ABAP program, class, or function group by merging specified IDs into current elements while leaving unmentioned symbols unchanged.
Instructions
Add or update TEXT SYMBOLS (TEXT-xxx) for an existing ABAP program, class, or function group. This is a SEPARATE ADT object from the source code - update_program_source/update_class etc. cannot touch it. Reads the current text symbols, merges in the given ones (matched by 3-character id, case-insensitive; an existing id is overwritten, a new one is added), then writes the merged result back. Existing symbols not mentioned are left untouched. No activation needed - text elements take effect immediately once saved. Refuses to run on production profiles.
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": {
"objectName": "<objectName>",
"symbols": "<symbols>"
},
"name": "patch_text_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | Text symbols to add or update | |
| transport | No | Transport request, e.g. D01K900123. Omit only for local/$TMP objects. | |
| objectName | Yes | Program, class, or function group name, e.g. ZRM_STOCK_MOVEMENT_HK | |
| objectType | No | Object kind. Default PROG (report/include). | PROG |