> 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/goods-receipt-external/configuration/goods-receipt-for-unpacked-items.md).

# Goods receipt for unpacked items

## PB2\_GR\_EXT

The Goods Receipt app is used to process a number of different documents. The configuration elements used for the different documents all use the same naming standard and use an abbreviation identifying the document being processed:

* INB - unpacked inbound delivery
* OBD - outbound delivery (for a stock transport order)
* PO - purchase order
* SA - scheduling agreement
* RTN - customer return

In the tables below, \*\*\* should be replaced with the abbreviation. Screenshots from one type of document will be shown as an example.

### Selection options

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FvqnAB8QyEgrPGxnPz7nE%2Fimage.png?alt=media&amp;token=c340ad6f-1816-4e16-a1a6-eefed791abb7" alt="" width="237"><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>Generic fields:</p><p>DOC_NUMBER - this field works for inbound delivery number, purchase order number, external identification number of delivery (LIFEX), (or for automotive customers, the inbound delivery group (BORGR_GRP))</p><p>VENDOR - Vendor number</p><p>MATERIAL - SAP material number (finds the matching orders/deliveries and then displays all the items on those orders/deliveries)</p><p>PLANT or WERKS - Plants</p><p>STORE_LOC or LGORT - Storage locations</p><p>LFDAT or LFDAT_RANGE - Delivery date range</p><p></p><p>Additional selection fields are possible, and also in some cases required, based on the particular document types being selected. See the notes below for more information on what is possible and/or required for each document type.<br></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**

The selection screen uses some common fields which are used for all the different document type selections as well as some fields that can be defined exclusively for a particular document type using the prefix assigned for that document type.

The following are the list of fields available for each document type.

**INB - Unpacked inbound deliveries**

The following fields are only used for inbound deliveries (and from release 5.8.0 can be prefixed with "INB\_" if required):

* KOSTK - Overall putaway status (default value of "BLANK,A,B,C")
* PKSTK - Packing status (default value of "BLANK")
* LVSTK - WM overall TO status (default values of "BLANK,C")
* WBSTK - Goods receipt status (optional, default values of "A,B" are set in code for INB unless overwritten from the selection screen)
* KOQUK - Pick confirmation status (optional, default values of "BLANK,C" set in code for INB unless overwritten from the selection screen)

Additional fields available for inbound deliveries can be added to the AMD (and from release 5.8.0 can also be prefixed with "INB\_" if you want to use them exclusively for INB selection):

* DELIVERY or VBELN or INBOUND - Inbound delivery number
* EXTERNAL\_ID or LIFEX - External identification number of delivery
* PO\_NUMBER or EBELN - PO number
* SHIPMENT or TKNUM - Shipment number
* TRSTA - Transport planning status
* CREATED\_BY or ERNAM - Created by userid
* CREATED\_ON or ERDAT or ERDAT\_RANGE - Created on date
* SHIPPING\_POINT or VSTEL - Shipping/Receiving point
* REFERENCE or XBLNR - Reference

**RTN - Return deliveries**

**T**he following fields are only used for return deliveries and are therefore prefixed with "RTN\_":

* RTN\_KOSTK - Overall putaway status (default value of "BLANK,A,B,C")
* RTN\_PKSTK - Packing status (default value of "BLANK")
* RTN\_WBSTK - Goods receipt status (default value of "A")
* RTN\_LVSTK - WM overall TO status (default values of "BLANK,A")

Additional fields available for return deliveries can be added to the AMD and can also be prefixed with "RTN\_" if you want to use them exclusively for RTN selection:

* DELIVERY or VBELN - return delivery number
* DEL\_GROUP or SAMMG - delivery group number
* SHIPMENT or TKNUM - Shipment number
* ROUTE - route
* KUNNR or CUSTOMER or KUNWE or SHIP\_TO - Ship-to number
* KUNAG or SOLD\_TO - Sold-to number
* PICKING\_DATE or KODAT or KODAT\_RANGE - Picking date
* WADAT or GI\_DATE - Planned goods issue date
* LOADING\_DATE or LDDAT or LDDAT\_RANGE - Loading date
* TP\_DATE or TDDAT or TDDAT\_RANGE - Transport planning date
* DELIVERY\_TYPE or LFART - Delivery type
* TRSTA - Transport planning status
* CREATED\_BY or ERNAM - Created by SAP userid
* CREATED\_ON or ERDAT or ERDAT\_RANGE - Created on date
* SHIPPING\_POINT or VSTEL - Shipping/Receiving point
* SALES\_ORG or VKORG - Sales organisation
* DIST\_CHANNEL or VTWEG - Distribution channel
* DIVISION or SPART - Division
* DOOR or LGTOR - Door
* UNLOADING\_POINT or ABLAD - Unloading point
* PRIORITY or LPRIO - Priority
* FKSTK - Billing status
* BESTK - Confirmation status
* TRSTA - Transportation planning status
* REFERENCE or XBLNR - Reference

**OBD - Outbound deliveries (for stock transport orders)**

This uses slightly different logic from the inbound and return deliveries. All fields in structures EKKO, EKPO and EKET can be used, in addition to the standard fields supplied, to select the transport orders that have outbound deliveries. The app does not use the values in LIKP or LIPS to select deliveries. From release 5.8.0 the prefix "OBD\_" can be used to make fields exclusive to the OBD selection.

**PO - Purchase orders**

All fields in structures EKKO, EKPO and EKET can be used, in addition to the standard fields supplied, to select purchase orders. The prefix "PO\_" can be used to make fields exclusive to the PO selection.

In addition the following fields are defaulted in code unless overwritten from the selection screen:

* EREKZ - Final invoice indicator (optional, default in code for PO items to exclude those with final indicator but only if a value in the AMD config element "USE\_FINAL\_INV\_EREKZ" is set)
* ELIKZ - Delivery completed indicator (optional, default in code for PO items to exclude those completed)
* LOEKZ - Deletion indicator in purchasing item (optional, default in code to only select items with no deletion indicator)

**SA - Scheduling agreement**

The same logic as for PO - Purchase orders. The prefix "SA\_" can be used to make fields exclusive to the SA selection.
{% endhint %}

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

Specific document types can be excluded from selection in several ways:

* Remove the "Doc Type" from the list in DOCUMENT\_TYPE in the AMD.
* In the SELECT\_OPTS, add and then mark with a checkbox "X", the field \*\*\*\_EXCL where \*\*\* is the appropriate "Doc Type". This can be hidden in AMD or displayed to allow user selection.
  {% endhint %}

### Document type list

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2Fhbk8DscAFqUCOVRJ9OBj%2Fimage.png?alt=media&amp;token=dabc7bd9-3bc4-41f5-911c-dd7c8d492656" alt="" width="237"><figcaption></figcaption></figure>

<table><thead><tr><th width="271">Configuration element</th><th>Available structures/fields</th></tr></thead><tbody><tr><td>LIST_DOCTYPE</td><td>DOC_TYPE - code for the document type to be used in the configuration sets.<br>DOC_TYPE_DESC - description of the document types.<br>DOC_COUNT - number of documents selected for each document type.</td></tr><tr><td>LIST_DOCTYPE_ACTIONS</td><td>BACK - back to previous screen.</td></tr><tr><td>LIST_DOCTYPE_HEADER</td><td>TOTAL_DOC_COUNT - total document count for all included document types.</td></tr><tr><td>LIST_DOCTYPE_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_DOCTYPE_SORT</td><td>n/a - document types are displayed in the order given in DOCUMENT_TYPE.</td></tr></tbody></table>

### Document list

