> 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-im-wm-strm/applications/stock-enquiry/configuration/wm-configuration.md).

# WM configuration

{% hint style="info" %}
**Note**

This covers both the selection by material details, bin details or HU/SU number for app transactions *PB2\_STK\_ENQ\_MAT\_WM, PB2\_STK\_ENQ\_BIN\_WM* and *PB2\_STK\_ENQ\_SU\_WM* as well as a combined WM and IM app *PB2\_STK\_ENQ\_MAT\_IMWM.*

The PreBilt app transactions primarily use the /TCTM/LQUA structure to display the WM stock details.

For the combined IM and WM app transaction see the [IM Configuration](/prebilt-for-im-wm-strm/applications/stock-enquiry/configuration/im-configuration.md) for the IM relevant details.
{% endhint %}

## Selection options

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2F5v8fjumC7e19MrufaIxZ%2Fimage.png?alt=media&amp;token=79f1bf77-a142-412f-9a0d-1367749f0cea" alt="" width="280"><figcaption></figcaption></figure>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures/fields</th></tr></thead><tbody><tr><td>SELECT_OPTS</td><td><p>MATERIAL or MATNR* – SAP material number</p><p>BATCH or CHARG* – SAP batch number</p><p>PLANT or WERKS* – plant</p><p>STORE_LOC or LGORT* – storage location</p><p>SPEC_STOCK or SP_STOCK – special stock type</p><p>SPEC_STOCK_NUMBER or SP_STOCK_NO* - special stock number</p><p>ST_TYPE or LGTYP* - WM storage type</p><p>ST_BIN or LGPLA* - WM bin number</p><p>ST_STATUS or BESTQ* – stock category</p><p>EXIDV - SU/HU number<br><br>*technical field names available as of release 5.8.0.</p></td></tr><tr><td>SELECT_OPTS_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT -clear all input fields.</p><p>VAR_CHOOSE – select saved variants.</p><p>VAR_SAVE – save the selection entries as a variant.</p><p>SELECT – proceed to next screen.</p></td></tr></tbody></table>

{% hint style="info" %}
**Note**
{% endhint %}

{% hint style="info" %}
**Note**

From release 5.8.0 onwards, if required, the bin field (BIN\_ST or LGPLA) in the selection screen can be set to expect the bin verification code (LGAP-VERIF) to be entered, from which it will select the bins, rather than actual bin number. This is activated by assigning field class /TCTM/WM\_APP\_SELECT\_OPT to the field.
{% endhint %}

## Quant list

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2Fn6q4EMi518jYqGubbTEH%2Fimage.png?alt=media&amp;token=41a874b0-f013-4b0a-b847-a9bb723d0f49" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures/fields</th></tr></thead><tbody><tr><td>LIST_QUANT_WM</td><td>Primary: /TCTM/LQUA (LQUA)<br>Secondary: /TCTM/LAGP (LAGP), MAKT (MAKT), MARA (MARA), MARC (MARC), MARD (MARD), VEKP (VEKP), LEIN (LEIN)<br>As of release 5.9.0: MLGN (MLGN)</td></tr><tr><td>LIST_QUANT_ACTIONS</td><td>BACK - back to previous screen. </td></tr><tr><td>LIST_QUANT_HEADER</td><td>Primary: /TCTM/LQUA (LQUA)<br>Secondary: /TCTM/LAGP (LAGP), MAKT (MAKT), MARA (MARA), MARC (MARC), MARD (MARD), VEKP (VEKP), LEIN (LEIN)<br>As of release 5.9.0: MLGN (MLGN)</td></tr><tr><td>LIST_QUANT_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_QUANT_SORT_WM</td><td>Primary: /TCTM/LQUA (LQUA)</td></tr></tbody></table>

## Quant detail input

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FVafxBs2rlhHZayPUfclE%2Fimage.png?alt=media&amp;token=047bfc8e-2638-460c-9761-a6c2faf9f334" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures</th></tr></thead><tbody><tr><td>INPUT_QT_DETAIL_WM</td><td>Primary: /TCTM/LQUA (LQUA)<br>Secondary: /TCTM/LAGP (LAGP), MAKT (MAKT), MARA (MARA), MARC (MARC), MARD (MARD), MLGN (MLGN)</td></tr><tr><td>INPUT_QT_ACTIONS_WM</td><td><p>BACK - back to previous screen.</p><p>MOVE_QUANT - jump to a quant-based bin to bin stock movement (i.e. no SU/HU move) (e.g. with app transaction <em>PB2_STK_MVTS_CRT_QUJ</em> and action class /TCTM/WM_APP_510_ACTIONS).</p><p>MOVE_SU - jump to an SU-based bin to bin stock movement (e.g. with app transaction <em>PB2_STK_MVTS_CRTSU2</em> and action class /TCTM/WM_APP_510_ACTIONS).<br><br>Actions to jump to General Posting can be added together with action class /TCTM/WM_APP_513_ACTIONS. The actions should be in the format GP_xxxx_yyy where GP is fixed for General Posting, xxxx is the appropriate configuration set and yyy is the (optional) movement type to be used. The jump app transaction needs to be included in this AMD section as well.</p></td></tr></tbody></table>

## General configuration elements

<table><thead><tr><th width="242">Configuration element</th><th width="502">Description</th></tr></thead><tbody><tr><td>FE_APP</td><td>Frontend class to use in running the transaction.<br><br>Reference to the platform specific frontend application that should be used to run the transaction. Included in the App Master Data file supplied for setting up the initial transactions.</td></tr><tr><td>MATERIAL_SEARCH_SEQ</td><td>Defines the search sequence for materials and the relevant conversion exits.<br><br>Valid Values:<br>M – Material<br>D – Description<br>E – EAN code (the EAN code for any unit of measure in the material master)<br>B – Storage Bin (Plant/Data Stor 1 view of material master)</td></tr><tr><td>ALLOW_NEG_STK_DISP</td><td>Allow display of negative stock.<br><br>If toggle = ON, negative stock values are displayed in the quant list screen when a stock enquiry is performed.<br><br>If toggle = OFF, negative quantities are not displayed, only zero quantities or greater.</td></tr><tr><td>ALLOW_IMB_STK_DISP</td><td>Allow display of IM multi-bin stock.<br><br>If toggle = ON, the IM multi-bin is displayed on the IM quant list screen and the IM quant details screen.<br><br>If toggle = OFF, the IM multi-bin is not displayed.</td></tr><tr><td>UOM_CONVERSION</td><td>You can identify and setup the quantity and the UOM fields that should be converted to the alternative UOM. </td></tr><tr><td>UOM_SEQ</td><td>You can create an app transaction specific sequence of UOM types that is different from the global default. </td></tr><tr><td>PLANT_FILTER</td><td>Enables filtering of plants assigned to the warehouse, allowing you to include or exclude specific values in the list view.</td></tr><tr><td>SLOC_FILTER</td><td>This is a possible filter element that can be used, as required, to allow filtering of the storage locations (if these need to be restricted to a subset of locations that are allocated to the PreBilt warehouse). It has been created as an example and can be used or changed as required.<br><br>It must be used in conjunction with a suitable field class assigned to the field.</td></tr><tr><td>APP_TEXTS</td><td>Defines standard app text to be used in screen headers, buttons etc.</td></tr><tr><td>TRANS_INFO</td><td>Information about the transaction.</td></tr></tbody></table>
