createMessageClass
Create a message class and populate its messages in one call, validating the name and reporting the exact step and class state if processing stops.
Instructions
Create a message class and fill in its messages in one call: validate the name, create the class, write the messages, read them back. No activation is involved. Nothing is rolled back - the answer says which step stopped and in what state the class was left. Outside $TMP a transport request is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new message class, e.g. ZDEV_MCP_MSG. | |
| dryRun | No | Only validate the name and stop. | |
| language | No | Master language of the class. Defaults to the logon language - creating it in EN files every text where nobody will look for it. | |
| messages | No | Messages to write straight away: [{number, text, selfExplanatory}]. Optional - an empty class is valid. | |
| transport | No | Transport request number - the request itself, not a developer task. | |
| description | Yes | Description of the class. | |
| packageName | Yes | Package. $TMP for a local class; anything else needs a transport request. |