<div><figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2Fng7sLLX11JpJdM576bA8%2Fimage.png?alt=media&amp;token=c22531ac-1c48-42d3-8303-8d0a92d5090a" alt=""><figcaption><p>Inbound deliveries</p></figcaption></figure> <figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FF97EOkRaOyc9R8kQUwX0%2Fimage.png?alt=media&amp;token=195834db-457a-4cac-8fc1-23943e8c3ab4" alt=""><figcaption><p>Outbound deliveries</p></figcaption></figure> <figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FS3MVbhDnNb9DZG6TTvSd%2Fimage.png?alt=media&amp;token=79e15e96-df67-48c8-b85c-2e55d6330279" alt=""><figcaption><p>Scheduling agreements</p></figcaption></figure> <figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2Fp81jYK7mB12tyh8FNKP3%2Fimage.png?alt=media&amp;token=88e968b7-7273-4320-8109-943f009c722f" alt=""><figcaption><p>Purchase orders</p></figcaption></figure> <figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FUkm3VXBqHtBTEfn9jdu0%2Fimage.png?alt=media&amp;token=dcdb4ae3-feb6-4bcf-93db-d51268805dec" alt=""><figcaption><p>Customer returns</p></figcaption></figure></div>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures/fields</th></tr></thead><tbody><tr><td>LIST_INB</td><td><p>Primary: /TCTM/LIKP_S (LIKP)<br>Secondary: /TCTM/VBUK_S (VBUK)<br></p><p>Additional fields:<br>VEND_NAME - name of vendor</p></td></tr><tr><td>LIST_OBD</td><td>Primary: /TCTM/BAPIEKKOL (HEADER)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/VBUK_S (VBUK)<br><br>Additional fields:<br>PLANT_NAME - name of supplying plant</td></tr><tr><td>LIST_PO</td><td><p>Primary: /TCTM/BAPIEKKOL (HEADER)<br>Secondary: n/a</p><p><br>Additional fields:</p><p>VEND_NAME - name of vendor<br>PLANT_NAME - name of supplying plant</p></td></tr><tr><td>LIST_SA</td><td><p>Primary: /TCTM/BAPIMEOUTHEADER_S (HEADER)<br>Secondary: n/a<br></p><p>Additional fields:</p><p>VEND_NAME - name of vendor</p></td></tr><tr><td>LIST_RTN</td><td><p>Primary: /TCTM/LIKP_S (LIKP)<br>Secondary: /TCTM/VBUK_S (VBUK)<br></p><p>Additional fields:<br>KUNNR_NAME - name of ship-to</p></td></tr><tr><td>LIST_***_ACTIONS</td><td>BACK - back to previous screen.</td></tr><tr><td>LIST_***_HEADER</td><td>See structures for each document type above.</td></tr><tr><td>LIST_***_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_***_SORT</td><td>See primary structure for each document type above.</td></tr></tbody></table>

### Document input

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FV93izxDfEanhwpeHM2GS%2Fimage.png?alt=media&amp;token=ddf6132b-68a8-427f-9b99-f3eedd498923" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="269">Configuration element</th><th>Available structures</th></tr></thead><tbody><tr><td>INPUT_INB_HEADER</td><td>Primary: /TCTM/LIKP_S (LIKP)<br>Secondary: /TCTM/VBUK_S (VBUK)</td></tr><tr><td>INPUT_OBD_HEADER</td><td>Primary: /TCTM/LIKP_S (LIKP)<br>Secondary: /TCTM/VBUK_S (VBUK)</td></tr><tr><td>INPUT_PO_HEADER</td><td>Primary: /TCTM/BAPIEKKOL (HEADER)<br>Secondary: n/a</td></tr><tr><td>INPUT_SA_HEADER</td><td>Primary: /TCTM/BAPIMEOUTHEADER_S (HEADER)<br>Secondary: n/a</td></tr><tr><td>INPUT_RTN_HEADER</td><td>Primary: /TCTM/LIKP_S (LIKP)<br>Secondary: /TCTM/VBUK_S (VBUK)</td></tr><tr><td>INPUT_***_HEADER_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>SAVE - update the delivery header and continue to items.</p><p>CLEAR_INPUT - clear all input fields.</p><p>TEXT_VIEWER_HDR - jumps to text view app if configured (class /TCTM/WM_APP_604_ACTIONS).<br>DOCUMENT_CAPTURE - jumps to document capture app if configured.</p></td></tr><tr><td>SUPPRESS_***_HEADER</td><td>Allows this screen to be supressed / by-passed.<br> <br>If toggle = ON, this screen is supressed.<br> <br>If toggle = OFF, this screen is not suppressed.</td></tr></tbody></table>

### Document item list

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FLsy3sGiXSysV6MeM5dBo%2Fimage.png?alt=media&amp;token=39eff826-3596-4dfd-89b9-a40e9d5f2614" alt="" width="235"><figcaption></figcaption></figure>

