> For the complete documentation index, see [llms.txt](https://docs.theconfigteam.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theconfigteam.com/prebilt-for-pm/configuration-guide/custom-messages.md).

# Custom messages

{% embed url="<https://www.youtube.com/watch?index=4&list=PL74nuGSklShmOsKDpgus4wrEML55aCSkW&v=TssjqI0Brkc>" %}

Custom messages can be set up to replace standard SAP messages, making them more understandable and relevant for end users.

## Transaction specific messages in PreBilt

The custom message can be set to replace the standard message at transaction code level, or at a lower level of warehouse or method within the app.

<figure><img src="https://content.gitbook.com/content/qBP5jPBMU6aAm13aXMtE/blobs/MMZs4rYCpmjEtwL3uy8a/image.png" alt=""><figcaption></figcaption></figure>

A custom message entry consists of multiple columns for each entry maintained:

* **Transaction Code:** maintain the relevant TCTM WM/IM transaction code for the custom message.
* **Method:** Used to attach the custom message to a specific process within the transaction.
* **WhN:** Enter a warehouse number to make the custom message display only in the specified warehouse.
* **Message class:** Specify the class within the transaction code that the custom message will be used for.
* **Msg:** Select the message number to be replaced with the custom message.
* **Message class:** Used to point the specified ‘Message class’ and ‘Msg’ towards a different ‘Message class’ and ‘Msg’. If this is used the custom ‘Message text’ will be ignored.
* **Msg:** Select the message number that will be used for the ‘Message class’.
* **Message text:** Message to be displayed. The custom message can have a maximum length of 70 characters.

## PreBilt IM/WM/StRM Base Framework messages

Base framework messages are not tied to specific transactions and can be modified directly in transaction *SE91* if a different message is needed. The following messages are included in the base framework under message class `/TCTM/WM_BASE`:

<table data-header-hidden><thead><tr><th width="148" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"><strong>Message</strong></td><td valign="top"><strong>Message Short Text</strong></td></tr><tr><td valign="top">000</td><td valign="top">&#x26;1 &#x26;2 &#x26;3 &#x26;4</td></tr><tr><td valign="top">001</td><td valign="top">No valid selection made.</td></tr><tr><td valign="top">002</td><td valign="top">Invalid data length.</td></tr><tr><td valign="top">003</td><td valign="top">Configuration value for &#x26;1 is invalid.</td></tr><tr><td valign="top">004</td><td valign="top">No enhancements found</td></tr><tr><td valign="top">005</td><td valign="top">Invalid Selection.  Entry required in one of the following field(s):</td></tr><tr><td valign="top">006</td><td valign="top">Plant &#x26;1 is not assigned to warehouse &#x26;2</td></tr><tr><td valign="top">007</td><td valign="top">No available plant(s) found for criteria "&#x26;1"</td></tr><tr><td valign="top">008</td><td valign="top">Select Plant</td></tr><tr><td valign="top">009</td><td valign="top">Storage location &#x26;1 in plant &#x26;2 is not assigned to warehouse &#x26;3</td></tr><tr><td valign="top">010</td><td valign="top">Storage Type &#x26; is not allowed</td></tr><tr><td valign="top">011</td><td valign="top">No available storage types(s) found for criteria "&#x26;1"</td></tr><tr><td valign="top">012</td><td valign="top">Select Storage Type</td></tr><tr><td valign="top">013</td><td valign="top">Select Vendor</td></tr><tr><td valign="top">014</td><td valign="top">No Special Stock Indicator</td></tr><tr><td valign="top">015</td><td valign="top">Storage location &#x26; is not allowed</td></tr><tr><td valign="top">016</td><td valign="top">No storage locations(s) found for criteria "&#x26;1"</td></tr><tr><td valign="top">017</td><td valign="top">Select Storage Location</td></tr><tr><td valign="top">018</td><td valign="top">Select Material</td></tr><tr><td valign="top">019</td><td valign="top">Invalid value &#x26;1</td></tr><tr><td valign="top">020</td><td valign="top">Transaction &#x26;1 is not valid</td></tr><tr><td valign="top">021</td><td valign="top">Transaction &#x26;1 configuration is not valid</td></tr><tr><td valign="top">022</td><td valign="top">Failed to save variant</td></tr><tr><td valign="top">023</td><td valign="top">Failed to delete variant</td></tr><tr><td valign="top">024</td><td valign="top">Failed to set default variant</td></tr><tr><td valign="top">025</td><td valign="top">Material &#x26;1 is not batch managed. Do not specify a batch.</td></tr><tr><td valign="top">026</td><td valign="top">Material &#x26;1 is batch managed. Specify a batch.</td></tr><tr><td valign="top">050</td><td valign="top">No active LRFMD profile for user &#x26;1</td></tr><tr><td valign="top">051</td><td valign="top">No LRFMD profile for user &#x26;1, warehouse &#x26;2</td></tr><tr><td valign="top">200</td><td valign="top">Barcode decoding - Start</td></tr><tr><td valign="top">201</td><td valign="top">Barcode data: &#x26;1</td></tr><tr><td valign="top">202</td><td valign="top">Failed to determine Det. Proc. for warehouse &#x26;1</td></tr><tr><td valign="top">203</td><td valign="top">Det. Proc. &#x26;1 found for warehouse &#x26;2</td></tr><tr><td valign="top">204</td><td valign="top">Failed to determine Sequence for Det. Proc. &#x26;1</td></tr><tr><td valign="top">205</td><td valign="top">Processing AI Type &#x26;1</td></tr><tr><td valign="top">206</td><td valign="top">Failed to decode the barcode.  Returning original string</td></tr><tr><td valign="top">207</td><td valign="top">Barcode successfully decoded</td></tr><tr><td valign="top">208</td><td valign="top">Barcode decoding - End</td></tr><tr><td valign="top">209</td><td valign="top">Application Data Not Found</td></tr><tr><td valign="top">210</td><td valign="top">Invalid bar code.  Length = 0</td></tr><tr><td valign="top">211</td><td valign="top">Invalid bar code.  Prefix &#x26;1 vs required &#x26;2</td></tr><tr><td valign="top">212</td><td valign="top">Invalid bar code.  Length &#x26;1 vs required &#x26;2</td></tr><tr><td valign="top">213</td><td valign="top">Failed to read fixed definition</td></tr></tbody></table>

## PreBilt IM/WM/StRM license related message class

License related messages are not tied to specific transactions and can be modified directly in transaction *SE91* if a different message is needed. The following messages are included in message class `/TCTM/WM_LICENSE`:

<table data-header-hidden><thead><tr><th width="145" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"><strong>Message</strong></td><td valign="top"><strong>Message Short Text</strong></td></tr><tr><td valign="top">000</td><td valign="top">&#x26;1 &#x26;2 &#x26;3 &#x26;4</td></tr><tr><td valign="top">110</td><td valign="top">No license is installed. Please contact your administrator</td></tr><tr><td valign="top">111</td><td valign="top">License PSE could not be created - license could not be read</td></tr><tr><td valign="top">112</td><td valign="top">Could not verify license file stored in the database. Check SM21 log</td></tr><tr><td valign="top">113</td><td valign="top">Installation &#x26;1 of license does not fit system installation number &#x26;2</td></tr><tr><td valign="top">114</td><td valign="top">Unknown license type &#x26;1</td></tr><tr><td valign="top">115</td><td valign="top">Number of licenses "&#x26;1" is not valid</td></tr><tr><td valign="top">116</td><td valign="top">License issue date "&#x26;1" is not a valid date format</td></tr><tr><td valign="top">117</td><td valign="top">PreBilt WM License is no longer valid. Please contact your administrator</td></tr><tr><td valign="top">118</td><td valign="top">License validity date "&#x26;1" is not a valid date format</td></tr><tr><td valign="top">119</td><td valign="top">All &#x26;1 licenses are in use. Please contact your administrator</td></tr><tr><td valign="top">120</td><td valign="top">New license activation could not be persisted. Please try again</td></tr><tr><td valign="top">121</td><td valign="top">License is per device but no device ID was provided</td></tr><tr><td valign="top">122</td><td valign="top">Could not decrypt/verify license file</td></tr><tr><td valign="top">123</td><td valign="top">PreBilt WM License is no longer valid</td></tr><tr><td valign="top">124</td><td valign="top">No license is installed</td></tr><tr><td valign="top">125</td><td valign="top">Please select a license file</td></tr><tr><td valign="top">126</td><td valign="top">No License found for package &#x26;1</td></tr></tbody></table>
