> 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/adhoc-inventory-counting.md).

# Adhoc inventory counting

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

This section includes the app transactions that will allow users to start a count In PreBilt for a single item or bin and the relevant physical inventory document will be created in SAP.

The IM and IM Multi-bin app transactions *PB2\_PI\_ADHOC\_IM* and *PB2\_PI\_ADHOC\_IMB* create IM inventory documents and the WM app transaction *PB2\_PI\_ADHOC\_WM* creates WM inventory documents.
{% endhint %}

## PB2\_PI\_ADHOC\_IM

### Selection options

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FC5cKaaLI6VVTZ6dh1Bxh%2Fimage.png?alt=media&amp;token=e3e0d514-6a9c-45b9-83d0-98c5f20ba7f1" alt="" width="235"><figcaption></figcaption></figure>

<table><thead><tr><th width="238">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>STORE_LOC or LGORT* – storage location</p><p>SPEC_STOCK –special stock type</p><p>SPEC_STOCK_NUMBER - special stock number</p><p>STOCK_TYPE or BSTAR – IM physical inventory 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 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**

For the field BATCH or CHARG, if the field class /TCTM/WM\_APP\_SELECT\_OPT is assigned in the AMD then the user will be forced to enter a specific batch number before being able to proceed. If no field class is assigned then all batches (whether in stock or not) for the specified material will be added into the inventory count.
{% endhint %}

### Item list

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FmzDnxJqsbmebJ9xE6Arf%2Fimage.png?alt=media&amp;token=ed880819-183d-4ddf-8559-e1bd6d29b350" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="247">Configuration elements</th><th>Available structures (prefix)</th></tr></thead><tbody><tr><td>LIST_PI_ITEM</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>SAVE – clear PI document.</p></td></tr><tr><td>LIST_PI_ITEM_HEADER</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_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_PI_ITEM_SORT</td><td><p>Primary: /TCTM/ISEG</p><p></p><p>As of release 5.8.0:</p><p>Secondary: /TCTM/IKPF (IKPF), /TCTM/MARD (MARD)</p></td></tr></tbody></table>

### Count entry

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2F81Yp98WIiz3nJAic7RlB%2Fimage.png?alt=media&amp;token=cf3650c9-c823-4d8f-8bd4-03a5ecae3c1a" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>INPUT_COUNT</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>INPUT_COUNT_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT - clear all input fields.</p><p>SAVE – enter count.</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>MODE</td><td>Configure whether the app is used for IM stock or WM stock.</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. </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>LOCK_LEVEL</td><td>Configure app to lock delivery data during processing at either the header level or item level.<br><br>Valid values:<br><br>‘HEADER’ will lock the delivery when selecting directly from the selection screen, or from the ‘List OBD’ screen.<br><br>‘ITEM’ will lock the delivery item when selecting an item from the delivery list, this will enable multiple users to pick the same delivery simultaneously.</td></tr><tr><td>ALLOW_CREATE</td><td>Allow PI document creation.<br><br>If toggle = ON a physical inventory document can be created. Relevant for ad hoc physical inventory counting – IM &#x26; WM.<br><br>If toggle = OFF a physical inventory document cannot be created.  Relevant for Planned physical inventory counting – IM &#x26; WM.  PI documents need to be created in the SAP GUI or via the ad hoc transactions.</td></tr><tr><td>ALLOW_COUNT</td><td>Allow PI document count.<br><br>If toggle = ON a physical inventory document can be counted.<br><br>If toggle = OFF a physical inventory document cannot be counted. </td></tr><tr><td>ALLOW_CANCEL</td><td>Allow PI document cancel.<br><br>If toggle = ON a physical inventory document can be cancelled. Relevant for ad hoc physical inventory counting – IM &#x26; WM where ALLOW_CREATE = ON.<br><br>If toggle = OFF a physical inventory document cannot be cancelled. Relevant for planned physical inventory counting – IM &#x26; WM.</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>SYS_GUIDE_PI_ITEM</td><td>Determines the logic flow of the app.<br><br>If toggle = ON, the same list of physical inventory items would be generated as if the value was toggle = OFF, but the user will not be presented with the list screen. Instead, the top physical inventory item from the list will be automatically selected and passed to the next screen; the ‘Input Count’ screen. The sort of the list, and therefore the way to control which physical inventory item is selected for the user, is determined by the sort order defined in LIST_PI_ITEM_SORT. <br><br>If toggle = OFF, the LIST_PI_ITEM screen is displayed, and the user selects a physical inventory document item to count from the item list.</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>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>