<table><thead><tr><th width="242">Configuration element</th><th width="502">Available structures</th></tr></thead><tbody><tr><td>LIST_INB_ITEM</td><td><p>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/VBUP_S (VBUP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN), /TCTM/BAPIEKKOL (PO), /TCTM/BAPIEKPOC (PO_ITEM),  WUEB (WUEB)<br></p><p>Additional fields:</p><p>RECEIPT_QTY - Quantity open at start of transaction (field class /TCTM/WM_APP_500_FIELDS_INB)<br>OPEN_QTY - Running total of remaining quantity to be receipted (field class /TCTM/WM_APP_500_FIELDS_INB)<br>BASKET_QTY - Quantity in the basket (field class /TCTM/WM_APP_500_FIELDS_INB)</p></td></tr><tr><td>LIST_OBD_ITEM</td><td><p>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN), /TCTM/BAPIEKKOL (PO), /TCTM/BAPIEKPOC (PO_ITEM), WUEB (WUEB)<br></p><p>Additional fields:<br>OPEN_QTY - Running total of remaining quantity to be receipted (field class /TCTM/WM_APP_500_FIELDS_OBD)<br>BASKET_QTY - Quantity in the basket (field class /TCTM/WM_APP_500_FIELDS_OBD)</p></td></tr><tr><td>LIST_PO_ITEM</td><td><p>Primary: /TCTM/BAPIEKPOC (ITEM)<br>Secondary: EKKO (EKKO), EKPO (EKPO), /TCTM/BAPIEKKOL (HEADER), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)<br></p><p>Additional fields:</p><p>DISP_QTY - Quantity open at start of transaction<br>OPEN_QTY - Running total of remaining quantity to be receipted (field class /TCTM/WM_APP_500_FIELDS_PO)<br>BASKET_QTY - Quantity in the basket (field class /TCTM/WM_APP_500_FIELDS_PO)</p></td></tr><tr><td>LIST_SA_ITEM</td><td><p>Primary: /TCTM/BAPIMEOUTITEM_S (ITEM)</p><p>Secondary: EKKO (EKKO), EKPO (EKPO), /TCTM/BAPIMEOUTHEADER_S (HEADER), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)<br></p><p>Additional fields:</p><p>DISP_QTY - Quantity open at start of transaction<br>OPEN_QTY - Running total of remaining quantity to be receipted (field class /TCTM/WM_APP_500_FIELDS_SA)<br>BASKET_QTY - Quantity in the basket (field class /TCTM/WM_APP_500_FIELDS_SA)</p></td></tr><tr><td>LIST_RTN_ITEM</td><td><p>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)<br></p><p>Additional fields:</p><p>STATUS_A - processing status (field class /TCTM/WM_APP_500_FIELDS_RTN)</p><p>STATUS_B - processing status (field class /TCTM/WM_APP_500_FIELDS_RTN)</p><p>STATUS_C - processing status (field class /TCTM/WM_APP_500_FIELDS_RTN)</p><p>STATUS_Z - processing status (field class /TCTM/WM_APP_500_FIELDS_RTN)<br>BASKET_QTY - Quantity in the basket (field class /TCTM/WM_APP_500_FIELDS_RTN) </p></td></tr><tr><td>LIST_***_ITEM_ACTIONS</td><td>BACK - back to previous screen.<br>VIEW_BASKET - view basket.</td></tr><tr><td>LIST_INB_ITEM_ACTIONS</td><td>BACK - back to previous screen.<br>VIEW_BASKET - view basket.<br>POST_GR - Receipt all (class /TCTM/WM_APP_500_ACTIONS_INB).</td></tr><tr><td>LIST_RTN_ITEM_ACTIONS</td><td>BACK - back to previous screen.<br>VIEW_BASKET - view basket.<br>TEXT_VIEWER_HDR - view header text (class /TCTM/WM_APP_604_ACTIONS).</td></tr><tr><td>LIST_***_ITEM_HEADER</td><td>See structures for each document type above.</td></tr><tr><td>LIST_***_ITEM_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_***_ITEM_SORT</td><td>See primary structure for each document type above.</td></tr></tbody></table>

