> 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/im-multi-bin-management/im-multi-bin-management-framework/technical-setup.md).

# Technical Setup

In addition to the above configuration and transaction there is specific technical setup that must be done in the SAP development system and transported through the SAP environments together with the other PreBilt transports.

## BAdi activation

The below BAdi implementations need to be created in SE19 by a technical resource as part of the project setup, so that the dynamic bins are created when material documents are created in the standard SAP code. If the BAdi implementations do not allow the /TCTM/ BAdi supplied classes then a z version will need to be created by copying the TCTM classes and these assigned to the BAdi implementations created.

* BAdi MB\_GOODSMOVEMENT using BAdi definition MB\_DOCUMENT\_BADI and the TCT supplied class /TCTM/IMB\_BADI\_MB.
* BAdi LE\_SHP\_DELIVERY\_PROC using BAdi definition LE\_SHP\_DELIVERY\_PROC and the TCT supplied class /TCTM/IMB\_BADI\_VL.&#x20;

For BAdi MB\_GOODSMOVEMENT, the code is inside the following method:

* IF\_EX\_MB\_DOCUMENT\_BADI\~MB\_DOCUMENT\_BEFORE\_UPDATE

For BAdi LE\_SHP\_DELIVERY\_PROC, the code is inside the following methods:

* IF\_EX\_LE\_SHP\_DELIVERY\_PROC\~DELIVERY\_FINAL\_CHECK
* IF\_EX\_LE\_SHP\_DELIVERY\_PROC\~SAVE\_AND\_PUBLISH\_DOCUMENT
* IF\_EX\_LE\_SHP\_DELIVERY\_PROC\~SAVE\_DOCUMENT\_PREPARE

## Enhancement point activation

Another enhancement implementation is required for IMMB when using the Physical Inventory app with IM Multi Bin storage locations.

* ENHANCEMENT-POINT MM07IFB0\_02 SPOTS ES\_SAPMM07I.

This needs to be updated with the following code in order to release the inventory lock on IMMB quants and update bin quantity when posting or deleting an inventory document:

```
* Handle IMB updates when deleting, posting etc.
  /tctm/srv_imb_utils=>pi_post( EXPORTING is_tm07i = tm07i
                                          is_ikpf  = xikpf
                                          it_iseg  = xiseg[]
                                          is_zikpf = zikpf
                                          it_ziseg = ziseg[] ).
```
