> 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/im-configuration.md).

# IM configuration

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

This covers both the selection by material details and bin details for app transactions *PB2\_STK\_ENQ\_MAT\_IM* and *PB2\_STK\_ENQ\_BIN\_IM*.

Stock information is extracted from the relevant IM SAP tables and app uses the PreBilt structure /TCTM/MB52 as the primary data source.
{% endhint %}

## Selection options

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FZnuqiB4LHHFsApJmx9WA%2Fimage.png?alt=media&amp;token=1e1f0c87-1528-4b71-bf25-ccf2372980a4" 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>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>LGPBE or ST_BIN_FIX* - fixed bin from material master</p><p>ST_STATUS or BESTQ* – stock category<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**

WM fields such as ST\_TYPE, ST\_BIN and EXIDV will be actively ignored.
{% 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_IM</td><td>Primary: /TCTM/MB52 (MB52)<br>Secondary: MAKT (MAKT), MARA (MARA), MARC (MARC), MARD (MARD)</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/MB52 (MB52)<br>Secondary: MAKT (MAKT), MARA (MARA), MARC (MARC), MARD (MARD)</td></tr><tr><td>LIST_QUANT_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_QUANT_SORT_IM</td><td>Primary: /TCTM/MB52 (MB52)</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_IM</td><td>Primary: /TCTM/MB52 (MB52)<br>Secondary: MAKT (MAKT), MARA (MARA), MARC (MARC), MARD (MARD), MLGN (MLGN)</td></tr><tr><td>INPUT_QT_ACTIONS_IM</td><td>BACK - back to previous screen.<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.</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>