### Document item input

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FsCEGyFh1WYih7qTB6j51%2Fimage.png?alt=media&amp;token=3ff0eac9-5a9a-49d0-a68f-f26cb4c74f8e" 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_INB_ITEM</td><td>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/VBUP_S (VBUP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN(MLGN), /TCTM/BAPIEKKOL (PO), /TCTM/BAPIEKPOC (PO_ITEM), WUEB (WUEB)</td></tr><tr><td>INPUT_OBD_ITEM</td><td>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN(MLGN), /TCTM/BAPIEKKOL (PO), /TCTM/BAPIEKPOC (PO_ITEM), WUEB (WUEB)</td></tr><tr><td>INPUT_PO_ITEM</td><td>Primary: /TCTM/BAPIEKPOC (ITEM)<br>Secondary: EKKO (EKKO), EKPO (EKPO), /TCTM/BAPIEKKOL (HEADER), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>INPUT_SA_ITEM</td><td><p>Primary: /TCTM/BAPIMEOUTITEM_S (ITEM)</p><p>Secondary: EKKO (EKKO), EKPO (EKPO), /TCTM/BAPIMEOUTHEADER_S (HEADER), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</p></td></tr><tr><td>INPUT_RTN_ITEM</td><td>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>INPUT_***_ITEM_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT - clear all input fields.</p><p>SAVE – proceed to post this item.</p><p>ADD_TO_BASKET - add item to basket.</p><p>VIEW_BASKET - view basket.<br>DOCUMENT_CAPTURE - jumps to document capture app if configured.</p></td></tr></tbody></table>

### Batch detail input

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

This is a pop-up screen to add the production and expiration dates if required by the system.
{% endhint %}

<table><thead><tr><th width="267">Configuration element</th><th>Available structures / fields</th></tr></thead><tbody><tr><td>INPUT_***_BATCH_DETAIL</td><td>PROD_DATE - production date<br>EXPIRYDATE - expiration date</td></tr><tr><td>INPUT_***_BATCH_ACTIONS</td><td>CONTINUE - proceed.<br>CANCEL - return back to previous input screen.</td></tr></tbody></table>

### Basket list

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FcCQq5SxAeshaJUOS4Ez3%2Fimage.png?alt=media&amp;token=e9a02a29-b902-4e68-bac2-341eea7dc4d5" alt="" width="237"><figcaption></figcaption></figure>

