adt_write_textelements
Replace the entire text pool of an ABAP program for a specific language, including transport handling and activation. Provide program name and text entries with category and key.
Instructions
Write/replace the text elements (text pool) of an ABAP program. Orchestrates: transport resolution -> lock -> PUT text pool -> unlock (always) -> activate the text-pool sub-object (textelements URI, NOT the program URI — the latter does NOT reach the text pool). The provided entries fully replace the text pool for the (program, language). Blocked in read-only mode; program name must match the Z*/Y* prefix whitelist.
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": {
"programName": "<programName>",
"entries": "<entries>"
},
"name": "adt_write_textelements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | Text elements to write (replaces the pool) | |
| activate | No | Activate the text pool after writing (required for the runtime to see the texts). Default true. | |
| language | No | Target SAP language. Defaults to the session language. | |
| transport | No | Existing transport. Omit + non-$TMP program -> asked to create one. | |
| description | No | Transport description when creating one | Text elements changed via ABAP ADT MCP |
| programName | Yes | Program name, e.g. ZMMR001_192637 |