###

## PB2\_PI\_ADHOC\_IMB

### Selection options

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2F0KkJuc4NoQQsVkHUjBlk%2Fimage.png?alt=media&amp;token=aefd1d51-72ea-4dde-a58f-3dab8ee2b171" 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 –special stock type</p><p>SPEC_STOCK_NUMBER - special stock number</p><p>STOCK_TYPE or BSTAR – IM physical inventory 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>SELECT – proceed to next screen.</p></td></tr></tbody></table>

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

For the field BATCH or CHARG, if the field class /TCTM/WM\_APP\_SELECT\_OPT is assigned in the AMD then the user will be forced to enter a specific batch number before being able to proceed. If no field class is assigned then all batches (whether in stock or not) for the specified material will be added into the inventory count.
{% endhint %}

### Bin list

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FDaubDHJCY5LIPsZfHUzy%2Fimage.png?alt=media&amp;token=fe89c63d-9788-4c3c-8bd4-2ded8dc82776" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>LIST_IMB_BIN</td><td>Primary: /TCTM/IMB_LAGP (LAGP)<br>Secondary: /TCTM/IKPF (IKPF)</td></tr><tr><td>LIST_IMB_BIN_ACTIONS</td><td>BACK - back to previous screen.</td></tr><tr><td>LIST_IMB_BIN_HEADER</td><td>Primary: /TCTM/IMB_LAGP (LAGP)<br>Secondary: /TCTM/IKPF (IKPF)</td></tr><tr><td>LIST_IMB_BIN_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_IMB_BIN_SORT</td><td>Primary: /TCTM/IMB_LAGP</td></tr></tbody></table>

### Item list

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2F9446JfIro9GUUxRvsbaH%2Fimage.png?alt=media&amp;token=c5066478-fa2d-430d-bd15-93233dcb672f" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="250">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>LIST_IMB_ITEM</td><td>Primary: /TCTM/IMB_LAGP (LAGP)<br>Secondary: /TCTM/ISEG (ISEG), /TCTM/IKPF (IKPF), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD)</td></tr><tr><td>LIST_IMB_ITEM_ACTIONS</td><td>BACK - back to previous screen.</td></tr><tr><td>LIST_IMB_ITEM_HEADER</td><td>Primary: /TCTM/IMB_LAGP (LAGP)<br>Secondary: /TCTM/ISEG (ISEG), /TCTM/IKPF (IKPF), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD)</td></tr><tr><td>LIST_IMB_ITEM_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_IMB_ITEM_SORT</td><td>Primary: /TCTM/ISEG</td></tr></tbody></table>

### Count entry

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FIOOdtkDSKRXxmoh9kByp%2Fimage.png?alt=media&amp;token=e384e0df-9e57-42d9-94bd-74f0a14ce387" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>INPUT_COUNT</td><td>Primary: /TCTM/ISEG (ISEG)<br>Secondary: /TCTM/IKPF (IKPF), /TCTM/IMB_LAGP (LAGP), /TCTM/IMB_LQUA (LQUA), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD)</td></tr><tr><td>INPUT_COUNT_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT - clear all input fields.</p><p>SAVE – enter count.</p></td></tr></tbody></table>

### General configuration elements

