patch_selection_texts
Add or update labels for PARAMETERS and SELECT-OPTIONS on an ABAP selection screen by merging new selection texts with existing entries.
Instructions
Add or update SELECTION TEXTS (the labels shown next to PARAMETERS / SELECT-OPTIONS on the selection screen) for an existing ABAP program or function group. This is a SEPARATE ADT sub-resource from text symbols (patch_text_elements) - the two cannot be written in one call. Reads the current selection texts, merges in the given ones (matched by parameter/select-option name, case-insensitive; existing entry is overwritten, new one is added), then writes the merged result back. Existing entries not mentioned are left untouched. No activation needed - selection texts 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>",
"selections": "<selections>"
},
"name": "patch_selection_texts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transport | No | Transport request number, e.g. DEVK900123. Omit for $TMP objects. | |
| objectName | Yes | Program or function group name, e.g. ZRM_STOCK_MOVEMENT_HK | |
| objectType | No | Object kind. Default PROG. | PROG |
| selections | Yes | Selection text entries to add or update |