<table><thead><tr><th width="267">Configuration element</th><th>Available structures</th></tr></thead><tbody><tr><td>LIST_INB_BASKET</td><td>Primary: /TCTM/BAPI2017_GM_ITEM_CREATE (BAPI_ITEM)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/LIPS_S (LIPS), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>LIST_OBD_BASKET</td><td>Primary: /TCTM/BAPI2017_GM_ITEM_CREATE (BAPI_ITEM)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/LIPS_S (LIPS), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>LIST_PO_BASKET</td><td>Primary: /TCTM/BAPIEKPOC (ITEM)<br>Secondary: /TCTM/BAPI2017_GM_ITEM_CREATE (BAPI_ITEM), EKKO (EKKO), EKPO (EKPO), /TCTM/BAPIEKKOL (PO), /TCTM/BAPIEKPOC (PO_ITEM), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>LIST_SA_BASKET</td><td>Primary: /TCTM/BAPIMEOUTITEM_S (ITEM)<br>Secondary: /TCTM/BAPI2017_GM_ITEM_CREATE (BAPI_ITEM), EKKO (EKKO), EKPO (EKPO), /TCTM/BAPIMEOUTHEADER_S (HEADER), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>LIST_RTN_BASKET</td><td>Primary: /TCTM/SRV_DEL_ITEM_UPDATES_S (no prefix)<br>Secondary: /TCTM/LIPS_S (LIPS), /TCTM/LIKP_S (LIKP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>LIST_***_BASKET_ACTIONS</td><td><p>EXIT - returns 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>See structures for each document type above.</td></tr><tr><td>LIST_***_BASKET_HEADER_EX</td><td>n/a</td></tr><tr><td>LIST_***_BASKET_SORT</td><td>Not currently supported.</td></tr><tr><td>SUMMARISE_***_BASKET</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></tbody></table>

### Basket input

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FsH13XmFR2XmuD9VHYCg4%2Fimage.png?alt=media&amp;token=4979db7d-cfc1-4f38-9ff5-dae8557caa37" alt="" width="236"><figcaption></figcaption></figure>

<table><thead><tr><th width="254">Configuration element</th><th>Available structures</th></tr></thead><tbody><tr><td>INPUT_INB_BASKET</td><td>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/VBUP_S (VBUP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN(MLGN), /TCTM/BAPIEKKOL (PO), /TCTM/BAPIEKPOC (PO_ITEM), WUEB (WUEB)</td></tr><tr><td>INPUT_OBD_BASKET</td><td>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN(MLGN), /TCTM/BAPIEKKOL (PO), /TCTM/BAPIEKPOC (PO_ITEM), WUEB (WUEB)</td></tr><tr><td>INPUT_PO_BASKET</td><td>Primary: /TCTM/BAPIEKPOC (ITEM)<br>Secondary: EKKO (EKKO), EKPO (EKPO), /TCTM/BAPIEKKOL (HEADER), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>INPUT_SA_BASKET</td><td><p>Primary: /TCTM/BAPIMEOUTITEM_S (ITEM)</p><p>Secondary: EKKO (EKKO), EKPO (EKPO), /TCTM/BAPIMEOUTHEADER_S (HEADER), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</p></td></tr><tr><td>INPUT_RTN_BASKET</td><td>Primary: /TCTM/LIPS_S (LIPS)<br>Secondary: /TCTM/LIKP_S (LIKP), /TCTM/MAKT (MAKT), /TCTM/MARA (MARA), /TCTM/MARC (MARC), /TCTM/MARD (MARD), /TCTM/MLGN (MLGN)</td></tr><tr><td>INPUT_***_BASKET_ACTIONS</td><td><p>BACK - back to previous screen.</p><p>CLEAR_INPUT - clear all input fields.</p><p>SAVE – proceed to post.</p><p>ADD_TO_BASKET – update basket.</p><p>DELETE – remove item from basket.</p></td></tr></tbody></table>

### General configuration elements

<table><thead><tr><th width="242">Configuration element</th><th width="502">Descriptions</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>DOCUMENT_TYPE</td><td>Configure which types of SAP documents can be receipted using the app. Set a document type, along with the class required to receipt that type of document.<br><br>For this app transaction the following are valid:<br>PO - Purchase orders<br>SA - Scheduling agreements<br>INB - Unpacked inbound deliveries<br>OBD - Outbound deliveries for stock transport order receipts<br>RTN - Customer return deliveries including consignment pick-up<br><br>The corresponding class to be assigned to each document type is /TCTM/WM_APP_500_DT_*** where *** is the document type.</td></tr><tr><td>PACK_MODE</td><td>OBSOLETE - no longer used.</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>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>MAX_***</td><td>Maximum number of documents to find in search results. Blank value results in no restriction on the number of records found during search.</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>VENDOR_FILTER</td><td>Enables filtering of vendors, allowing you to include or exclude specific values in the list view.</td></tr><tr><td>PLANT_LIST</td><td>Allows a static list to be maintained for plants.<br><br>If the user needs to choose from a list of plants, the allowed values can be set here.<br><br>The value and description of the plants are displayed as set up, and unlike a filter option, no validation will take place until the data is submitted to SAP. </td></tr><tr><td>SLOC_LIST</td><td>Allows a static list to be maintained for choosing a storage location.<br><br>If the user is required to select from a list of storage locations, the allowed values can be set here.<br><br>The value and description of the storage locations are displayed as set up, and unlike a filter option, no validation will take place until the data is submitted to SAP. </td></tr><tr><td>OBD_TYPES_LIST</td><td>OBSOLETE - no longer used.</td></tr><tr><td>BWART_LIST</td><td>Allows a static list to be maintained for choosing movement types to be selected by the user if required.</td></tr><tr><td>APP_TEXTS</td><td>Defines standard app text to be used in screen headers, buttons etc.</td></tr><tr><td>TEXT_OVERRIDE</td><td>Text override.</td></tr><tr><td>TRANS_INFO</td><td>Information about the transaction.</td></tr></tbody></table>