<table><thead><tr><th width="242">Configuration element</th><th width="502">Details</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 whether the app is used for IM stock or WM stock.</td></tr><tr><td>PI_EVENT_TYPES</td><td>Physical inventory event type list.</td></tr><tr><td>IM_BIN_COUNT</td><td>To enable a count of the number of bins to be included on the PI List.<br><br>Toggle must be set to ON.</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. </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>LOCK_LEVEL</td><td>Configure app to lock delivery data during processing at either the header level or item level.<br><br>Valid values:<br><br>‘HEADER’ will lock the delivery when selecting directly from the selection screen, or from the ‘List OBD’ screen.<br><br>‘ITEM’ will lock the delivery item when selecting an item from the delivery list, this will enable multiple users to pick the same delivery simultaneously.</td></tr><tr><td>ALLOW_CREATE</td><td>Allow PI document creation.<br><br>If toggle = ON a physical inventory document can be created. Relevant for ad hoc physical inventory counting – IM &#x26; WM.<br><br>If toggle = OFF a physical inventory document cannot be created.  Relevant for Planned physical inventory counting – IM &#x26; WM.  PI documents need to be created in the SAP GUI or via the ad hoc transactions.</td></tr><tr><td>ALLOW_COUNT</td><td>Allow PI document count.<br><br>If toggle = ON a physical inventory document can be counted.<br><br>If toggle = OFF a physical inventory document cannot be counted. </td></tr><tr><td>ALLOW_CANCEL</td><td>Allow PI document cancel.<br><br>If toggle = ON a physical inventory document can be cancelled. Relevant for ad hoc physical inventory counting – IM &#x26; WM where ALLOW_CREATE = ON.<br><br>If toggle = OFF a physical inventory document cannot be cancelled. Relevant for planned physical inventory counting – IM &#x26; WM.</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>SYS_GUIDE_IMB_BIN</td><td>If set to blank, the user selects an item from the Bin List. The next screen is the Item List (for IMB) if the bin has multiple items, or the count screen if it only has one. After counting, even if items remain, the user returns to the Bin List to select the next (or same) bin.<br><br>If set to A, the same list is generated, but the top document (based on LIST_IMB_BIN_SORT) is auto-selected and passed to the next screen. The list is skipped.<br><br>If set to B, all bins are auto-selected and passed to the next screen. The list is skipped, and sort order doesn’t apply.<br><br>If set to C, the user selects a bin as with blank. If it has multiple items, the system cycles through each one until the bin is fully counted, then returns to the list.</td></tr><tr><td>SYS_GUIDE_IMB_ITEM</td><td>Determines the logic flow of the app.<br><br>If toggle = ON, the same list of physical inventory items in the bin would be generated as if the value was toggle = OFF, but the user will not be presented with the list screen. Instead, the top physical inventory item from the list will be automatically selected and passed to the next screen; the ‘Input Count’ screen. The sorting of the list, and therefore the way to control which physical inventory item is selected for the user, is determined by the sort order defined in LIST_IMB_ITEM_SORT. <br><br>If toggle = OFF,  the LIST_IMB_ITEM screen is displayed, and the user selects an item to count from the item list.</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>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>

## PB2\_PI\_ADHOC\_WM

### Selection options

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2F7RE8DWWb0JZadIsNmjv2%2Fimage.png?alt=media&amp;token=8f3992c4-fb24-4e33-ab9e-eeb25f1f02b0" 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>ST_TYPE or LGTYP* – WM storage type</p><p>ST_BIN or LGPLA* – WM storage bin</p><p></p><p>*technical field names as of release 5.8.0.</p><p></p><p>As of release 5.8.0:</p><p>REFERENCE or IRNUM – optional reference number assigned to the inventory document</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>

### Quant list

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FZttYI6jrTfocwIT2vj7x%2Fimage.png?alt=media&amp;token=3f95e9ed-4bb3-446c-95da-467104e0a6c3" alt="" width="278"><figcaption></figcaption></figure>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>LIST_QUANT</td><td>Primary: /TCTM/LINV_VB (LINV)<br>Secondary: /TCTM/LINK (LINK), /TCTM/LINP_VB (LINP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>LIST_QUANT_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>INPUT_NEW_ITEM – add new item into count (action class /TCTM/WM_APP_511_ACTIONS).</p><p>SAVE – clear count in WM.</p></td></tr><tr><td>LIST_QUANT_HEADER</td><td>Primary: /TCTM/LINV_VB (LINV)<br>Secondary: /TCTM/LINK (LINK), /TCTM/LINP_VB (LINP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>LIST_QUANT_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_QUANT_SORT</td><td>Primary: /TCTM/LINV_VB</td></tr></tbody></table>

### Count entry

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FDMg9PIBuD3JLV3NFCG9m%2Fimage.png?alt=media&amp;token=8b59d01e-cf6c-4ae3-a636-ae85bde81b3f" alt="" width="278"><figcaption></figcaption></figure>

