> 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/physical-inventory/configuration/multi-item-adhoc-inventory-counting.md).

# Multi-item adhoc inventory counting

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

This section is for the IM app transactions that will allow users to start processing multiple counted items into a basket for subsequent posing into SAP which will, at that point, simultaneously create the relevant physical inventory documents and update count results.

The IM multi-item app transactions *PB2\_PI\_ADHOC\_IM\_MI* is delivered as standard.
{% endhint %}

## PB2\_PI\_ADHOC\_IM\_MI

### Selection options

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FDvucRG9dx2C3556LqlrR%2Fimage.png?alt=media&amp;token=c00fed8c-d607-4ce9-9b34-b0d2d896703e" alt="" width="280"><figcaption></figcaption></figure>

<table><thead><tr><th width="228">Configuration elements</th><th>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>STGE_LOC or STORE_LOC* or LGORT* – storage location</p><p>SPEC_STOCK –special stock type</p><p>SPEC_STOCK_NUMBER - special stock number</p><p>ST_STATUS or BESTQ* – stock category</p><p></p><p>*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 from saved variants.</p><p>VAR_SAVE – save the selection entries as a variant.</p><p>VIEW_BASKET – view basket.</p><p>CONTINUE – proceed to next screen.</p></td></tr></tbody></table>

### Item count

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FfsTLiWBLgF0EB5Q2PqlR%2Fimage.png?alt=media&amp;token=e73509d1-195c-4a0d-9ce8-6bc9b299915d" alt="" width="280"><figcaption></figcaption></figure>

<table><thead><tr><th width="243">Configuration elements</th><th>Available structures (prefix)</th></tr></thead><tbody><tr><td>INPUT_COUNT</td><td><p>Primary: /TCTM/ISEG (ISEG)</p><p>Secondary: /TCTM/IKPF (IKPF), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD)</p></td></tr><tr><td>LIST_PI_ITEM_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT - clear all input fields.</p><p>VIEW_BASKET – view basket.</p><p>ADD_TO_BASKET – enter count.</p></td></tr></tbody></table>

### List basket and list basket items

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FByh3ZtPv3rq0iZ6uXswy%2Fimage.png?alt=media&amp;token=f14e39a3-2796-4036-8fe4-65ad4be16d56" alt="" width="282"><figcaption></figcaption></figure>

<table><thead><tr><th width="282">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>LIST_BASKET</td><td>Primary: /TCTM/IKPF (IKPF)<br>Secondary: None</td></tr><tr><td>LIST_BASKET_ACTIONS</td><td><p>EXIT - return to selection.</p><p>EMPTY_BASKET - clear the basket.</p><p>SAVE - process the basket for posting.</p><p>ADD_NEW_ITEM - return to lists for next item.</p><p>DELETE - remove the basket item from basket.</p></td></tr><tr><td>LIST_BASKET_HEADER</td><td>Primary: /TCTM/IKPF (IKPF)<br>Secondary: None</td></tr><tr><td>LIST_BASKET_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_BASKET_SORT</td><td>Primary: /TCTM/IKPF</td></tr><tr><td>LIST_BASKET_ITEM</td><td>Primary: /TCTM/ISEG (ISEG)<br>Secondary: /TCTM/IKPF (IKPF), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD)</td></tr><tr><td>LIST_BASKET_ITEM_ACTIONS</td><td><p>EXIT - returns to selection.</p><p>BACK – return to previous screen.</p><p>DELETE - remove the basket item from basket.</p></td></tr><tr><td>LIST_BASKET_ITEM_HEADER</td><td>Primary: /TCTM/ISEG (ISEG)<br>Secondary: /TCTM/IKPF (IKPF), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD)</td></tr><tr><td>LIST_BASKET_ITEM_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_BASKET_ITEM_SORT</td><td>Primary: /TCTM/ISEG</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>MODE</td><td>Configure should be for IM stock.</td></tr><tr><td>ADHOC_MULTI</td><td>Activate toggle to activate this multi-item feature.</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>SERIAL_OVERRIDE</td><td>Serialisation Overrides. For more information, go <a href="/prebilt-for-im-wm-strm/applications/serial-numbers.md">here</a>.</td></tr><tr><td>SH_PARAMS_1</td><td>Search Help Parameter Map.</td></tr><tr><td>CALL_TRANSACTION</td><td>Defines transactions that can be called from this app automatically. Add a call to a serial number app transaction if you want to jump to serial number input after the quantity has been entered.</td></tr><tr><td>SUPPRESS_SUCCESS</td><td>Allows success messages to be suppressed.<br> <br>If toggle = ON, success messages are suppressed.<br> <br>If toggle = OFF, success messages are not suppressed.</td></tr><tr><td>CONFIRM_COUNT</td><td>Configure whether there is a pop-up message to confirm the count.<br><br>X - Always<br>D – Differences only<br>Blank – Never</td></tr><tr><td>PROMPT_ADD</td><td><p>Determines whether extra count quantity can be added to an item already in the basket.<br><br>If toggle = ON, then you will be prompted to check whether they want to add the entered count quantity to the existing item in the basket.</p><p><br>If toggle = OFF, then you will not be able to add the entered count quantity to the existing item in the basket.</p></td></tr><tr><td>REPLACE_ADD</td><td><p>Determines whether the entered count quantity can completely replace an item already in the basket.<br><br>If toggle = ON, then you will be prompted to check whether they want to replace the existing entry in the basket with this entered count quantity.</p><p><br>If toggle = OFF, then you will not be able to replace the existing item in the basket with the entered item.</p></td></tr><tr><td>SUMMARISE_BASKET_ITEM</td><td><p>Configuration option to allow different ways of updating the basket, where the item has previously been processed and the item details are the same:</p><p></p><p>If set to blank, you will receive an error message if item is already in the basket. You need to remove the existing item before the new one can be added.</p><p></p><p>If set to A, then the quantity in the basket for the matching item will be increased by the quantity entered.</p><p></p><p>If set to B, then a new basket entry will be created, resulting in multiple basket entries for the item.</p></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>UOM_FILTER</td><td>Enables filtering of unit of measure, allowing the user to include or exclude specific values in the list view.</td></tr><tr><td>STATUS_FILTER</td><td>Allows filtering of stock type in IM or stock category in WM.</td></tr><tr><td>SPEC_STOCK_LIST</td><td>Allows creation of a custom list of allowed special stock types that can be displayed in a dropdown.</td></tr><tr><td>ST_STATUS_LIST</td><td>Allows creation of a custom list of allowed stock categories / types that can be displayed in a dropdown. e.g., unrestricted, blocked, quality, returns.</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>