<table><thead><tr><th width="246">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>INPUT_COUNT</td><td>Primary: /TCTM/LINV_VB (LINV)<br>Secondary: /TCTM/LINK (LINK), /TCTM/LINP_VB (LINP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>INPUT_COUNT_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT - clear all input fields.</p><p>INPUT_NEW_ITEM – add new item into count (action class /TCTM/WM_APP_511_ACTIONS).</p><p>SAVE – enter count.</p></td></tr></tbody></table>

### New item input

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2F06c19WudRgBRCKv2DMu8%2Fimage.png?alt=media&amp;token=3d434a5a-3402-46aa-a529-27efc75ead1b" alt="" width="282"><figcaption></figcaption></figure>

<table><thead><tr><th width="246">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>INPUT_NEW_ITEM</td><td>Primary: /TCTM/LINK LINK)<br>Secondary: /TCTM/LINP_VB (LINP)</td></tr><tr><td>INPUT_NEW_ITEM_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT - clear all input fields.</p><p>SAVE – enter new item.</p></td></tr></tbody></table>

### New quant input

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2Fc0IURfwSNWh8fDSrL0oY%2Fimage.png?alt=media&amp;token=4345250f-2866-4669-851b-f3a2f2f7d41e" alt="" width="277"><figcaption></figcaption></figure>

<table><thead><tr><th width="265">Configuration element</th><th width="502">Available structures (prefix)</th></tr></thead><tbody><tr><td>INPUT_NEW_QUANT</td><td>Primary: /TCTM/LINK (LINK)<br>Secondary: /TCTM/LINP_VB (LINP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MLGN (MLGN)</td></tr><tr><td>INPUT_NEW_QUANT_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT - clear all input fields.</p><p>SAVE – enter count.</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>MODE</td><td>Configure whether the app is used for IM stock or WM stock.</td></tr><tr><td>PI_METHOD_LIST</td><td>Allows the PI method to be maintained.<br><br>When working with the planned process (where ALLOW_COUNT = ON), the values maintained are checked against the PI method maintained against the storage type on the PI document.<br><br>When working with the Ad Hoc process (where ALLOW_CREATE = ON), the PI method of the relevant storage type, maintained in SAP table T331, is checked with the values maintained in this list to determine whether a physical inventory document can be created.</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>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. </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>LOCK_LEVEL</td><td>Configure app to lock delivery data during processing at either the header level or item level.<br><br>Valid values:<br><br>‘HEADER’ will lock the delivery when selecting directly from the selection screen, or from the ‘List OBD’ screen.<br><br>‘ITEM’ will lock the delivery item when selecting an item from the delivery list, this will enable multiple users to pick the same delivery simultaneously.</td></tr><tr><td>ALLOW_CREATE</td><td>Allow PI document creation.<br><br>If toggle = ON a physical inventory document can be created. Relevant for ad hoc physical inventory counting – IM &#x26; WM.<br><br>If toggle = OFF a physical inventory document cannot be created.  Relevant for Planned physical inventory counting – IM &#x26; WM.  PI documents need to be created in the SAP GUI or via the ad hoc transactions.</td></tr><tr><td>ALLOW_COUNT</td><td>Allow PI document count.<br><br>If toggle = ON a physical inventory document can be counted.<br><br>If toggle = OFF a physical inventory document cannot be counted. </td></tr><tr><td>ALLOW_CANCEL</td><td>Allow PI document cancel.<br><br>If toggle = ON a physical inventory document can be cancelled. Relevant for ad hoc physical inventory counting – IM &#x26; WM where ALLOW_CREATE = ON.<br><br>If toggle = OFF a physical inventory document cannot be cancelled. Relevant for planned physical inventory counting – IM &#x26; WM.</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>SYS_GUIDE_QUANT</td><td>Determines the logic flow of the app.<br><br>If toggle = ON, the same list of physical inventory quants in the storage bin would be generated as if the value was toggle = OFF, but the user will not be presented with the list screen. Instead, the top quant from the list will be automatically selected and passed to the next screen; the ‘Input Count’ screen. The sort of the list, and therefore the way to control which quant is selected for the user, is determined by the sort order defined in LIST_QUANT_SORT.<br><br>If toggle = OFF, the LIST_PI_QUANT screen is displayed, and the user selects a quant to count from the list.</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>ST_TYPE_FILTER</td><td>Enables filtering of storage types assigned to the warehouse, 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>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>
